YATES@C.CHEM.UPENN.EDU ("YATES, JOHN H.") (12/21/90)
[Forgive me for posting here, but I don't have an rn feed, I subscribe directly to 4 groups, and am 3000 messages behind in those. I don't know how to contact the X newsgroup I'm just getting started with X. I'm sure some of you out there are interested, and others know the answer.] I am running SGI's X on an HDS XTerminal telnetted to the SGI. I often telnet from there to a VAX and would like to map the special VT keyboard keys to the F1 - Fx keys so I can use TPU. I've gotten close, but now am stuck. By putting in the .Xdefaults file: XTerm*VT100.Translations: #override \ <Key>F4: string(0xffc1) string("ESC [ 2 9 ~") \n\ I get the sequence in "'s delivered to the VAX editor when I hit F4, but haven't figured out how to get the actual escape in the string.(I tried the hex sequence, both inside and preceding the quotes, but no go). (I verified that typing the sequence directly actually does the DO in the editor). The F4 key is 0xffc1 and the VT200 manual shows that the DO key is ESC [ 2 9 ~ If I get this gem to work, I can map the rest of the keys I need, as I want. Please e-mail directly to me, otherwise I may not know the answer until March or April. ;-) Thanks, John yates@c.chem.upenn.edu