HDTenEightyP/NetNews huggingface dataset:
From: cp78036@csunix.csie.nctu.edu.tw (Nan-Hu)
Newsgroups: fj.mail-lists.x-window
Subject: cxterm: unable to allocate fonts..
Date: 9 Apr 92 04:12:25 GMT
Distribution: fj
Organization: NCTU

Date: Wed, 8 Apr 1992 21:43:13 GMT
Message-Id: <1992Apr8.214313.17416@Silence.pi.nctu.edu.tw>
Newsgroups: comp.windows.x

  I am installing cxterm come with X11R5 distbubution, as all
steps completed successfully, I added the CXterm.ad to my
Xresources file(as used in xinit). But when I start cxterm,
it told me "unable to locate suitable fonts"..., what wront
with me ? All things(fonts, dict) appear in the directory as
desired...   

cp78036@csunix.csie.nctu.edu.tw
From: nschecat@atr-11.hac.com
Newsgroups: fj.mail-lists.x-window
Subject: Two headed X for Sun4 ipc (Second try)
Date: 11 Apr 92 02:57:28 GMT
Distribution: fj
Organization: Hughes Aircraft Co., Ground Systems Group, Fullerton, CA

Date: 10 Apr 92 17:40:05 GMT
Message-Id: <21198@hacgate.UUCP>
Newsgroups: comp.windows.x

I seem to recall a discussion some time ago about how to do a 
two screen X server (two display screens, not switching between
two screens on the same physical display) for sun.  I have a 
Sun4 ipc with a sbus card for a color frame buffer.  I notice that
the mono frame buffer is on the mother board and I would like to
use it if possible with another monitor as another screen from the
same server.  

Am I dreaming?

	Norm Scherer
	Software Engineering Division
	Hughes Aircraft Co., Ground Systems Group,
	Fullerton Ca.
	(nsche%atr-2s@hac2arpa.hac.com or nsche@atr-2s.hac.com)
	Opinions are my own, not those of HAC or anyone else I have ever met

PS- sorry for the wasted bandwidth, I seem to have screwed up last nights post on same subject.
From: fims!vonneumann!chan@uu.psi.com (Milo A. Chan)
Newsgroups: fj.mail-lists.x-window
Subject: How to set WM_HINTS for tvtwm?
Date: 8 Apr 92 02:28:59 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <9204071639.AA05943@vonneumann.ny.jpmorgan.com>
Date: Tue, 7 Apr 92 12:40:13 EDT
X-Mailer: ELM [version 2.3(JPM) PL11]

I am using tvtwm, and would like to specify that client windows which specify
a location be positioned at the pixel location plus the current offset of the
Virtual Desktop.  

I have the "UsePPosition" variable set to "on" in my .tvtwmrc file.

How do I set up client apps to have PPosition hints set (in WM_NORMAL_HINTS)?
Is there any way to set this up for a client without modifying the client
code?

advTHANKSance,

--
Milo Chan,  Fixed Income Market Strategies,  J.P. Morgan Securities, Inc.
chan%fims@uu.psi.com         ...or...         chan@fractl.tn.cornell.edu
From: matis!amir@uunet.uu.net (Amir Katz)
Newsgroups: fj.mail-lists.x-window
Subject: Xt Questions
Date: 9 Apr 92 17:37:29 GMT
Distribution: fj
Organization: SEE Technologies Ltd.

Message-Id: <9204091239.AA02896@simpson.turtles>
Date: Thu, 9 Apr 92 14:39:38 EET
Reply-To: matis!ingr.COM!amir%matis.UUCP@uunet.uu.net
X-Mailer: ELM [version 2.3 PL11]

Xperts,
We have a Motif application using Motif 1.1.3 from ICS. We have two problems
(among many others) that I'm sure that the net can help with:

1. The user selects an option and a widget is created and mapped. The widget
   remains, but it is later obscured by other widgets. When the user selects
   the same option again, we want to raise the widget above all others.
   We are using

       XRaiseWindow (display, XtWindow(widget))

   but it does not work. Why? Is there an Xt-based method of doing that?

2. We need to know, inside the application, whether it is in iconified or
   normal state. Same requirement for some of its widgets.
   Once can call 'XGetWMHints', but is there a neater way of doing it?

