Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!seismo!ukma!rex!wuarchive!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: barry@ncd.COM (Barry Davis) Newsgroups: comp.windows.x Subject: xterm and function keys Message-ID: <9102282033.AA28669@bryant.com> Date: 28 Feb 91 20:33:41 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 30 >I'm sure this question has been asked before, but I'll go ahead and ask again. >This question doesn't appear in the FAQ list. > >I would like to have the function keys F1-F12 on my NCD X terminal output >strings when I'm in an xterm window. I looked at the `example' in the xterm >man page for vt100 translations, but I can't get it to work. For example, it >looks like function key F19 is to generate the string "continue\r". What I >did >was to put the example into my .Xresources file, changing the function key >names to ones that exist on my NCD, and then I ran xrdb -merge ~/.Xresources. >This appears to have had no effect. I even entered dbx within xterm but still >.I could see no effect of these translations. > >Does anyone happen to have a snippit of a .Xresources file which will allow >.one >to map function keys to strings while inside of an xterm window? Of course, >if >more is needed than just new entries in the .Xresources, I'd like to know that >too. -- tom, ekberg@aslss02.asl.dl.nec.com (x3503) Here is an example of a string assignment that works.... Put this in the .Xdefaults file *VT100.Translations: #override ShiftF1: string("shift") \n\ F1: string("F1")