Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shelby!snorkelwacker.mit.edu!ai-lab!ai.mit.edu!sundar From: sundar@ai.mit.edu (Sundar Narasimhan) Newsgroups: comp.windows.x Subject: function keys in xterm's vt100 (vt102?) emulation Keywords: function keys Message-ID: <13400@life.ai.mit.edu> Date: 17 Feb 91 23:08:22 GMT Sender: news@ai.mit.edu Reply-To: sundar@ai.mit.edu Followup-To: comp.windows.x Organization: MIT Artificial Intelligence Laboratory Lines: 15 Hi: I tried sending this once before, but the attempt seems to have failed. (Apologies if you get to see the foll. twice). I have a program that expects to be run from a vt100. I'd like to be able to run it from an xterm (on a sparc running SunOS 4.1 and X11R4). The program expects vt100 function keys (PF2, PF3 etc) to be used. Unfortunately, no matter what escape sequence I try typing, I can never get the program to respond correctly. So my question is: is the xterm emulation of vt100 (vt102) complete? If so, what does one need to do in order to get the vt100 function keys typed in? (BTW, on perusing the code I see that xterm just inserts the ascii string "13~" when I type F3 on my keyboard. Could someone explain to me how this is supposed to work?) Thanks.