Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from alt.ascii-art, started 20 Apr 1994.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
Help with ANSI?

Help with ANSI?

alt.ascii-art · 2 messages · 20 Apr 1994 - 22 Apr 1994
Hello out there,
     I'm looking for an ANSI escape code to redefine a key on a VT-100
terminal. I need it for a program I'm writing. If any of you ASCII 
animators know what this code is, I would be very greatfull.
Please send any responses to cs2...@eeyore.stcloud.msus.edu.
                                                  Chris

Winston Smith <win...@merk.com> ASCII art 22 Apr 1994 10:49 · permalink · report
On Wednesday, April 20, 1994 at 12:53:03 -0500 (17:53:03 GMT ? )
  min...@TIGGER.STCLOUD.MSUS.EDU (Chris) writes:

 C> Hello out there,
 C>      I'm looking for an ANSI escape code to redefine a key on a VT-100
 C> terminal. I need it for a program I'm writing. If any of you ASCII 
 C> animators know what this code is, I would be very greatfull.
 C> Please send any responses to cs2...@eeyore.stcloud.msus.edu.
 C>                                                  Chris

     D.E.C. VT-100 keys are not redefinable.  Each key sends a fixed escape
code.  Thus, the [ GOLD / PF1 ] key can not be exchanged with the [ PF4 ]
key.  Their hardware actions are fixed.  The keys can only be reassigned
via changing the --SOFTWARE-- routine executed for any particular keypress.
VAX/VMS DCL allows you to map and remap the VT100 keys at the OS level.
You can redefine VT-100 keys under program control, but you can do that for
--ANY-- key on your keyboard (e.g. if 'a' is pressed go West, etc....).
D.E.C. VT-100 ANSI is not much like MS-DOS ANSI.SYS in several respects.
PF1, for example, will send an <ESCAPE><Capital-O><Capital-P> in D.E.C.
VT-100 ANSI.  There is no way to change this sequence short of turning on
VT-52 emulation and turning the VT-100 into a VT-52 (which changes the
screen mapping and everything else about the terminal).  Perhaps if we had
even the vaguest idea of what it is you are trying to accomplish, we could
offer some meaningful advice.
 
     Here is the VT100 ANSI function keypad as I know it:
     [ <ESC> O P ]  [ <ESC> O Q ]  [ <ESC> O R ]  [ <ESC> O S ]
     [ <ESC> O w ]  [ <ESC> O x ]  [ <ESC> O y ]  [ <ESC> O m ]
     [ <ESC> O t ]  [ <ESC> O u ]  [ <ESC> O v ]  [ <ESC> O l ]
     [ <ESC> O q ]  [ <ESC} O r ]  [ <ESC> O s ]
     [      <ESC> O p           ]  [ <ESC> O n ]  [ <ESC> O M ]

     
     The function keypad is turned on with:
          <ESCAPE> =
     The function keypad is turned off with:
          <ESCAPE> >
 
Best of luck!

Related ASCII art in the Gallery

Explore these categories from our collection of 11,000+ artworks:

About this thread. These messages were posted publicly to the newsgroup alt.ascii-art in 1994 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post