-- Thanks in advance,
-- 
/* Amir J. Katz          | UUCP:     uunet!ingr!matis!amir               */
/* System Specialist     | Internet: amir%matis.UUCP@ingr.COM            */
/* SEE Technologies Ltd. | Voice:    +972 52-584684, Fax: +972 52-543917 */
From: johnl@iecc.cambridge.ma.us (John R. Levine)
Newsgroups: fj.mail-lists.x-window
Subject: X paint program?
Date: 12 Apr 92 08:05:57 GMT
Distribution: fj
Organization: I.E.C.C.

Date: 12 Apr 92 03:45:36 GMT
Message-Id: <9204112345.AA06223@iecc.cambridge.ma.us>
Newsgroups: comp.windows.x

Are there any decent X paint programs available for free or cheap?  I have
a fax modem that can receive and send arbitrary bitmaps.  In many cases it
would be useful to edit a received fax a little (e.g. fill out a form and
splice in my signature) and re-send it.

So I need a paint program that can handle one-deep bitmaps and do the usual
things like splicing in clip art and inserting simple text.  A perusal of
the comp.sources.x archives didn't show anything that was obviously of use.
Xfig looks nice but it's a draw program and I've got bitmaps here.

If it matters, I'm running X11R4 with Motif 1.1, will go to X11R5 when I
get around to it.

Regards,
John Levine, johnl@iecc.cambridge.ma.us, {spdcc|ima|world}!iecc!johnl
From: bar@hiho.lcs.mit.edu (Bala Ramakrishnan)
Newsgroups: fj.mail-lists.x-window
Subject: Re: VI bug using X.
Date: 17 Apr 92 04:33:27 GMT
Distribution: fj
Organization: U S WEST Advanced Technologies

Date: 13 Apr 92 21:12:55 GMT
Message-Id: <1992Apr13.211255.11566@advtech.uswest.com>
Newsgroups: comp.windows.x,comp.editors

In article <1992Apr3.031346.27292@sunspot.noao.edu> hcohl@sunspot.sunspot.noao.edu (Howard Cohl) writes:
>
>   Hi Folks,
>
>   I am using the following setup:
>     SPARCstation 2
>     SunOS 4.1.1
>     Sun NeWS server.
>     twm (Tab Window Manager)
>
>   I used sunview in the past and am now switching
>   to X.  When I use VI to edit a file, it used
>   to work that when I pressed an arrow key while
>   I was in insert mode, it would take me out of
>   insert mode and then go wherever the arrow pointed
>   to.  Now that I am using an xterm in the above
>   mentioned setup, when I enter an arrow key
>   while I am in insert more, it doesn't take
>   me out of insert mode and puts the letters
>   A,B,C and D depending on which arrow I use.
>
>   Help!

