From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,74f2fc75484f99e7,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-10 11:23:58 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!newsxfer.itd.umich.edu!sol.ctr.columbia.edu!howland.reston.ans.net!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!konopik.austin.ibm.com!konopik From: konopik@konopik.austin.ibm.com (Brad Konopik) Subject: User Defined Keys on DEC VT* ascii terminals Sender: news@austin.ibm.com (News id) Message-ID: Date: Thu, 10 Mar 1994 19:23:58 GMT Organization: IBM AIX Technical Support Okay, I confess...I'm an AIX guy who is tip-toeing into DEC land...I don't know if VT-savvy guys hang out here or not. But if I don't figure this out, we'll have to sell the customer some IBM 3151 terminals :-) Please respond direct to me if you know the answer (or have the mail address of a DEC guy who would know the answer). I'm looking at the back of the VT books on how-to customize my function keys on my VT320. The book says to send the VT a: DCS Pc ; Pl | Ky1/St1;...Kyn/Stn ST where (for my 7-bit mode) DCS is Esc P ST is Esc / so to test, I try to set F7 to 'AAA'. I use a line monitor to ensure I'm sending the terminal: Esc P 1 ; 1 | 1 8 4 1 4 1 4 1 Esc / Cr (where Cr is 0x0D Carriage Return) This did not work. The F7 key still sends the same thing, but now the data sent by my RISC/6000 no longer displays on the screen (my line monitor shows it being sent). WHAT IS THE CORRECT SEQUENCE TO CHANGE F7 TO 'AAA' ??? PS. I tried every other variation of this escape sequence I could think of... Esc P 0 ; 0 | 1 8 4 1 4 1 4 1 Esc / Cr (where Cr is 0x0D Carriage Return) Esc P 1 ; 1 | 1 8 / 4 1 4 1 4 1 Esc / Cr (where Cr is 0x0D Carriage Return) Esc P 0 ; 0 | 1 8 / 4 1 4 1 4 1 Esc / Cr (where Cr is 0x0D Carriage Return) Esc P 1 8 4 1 4 1 4 1 Esc / Cr (where Cr is 0x0D Carriage Return) Esc P 1 8 / 4 1 4 1 4 1 Esc / Cr (where Cr is 0x0D Carriage Return) : -- internet: konopik@austin.ibm.com | Brad Konopik uunet: uunet!austin.ibm.com!konopik | IBM AIX Technical Support ibmvnet: KONOPIK at AUSTIN | Austin, Texas