Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: konopik@konopik.austin.ibm.com (Brad Konopik)
Subject: User Defined Keys on DEC VT* ascii terminals
Date: Thu, 10 Mar 1994 19:23:58 GMT	[thread overview]
Message-ID: <CMGr80.1q5w@austin.ibm.com> (raw)

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


             reply	other threads:[~1994-03-10 19:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-03-10 19:23 Brad Konopik [this message]
1994-03-16  5:53 ` User Defined Keys on DEC VT* ascii terminals Brad Konopik
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox