Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!amdahl!pacbell!sactoh0!jmbaldwi From: jmbaldwi@sactoh0 (Joel M. Baldwin) Newsgroups: comp.sys.dec Subject: program function keys on vt320's. HOW?? Keywords: vt320, function keys Message-ID: <1050@sactoh0> Date: 14 Jun 89 13:08:24 GMT Distribution: usa Organization: SAC-UNIX (Public Access), Sacramento, Ca. Lines: 22 This is my first ever posting to USENET and I hope that this is an appropriate question in the appropriate group. The question is: How do you program the function keys on a VT320? I have an application where I want to have the F6 through F20 keys programmed with certain strings, so that when the operators hit these keys this string is sent to the computer. I want the main program that starts up the application to send to the terminal the Escape sequences to program the keys. However the book that came with our terminals and a few phone calls to DEC have not resulted in a sequence that works when I type them into the terminal when it is in local. The sequence that I've been trying is: EscP0;1|17/4849Esc\ to program F6 with "HI" in 7 bit mode Anyone see anything that I'm doing wrong? Thanks in advance!