home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!frodo.cc.flinders.edu.au!hobson.cc.flinders.edu.au!mmrw
- From: mmrw@hobson.cc.flinders.edu.au (Rick Williams)
- Subject: Re: *xterm function key translations
- Message-ID: <1992Nov17.055208.40597@frodo.cc.flinders.edu.au>
- Sender: mmrw
- Date: Tue, 17 Nov 1992 05:52:08 GMT
- References: <1992Nov9.202847.10351@newstand.syr.edu>
- Organization: Flinders University
- Lines: 48
-
- In article <1992Nov9.202847.10351@newstand.syr.edu> kcameron@erc.cat.syr.edu (Ken Cameron) writes:
- >I am trying to create a *xterm (real xterm or aixterm) that will use
- >my own set of escape codes for the function keys. This needs to work
- >only in the one window I configured as the other windows will be doing
- >normal AIX stuff. I've tries the use of xrm and translations but
- >haven't figured it out yet. If someone has a solution please email/post
- >so I can get this working. Basicly I am trying to have a VT100 window
- >with vt100 keys (but its on a remote system) so I can't alter the
- >remote termcap (since it's not Unix).
- >Thanx,
- >
- >--
- >-ken cameron. SkyDiver: Zoo-602, A-8596, D-11839. Skier.
- >Employer: Computer Task Group. /cny UNIX Users Group Director.
- >Disclamer: "I said it, when I said it, so what! Now is different!"
- >Internet: kcameron@erc.cat.syr.edu
-
-
- Use the -name option of aixterm to give the application a new name:-
- aixterm -name ESQR .... &
-
- Then set up bindings in the .Xdefaults file as per this example
- (Case and punctuation are VERY important):-
-
- ESQR*Translations: #override \
- <Key>Num_Lock: string("OP") \n\
- <Key>KP_Divide: string("OQ") \n\
- <Key>KP_Multiply: string("OR") \n\
- <Key>KP_Subtract: string("OS") \n\
- <Key>Home: string("h") \n\
- <Key>End: string("e") \n\
- <Key>Insert: string("i") \n\
- <Key>Delete: string("") \n\
- Ctrl<Key>Prior: string("u") \n\
- Ctrl<Key>Next: string("d") \n\
- <Key>Prior: string("") \n\
- <Key>Next: string("") \n\
- Shift<Key>Tab: string("b") \n\
- Ctrl<Key>Right: string("") \n\
- Ctrl<Key>Left: string("")
-
-
- Note also that Modifier<Key>Blah must be specified BEFORE <Key>Blah
- for both to work.
-
- Rick Williams,
- M.I.S. Unit
- The Flinders University of South Australia.
-