Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uwm.edu!linac!att!bellcore!jello!aw From: aw@jello.bae.bellcore.com (Andrew Wason) Newsgroups: comp.windows.x Subject: Re: Problems using xterm "translations": Shifted and unshifted equal Message-ID: <1991Mar28.235915.9053@bellcore.bellcore.com> Date: 28 Mar 91 23:59:15 GMT References: <1991Mar27.214211*Steinar.Haug@delab.sintef.no> Sender: usenet@bellcore.bellcore.com (Poster of News) Reply-To: aw@bae.bellcore.com Organization: Bell Communications Research Lines: 24 In article <1991Mar27.214211*Steinar.Haug@delab.sintef.no>, Steinar.Haug@delab.sintef.no (Steinar Haug) writes: >XTerm*VT100.extraKeymap.translations: #override\ > x: string("A") \n\ > Shiftx: string("B") > >I simply want an unshifted x to insert 'A', and a shifted X to insert "B". >The problem is that only the first definition is used by xterm. I always >get 'A', both shifted and unshifted. If I place the line with Shift -> B >first, I always get B in both shifted and unshifted positions. Furthermore, >in either of these cases I get the same character also for ctrl-x! Try: XTerm*VT100.extraKeymap.translations: #override\ !Shiftx: string("B")\n Nonex: string("A") Andrew _______________________________________________________________________________ Andrew Wason Bell Communications Research aw@bae.bellcore.com Piscataway, NJ bellcore!bae!aw