Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* User Defined Keys on DEC VT* ascii terminals
@ 1994-03-10 19:23 Brad Konopik
  1994-03-16  5:53 ` Brad Konopik
  0 siblings, 1 reply; 2+ messages in thread
From: Brad Konopik @ 1994-03-10 19:23 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: User Defined Keys on DEC VT* ascii terminals
  1994-03-10 19:23 User Defined Keys on DEC VT* ascii terminals Brad Konopik
@ 1994-03-16  5:53 ` Brad Konopik
  0 siblings, 0 replies; 2+ messages in thread
From: Brad Konopik @ 1994-03-16  5:53 UTC (permalink / raw)


In article <CMGr80.1q5w@austin.ibm.com> konopik@konopik.austin.ibm.com (Brad Konopik) writes:
>
>WHAT IS THE CORRECT SEQUENCE TO CHANGE F7 TO 'AAA'  ???
>

Thanks to Demetri S. Mouratis and Peter Sherwood for contacting me 
off-line with the correct information.  Turns out the DEC pubs I was
using were printed with a / (slash) instead of the desired \ (backslash).

-- 
internet: konopik@austin.ibm.com          |  Brad Konopik
   uunet: uunet!austin.ibm.com!konopik    |  IBM AIX Technical Support
 ibmvnet: KONOPIK at AUSTIN               |  Austin, Texas


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-03-16  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-10 19:23 User Defined Keys on DEC VT* ascii terminals Brad Konopik
1994-03-16  5:53 ` Brad Konopik

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