Add the following lines to your .exrc file in your home directory.
map! ^V^[OA ^V^[ka
map! ^V^[OB ^V^[ja
map! ^V^[OC ^V^[lli
map! ^V^[OD ^V^[i

Basically, you have mapped the escape sequences generated by the arrow keys
into "go to edit mode, generate one of 'h', 'j', 'k', 'l' commands, go into
input mode again using either the 'a' or 'i' command" sequence.
therefore, everytime you press one of these arrow keys, the sequence
corresponding the map! is generated.

-- 
:-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-):-)
:-<  Bala Ramakrishnan  E-mail: bar@uswest.com  Phone: 303-541-6283  :-)
:-<  USWEST Advanced Tech., 4001 Discovery Dr., Boulder, CO - 80303  :-)
:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(:-(
From: converse@expo.lcs.mit.edu (Donna Converse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Should XtOverrideTranslations work this way?
Date: 16 Apr 92 01:13:34 GMT
Distribution: fj
Organization: X Consortium, MIT Laboratory for Computer Science

Message-Id: <9204152126.AA00306@excess.lcs.mit.edu>
             <1992Apr14.212023.794@walter.bellcore.com> 
Date: Wed, 15 Apr 92 17:26:11 EDT



I wrote:

> This is correct, except for one detail: the assumption that SetValues
> on the translations resource has different effects depending upon the
> directive in the translation table.  It doesn't (or shouldn't).
> The above translation table would result from calling XtOverrideTranslations.
> SetValues on the translations resource always does a replacement operation,
> never an augment or override.  SetValues ignores the directive in the
> translation table.  


Ron responds:

> But the R5 documentation says (file mit/doc/Xt/CH10):
> 
>   The replace or merge operation is performed during the
>   Core instance initialization and
>   during the Core set_values invocation.
>   Each merge operation produces a new
>   translation resource value; if the original tables were shared by
>   other widgets, they are unaffected.  If no directive is
>   specified, ``#replace'' is assumed.


Andrew responds:

> I noticed that both the R4 and R5 implementations of the Core
> initialize method do obey the directive.  It's only the R5 Core
> set_values that doesn't.  The R4 Xt doc also said that Core
> set_values will obey the directive.
> 
> What's going on here?

The change to the Core set_values method was made as a bug fix, based
on these words in section 10.3:

	To replace a widget's translations completely, use XtSetValues
	on the XtNtranslations resource and specify a compiled 
	translation table as the value.

As for the apparent contradiction of this sentence, also from 10.3:
	
	The replace or merge operation is performed during the Core
	instance initialization and during the Core set_values invocation.

The most simple point I can make is that this sentence does *not*
specify whether the Core set_values method does a replace operation,
or a merge operation, or conditionally one or the other.  But taken
in context, I think the sentence can be said to be contradictory
to the previous quote, so it becomes a specification issue.


Donna
From: fox@rudolf.nscl.msu.edu (Ron Fox)
Newsgroups: fj.mail-lists.x-window
Subject: Open look font aliasing...
Date: 13 Apr 92 17:43:20 GMT
Distribution: fj
Organization: National Superconducting Cyclotron Lab.

Date: 13 Apr 92 12:32:15 GMT
Message-Id: <1992Apr13.123215.27217@msuinfo.cl.msu.edu>
Newsgroups: comp.windows.x

--
  This is a rather stupid question on my part.  A while back,
somebody posted information about how to make font aliases that would
cover for the DEC proprietary fonts when displaying DECwindows
applications on a SUN OpenLook system.  I thought I had kept a copy of
that posting, but evidently I did not.  Will whoever knows how to get
rid of messages like:
X Toolkit Warning: Cannot convert string
"-*-MENU-MEDIUM-R-Normal--*-120-*-*-P-*
-ISO8859-1" to type FontList, using fixed font
 
please mail me.

  Thanks.

Ron Fox                     | FOX@MSUNSCL.BITNET      | Where the name 
NSCL                        | FOX@RUDOLF.NSCL.MSU.EDU | goes on before
Michigan State University   | MSUHEP::RUDOLF::FOX     | the quality
East Lansing, MI 48824-1321 |                         | goes in.
USA
From: smitty@essnj1.essnjay.com (Hibbard T. Smith JR)
Newsgroups: fj.mail-lists.x-window
Subject: X11R5 xdm problems
Date: 7 Apr 92 17:46:27 GMT
Distribution: fj
Organization: ESSNJAY Systems Inc.

Date: Tue, 07 Apr 1992 02:33:26 GMT
Message-Id: <1992Apr07.023326.4568@essnj1.essnjay.com>
Newsgroups: comp.windows.x

I have X11R5 working, using the X386 server on an ISC 2.2.1 system.  
However, I have (at least) 1 problem:

xdm brings up the server ok.  Then it brings up a login window.  I log in,
the login window goes away and then returns.  My xterm, xclock, xbiff, and
twm all come up also.  The new login window is under control of the window
manager.  It (the login window) captures all keyboard input regardless of where
the pointer is.  Since it's under twm control, I can iconify it, and then it
releases the keyboard.  I can use the session normally from then on (with
the login window iconified).  To exit the session, I must uniconify (is this
a word?) the login window, and use the abort session key.  This brings down
the server and one process of the xdm.  However, an xdm process is left
running.  It does repeated wait() system calls as fast as it can, and uses
all the available CPU until killed.

If anyone has had a similar problem, I would appreciate any pointers on 
how to resolve it.  My Xservers file looks like:

	local:0 local /usr/local/X11R5/bin/X :0

I'm not sure this is correct, but it's all I could figure out, since local
connections don't exist with this combination.  (No unixconn)  It's not a
remote server, but it's not ":0" or "unix:0" either.  Since it's running 
on this machine though, I'd like xdm to start it.

Thanks in advance for any help ....

-- 
		Smitty
-------------------------------------------
Hibbard T. Smith JR                 smitty@essnj1.ESSNJAY.COM	
ESSNJAY Systems Inc.                uunet!hsi!essnj1!smitty
From: CFRAZIER@hdsc.ssc.af.mil (C | C Code | C Code Run, please!)
Newsgroups: fj.mail-lists.x-window
Subject: colors
Date: 9 Apr 92 18:42:05 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date:    Thu, 9 Apr 1992 9:34:24 -0500 (CDT)
Message-Id: <920409093424.21800e3a@hdsc.ssc.af.mil>
X-Vmsmail-To: SMTP%"xpert@expo.lcs.mit.edu"


I'm running  Motif  on a VAX and have noticed that my colors aren't consistent 
from terminal to terminal.  I'm having a heck of a time with the colormaps and 
someone out there please offer some code to help me with this.  thanks.

I've worked over 30 hours on just getting the colors the act right.  Can anyone 
offer me any advice.  I've already gone over schedule for this thing.  

cfrazier@hdsc.ssc.af.mil
From: CFRAZIER@hdsc.ssc.af.mil (C | C Code | C Code Run, please!)
Newsgroups: fj.mail-lists.x-window
Subject: colors
Date: 9 Apr 92 18:56:58 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date:    Thu, 9 Apr 1992 9:35:00 -0500 (CDT)
Message-Id: <920409093500.21800e3a@hdsc.ssc.af.mil>
X-Vmsmail-To: SMTP%"xpert@expo.lcs.mit.edu"


I'm running  Motif  on a VAX and have noticed that my colors aren't consistent 
from terminal to terminal.  I'm having a heck of a time with the colormaps and 
someone out there please offer some code to help me with this.  thanks.

I've worked over 30 hours on just getting the colors the act right.  Can anyone 
offer me any advice.  I've already gone over schedule for this thing.  

 p.s.  Are there any dial-up BBSs that support Motif discussion?

cfrazier@hdsc.ssc.af.mil
From: brad@bradley.bradley.edu (Bradley E. Smith)
Newsgroups: fj.mail-lists.x-window
Subject: Re: my fragile X386 server
Date: 17 Apr 92 06:47:43 GMT
Distribution: fj
Organization: Bradley University

Date: Fri, 17 Apr 92 03:37:00 GMT
Message-Id: <1992Apr17.033700.564@bradley.bradley.edu>
Newsgroups: comp.unix.sysv386,comp.windows.x

notes: I use same hardward/sofware execpt I have a BOCA Super VGA
       card.

       I also don't see any problems on the binary speedup ( I haven't
       compiled it yet, but plan on it)

       I see the problems with both generic X11R5 and with the first
       speed up posted (the generic one).

       I see the X server dieing and also the exit problem but not the
-- 
Bradley Smith			 brad@bradley.edu ---  309-677-2337
Network & Technical Services @ Bradley University, Peoria, IL

"It's amazing how much scrap metal you get from 4 cans of beer"
From: beyer@utrtsc.dec.com (Peter Beyer)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Communication.
Date: 8 Apr 92 12:04:05 GMT
Distribution: fj
Organization: Digital Equipment Corporation

Date: 8 Apr 92 12:43:12 GMT
Message-Id: <340@sousa.ltn.dec.com>
Newsgroups: comp.windows.x


In article <9204061413.AA18155@expo.lcs.mit.edu>, DBOHDAL@jaguar.ess.harris.COM writes...
 > 
 >Here's my problem:  I have an X-Windows application process running and
 >a non-X communications process running.  When a message is received by my
 >comm process, I want to interrupt the X-Windows application and update
 >a status window indicating that a message has arrived.  What is a good
 >way to do this?  Do I have to make my comm process an X-Windows process
 >in order to to successfully communicate?  I'm on a VAXstation 3100 using
 >VMS and Motif 1.1.
 > 
 >Thanks for any help you can provide,
 >Debbie

Oh, many ways of doing this: Setup a write attention on a mailbox and service 
your messages on AST level. Or add a workprocedure (XtAppAddWorkProc) and look
at your input when X is idle, etc, etc


Peter Beyer 
Digital Equipment b.v. Holland
Internet: beyer@utrtsc.Enet.dec.com
From: dsr@chickpea.mitre.org (Douglas S. Rand)
Newsgroups: fj.mail-lists.x-window
Subject: Re: HP Widget set (was Re: Motif vs Open-look vs X)
Date: 9 Apr 92 21:39:29 GMT
Distribution: fj
Organization: The MITRE Corporation

Date: Thu, 9 Apr 1992 15:01:43 GMT
Message-Id: <DSR.92Apr9100143@chickpea.mitre.org>
Newsgroups: comp.windows.x

In article <23222@life.ai.mit.edu> gillett@rice-chex.ai.mit.edu (Walter E. Gillett) writes:

   Why doesn't anybody ever mention the HP Widgets (libXw.a) as an alternative to
   Athena or Motif/OpenLook?  Aren't they pretty much Athena functionality with
   a Motif look?  And they're free, right?

How about the level of support available?  Motif and OLIT are
supported products and MIT supports Athena.  Who supports Xw?

Xw,  at least the last Xw I used before Motif came out,  did not 
have the Motif look and feel.  It did have a similar,  but smaller,
widget hierarchy than Motif.


--
Douglas S. Rand 
Internet:   <dsrand@mitre.org>
Snail:	    MITRE, Burlington Road, Bedford, MA 
Disclaimer: MITRE might agree with me - then again...
Amateur Radio: KC1KJ
From: gaspar@stl-04sima.army.mil (Al Gaspar)
Newsgroups: fj.mail-lists.x-window
Subject: X11R5 Novice Questions
Date: 16 Apr 92 18:29:24 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <9204161401.AA03768@expo.lcs.mit.edu>
Date: Thu, 16 Apr 92 08:54:32 EDT


    I had submitted this question to the mailing list earlier, but I had
trouble getting added and never saw a reply; so my apologies if someone has
already seen this.  Anyway, I have two (very) novice questions (for a start
:-).

    I recently brought up X11R5 on a Sun SPARCStation 2 running SunOs
4.1.1.  I am having two problems.  First, I can use X at the system console
or from remote PCs running PCxsight or PCxview, but I cannot seem to run it
from a remote sun console.  When I try to run X (using an xinit script after
logging in) from the second sun it humms awhile and then says connection
refused...  Is the X server required on both machines or is there something 
else I have to do special (both machines are SPARC 2s)?

    The second problem has to do with PEX/PHIGS.  I am not sure that I compiled
this code correctly (it sure doesn't run right).  When I run the beach_ball
program (or any other PEX program), it goes into an endless loop echoing PHIGS
errors 5, 6, and 7 for various functions to the screen.  The gist of the
messages are:

    PHIGS error 3 in XXXX:  Ignoring function, function requires 
     state (PHOP, WSOP, *, *).
    PHIGS error 5 in XXXX:  Ignoring function, function requires 
     state (PHOP, *, STOP, *).
    PHIGS error 6 in XXXX:  Ignoring function, function requires 
     state (PHOP, *, STCL, *).

I would like to get this part of X going.  Is there a special server I need to
bring up or something?  I would appreciate any help I can get.

    I lied; I have one more question.  Is there a FAQ list somewhere for this
list.  I found something on ftp.uu.net, but it appeared to be specific to
motif rather than generic X.  If you have trouble replying to me directly,
please use the st-louis-emh2.army.mil address below.

Thanks--

Al

-- 
Al Gaspar	<gaspar@st-louis-emh2.army.mil>
USAMC SIMA, ATTN:  AMXSI-TTC, 1222 Spruce St., St. Louis, MO  63103-2834
COMMERCIAL:  (314) 331-4354	AUTOVON:  555-4354
relay1.uu.net!st-louis-emh2.army.mil!gaspar
From: pierrest@cl.bull.fr (Frederic Pierresteguy)
Newsgroups: fj.mail-lists.x-window
Subject: Info needed on XPM, XTM, Vista, Interleaf, PLATO...
Date: 7 Apr 92 10:21:28 GMT
Distribution: fj
Organization: Bull, Les Clayes, France

Date: 6 Apr 92 12:38:00 GMT
Message-Id: <937@clbull.frcl.bull.fr>
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.unix.aix,comp.unix.questions

I apologize to ask all these boring information but I don't know how to do 
another way... I am even not sure if it is the good newsgroup...

I have some names of tools I have to deal with and I don't know the associated
suppliers and the contact. If you know about some of them, let me know.

XPM : Project Management Tracking Tool
XTM : Raster Image Testing Tool ?
Vista : Code Coverage Tool
Interleaf : Documentation
PLATO : Process Language And Tool Organizer
SMARTview from PROCASE ; Reverse Engeneering
GURU : english writing verification

Any help would be greatly appreciated.

Thanks.

 ------- Frederic Pierresteguy -----  Bull S.A France ---------------------    
 Software Eng. Methodology     ! e-mail: F.Pierresteguy@frcl.bull.fr
 Rue Jean-Jaures F60D07, BP 53 ! tel:(33-1) 3080 6393
 78340 Les Clayes-Sous-Bois    ! Fax:(33-1) 3080 7078
From: jwang@iastate.edu (Jing Wang)
Newsgroups: fj.mail-lists.x-window
Subject: Problem with Xsession!!
Date: 15 Apr 92 20:53:25 GMT
Distribution: fj
Organization: Iowa State University, Ames, IA

Date: Wed, 15 Apr 1992 13:52:15 GMT
Message-Id: <1992Apr15.135215.28581@news.iastate.edu>
Newsgroups: comp.windows.x


Hi netters, I just have X11R5 installed on my Sun 3/60(installed by making
symbolic links of the binaries...not compiled), and it runs ok.  But now
I am having trouble with the Xsession in xdm-config file.  My Xsession is
very general...very much like a sample Xsession given on a X-window text, so
I guess it should be ok.  And I do have a .xsession file in my home directory.
The problem starts when I add the Xsession entry in the xdm-config file,
xlogin denies any logins, not even root!  But everything works great if I
remove the Xsession entry(in xdm-config), except that it won't execute
.xsession script.

What did I do wrong?  I almost tried everything I know...and reboot the system
a zillion times just to try every possible option....please help me...

Reply to the address below...thanks in advance.

-Jing
-- 
Jing Wang...............................Internet : jwang@iastate.edu..........
Dept. of Electrical and............................tnc62@isuvax.iastate.edu...
........Computer Engineering...........Bitnet   : jwang%iastate.edu@isumvs...
Iowa State University...................Phone    : (515)292-1757..............
From: beilby@latcs1.lat.oz.au (Scorpius)
Newsgroups: fj.mail-lists.x-window
Subject: How do I show an Image a X prog.
Date: 6 Apr 92 07:24:36 GMT
Article-I.D.: sm.1992Apr6.072436.10008
Distribution: fj
Organization: Comp Sci, La Trobe Uni, Australia

Date: 6 Apr 92 04:00:02 GMT
Message-Id: <1992Apr6.040002.1554@latcs1.lat.oz.au>
Newsgroups: comp.windows.x


	I tried posting this Q before, but it didn't apear to get out.

	How do I display an image using the Athena widget set?  The image
will be in basicly 8 bit Sun Raster format, ie 256 bytes * 3 LUT, sperate
from the image which is hight*width bytes.

	It apears that to display images I need to put them into pixmap
format, but how to do that and what to do then is a little beyond me.
		
                                     / / / /     __
                                )--/+-+-+-+---  '  \
                                  (8| Scorpius>\___/
                                )--\+-+-+-+---
                                     \ \ \ \
					
					beilby@latcs1.lat.oz.au
From: horner@media-lab.media.mit.edu (Chris Horner)
Newsgroups: fj.mail-lists.x-window
Subject: Xt Translation Table Help
Date: 16 Apr 92 04:08:33 GMT
Distribution: fj
Organization: M.I.T. Media Laboratory

Date: Wed, 15 Apr 1992 22:47:27 GMT
Message-Id: <1992Apr15.224727.22099@news.media.mit.edu>
Newsgroups: comp.windows.x

I want to have an action routine that allows creates a new text widget to
hold text that a user types.  My resource file contains the following:

my_widget.translations:	#override \
        <Key>:  key-handler()

Unfortunately, key-handler is getting triggered when the user presses the
shift key, which is supposedly a modifier and not a key itself.  This also
happens for meta and control keys.

Changing this last line to
        ~Shift <Key>:   key-handler()
has no effect

Nor does
        ! <Key>:        key-handler()

Nor does
        None <Key>:        key-handler()

How can I get key-handler to work ONLY when a real key is pressed,
not a modifier?  Note, I still want Shift <Key>A to call key-handler() for
instance, just not shift by itself.

This wouldn't be so bad if I didn't want to have specific key strokes, e.g.
Shift <Key>tab call different action routines other than key-handler.

Please forward responses to my personal address as well. Thanks.