Xref: utzoo comp.emacs:9192 comp.os.vms:31050 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!bu.edu!mirror!necntc!gordon!sra From: sra@gordon.UUCP (Sreedhar Annamalai) Newsgroups: comp.emacs,comp.os.vms Subject: Function key problem in emacs on vaxstation xterm Keywords: dlogin vms xterm emacs function keys vaxstation Message-ID: <129@gordon.UUCP> Date: 3 Oct 90 20:34:07 GMT Organization: Access Technology, Natick, MA Lines: 27 I have a peculiar problem with function keys. They do not seem to be recognized by emacs as soon as they are hit. They need to be followed up with a press of some other key for the first one to be recognized and processed. The problem seems to be with only the function keys F1-F20,HELP,DO, FIND, SELECT, ..., PREV SCREEN and NEXT SCREEN. The keypad keys and the arrow keys are processed fine. If I press PREV SCREEN, I need to hit another key (eg. space bar or PREV SCREEN again) for emacs to scroll to previous screen. The PREV SCREEN key sends [5~ to emacs, but emacs seems to get only [5 when the key is pressed. The final tilde character is received by emacs only after another key press. The above happens when I am in an xterm on an ULTRIX machine (vaxstation 2000 if you need me to be specific and if you need to pity), dlogin to a VMS node and run emacs on the VMS node. The function keys are a problem only on emacs. 'edt' and 'wordperfect' work okay. Was wondering if anyone else had come across this problem and have a solution. Would appreciate any ideas. Sreedhar ------------------------- Sreedhar Annamalai Access Technology, Inc. harvard.harvard.edu!gordon!sra