alan@cogswell.Jpl.Nasa.Gov (Alan S. Mazer) (09/20/90)
Can someone out there tell me how to get PF1 to PF4 in xterm? It looks from the documentation like it might be possible, but I sure can't find it. Thanks. -- Alan # My aptitude test in high school suggested that ..!ames!elroy!alan # I should become a forest ranger. Take my alan@elroy.jpl.nasa.gov # opinions on computers with a grain of salt. -- -- Alan # My aptitude test in high school suggested that ..!ames!elroy!alan # I should become a forest ranger. Take my alan@elroy.jpl.nasa.gov # opinions on computers with a grain of salt.
gildea@ALEXANDER.BBN.COM (Stephen Gildea) (09/21/90)
Here is a simple example, which has PF1 insert ESC O P and PF2 insert
ESC O Q. You can take it from here yourself. Add the following lines
to your .Xresources file and re-run xrdb.
Notes:
Changing this resource will not affect an xterm that is already running.
The \033 representation does not work in pre-R4 xterm.
XTerm*VT100*Translations: #override\
<Key>KP_F1:string("\033OP")\n\
<Key>KP_F2:string("\033OQ")
< Stephen Bolt Beranek and Newman Inc.
gildea@bbn.com Cambridge, Massachusetts
"With the whole world crumbling, we pick this time to fall in love."alan@ELROY.JPL.NASA.GOV (Alan S. Mazer) (09/21/90)
Thanks a lot! There's still a lot about X that I don't understand, but seeing this example helps. It even worked! -- Alan