Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!pacbell.com!ames!eos!data.nas.nasa.gov!amelia!mckie From: mckie@nas.nasa.gov (William McKie) Newsgroups: comp.windows.x Subject: function key def in xterm Message-ID: <1991Jan29.064410.8596@nas.nasa.gov> Date: 29 Jan 91 06:44:10 GMT Sender: news@nas.nasa.gov Reply-To: mckie@amelia.nas.nasa.gov (William McKie) Distribution: usa Organization: NAS Program, NASA Ames Research Center, Moffett Field, CA Lines: 12 Can someone send an example of what to include in one's .Xdefaults file so that a given string is sent when a function key is pressed? Using the example on p 28 of the xterm man page, we've tried the following. It activates the function keys as expected, but all the other keys are then disabled. XTerm.VT100.translations: F4: string("ls") string(0x0d) \n\ F5: string("who") string(0x0d) Bill McKie mckie@sky.arc.nasa.gov NASA Ames Research Center