Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!wuarchive!cec2!news From: jab0396@cec1.wustl.edu (John A. Breen) Newsgroups: comp.sys.apollo Subject: Re: xterm PF1-PF4 keys Keywords: xterm X function keys Message-ID: <1991Jan18.182209.19823@cec1.wustl.edu> Date: 18 Jan 91 18:22:09 GMT References: <1991Jan16.232403.16478@cec1.wustl.edu> <4f438fc0.20b6d@apollo.HP.COM> Organization: Washington University, St. Louis MO Lines: 37 In article <4f438fc0.20b6d@apollo.HP.COM> weber_w@apollo.hp.com writes: > >In article <1991Jan16.232403.16478@cec1.wustl.edu>, John A. Breen writes: >|> Are the VT100 PF1-PF4 keys defined in the Apollo version of xterm? >[...] > >[Use] "xmodmap" in order to simulate the keys which are not physically present >on the Apollo keyboard (PF1-PF4 as an example). > >Since you are running in a "dm owns root" configuration, you'll need to take >into account the "keyboard.config" file [...] >Looking at the >include file keysymdef.h, you see "#define XK_KP_F1 0xFF91" which is the entry >for "keypad function key 1" - also known as PF1[...]. >[Y]ou could invoke it as < xmodmap -e "keycode 158 = KP_F1" > >[...] >...walt... > Thanks for the assistance. It worked just as you said. However, since we're on the subject, I'm still curious why the approach I had tried didn't work. Basically, I attempted to bind (if that's the correct term) the escape sequence character string to the function key (which is recognized by X according to the keyboard.config file). I used the example in the xterm man page verbatim (except for changing the function key names to ones that existed), as well as various modifications, but no response (BTW, I put this in my .Xdefaults file; is that the wrong place?). Although I don't need it now, I would like to know how to bind arbitrary strings for future reference. Thanks again. John Breen jab0396@cec1.wustl.edu johnb@hobbes.mdc.com