home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / apple2 / 20411 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  25.9 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!TSO.UC.EDU!usr3947a
  2. From: usr3947a@TSO.UC.EDU (Kenneth Wronkiewicz)
  3. Newsgroups: comp.sys.apple2
  4. Subject: ANSI/VT-100
  5. Message-ID: <9209142220.AA15914@tso.uc.edu>
  6. Date: 14 Sep 92 22:20:14 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 517
  11.  
  12. v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
  13.  
  14.                          ANSI & DEC VT100 Codes
  15.  
  16. ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
  17.  
  18.  
  19.    The following text will describe the various escape codes that allow
  20. computers to transmit color text over communication lines.  Using ANSI
  21. escape codes, any computer can receive and transmit color text as long as
  22. the communication program can interpret the escape sequences.
  23.    The escape sequences can be thought of the same as ones sent to a printer
  24. to change the appearance of the output.  All ANSI codes begin with the one
  25. byte character ESC (decimal 27), and are followed by the left bracket "[".
  26. Additional parameters, which follow the bracket are seperated with a semi-
  27. colon.  All codes are ended with a single alphabetic character which determines
  28. the function of the escape sequence.
  29.    Since the characters come in one at a time, as soon as the ESC character
  30. is received start building the sequence until an alphabetic character is
  31. input.  The case of the alphabetic character is very important since they
  32. mean different things.  For example,"H" (which means set cursor position)
  33. is different than "h" ,(which means set the display width and type).
  34.  
  35.  
  36.    Notes:
  37.           1) The default value is used when no explicit
  38.              value is given, or a value of zero, is
  39.              specified.
  40.  
  41.           2) The default value is 1 unless otherwise
  42.              specified below.
  43.  
  44.           3) # - Numeric Parameter.  A decimal number
  45.              specified with ASCII characters.
  46.  
  47.           4) In the control sequences described below,
  48.              ESC is the 1 byte code for ESC (decimal 27),
  49.              and not the three characters "ESC".
  50.  
  51.  
  52.  
  53. CURSOR CONTROL
  54.  
  55.    Cursor Position (CUP)
  56.      ESC[#;#H               Moves the cursor to the position
  57.                             specified by the parameter.  The first
  58.                             parameter specifies the line number and
  59.                             the second parameter specifies the column
  60.                             number.  If no parameter is given, the
  61.                             cursor is moved to the home position
  62.                             (Row 1, Column 1).
  63.                               Example: ESC[10;20H  - moves the cursor to
  64.                                                    row 10, column 20.
  65.  
  66.    Cursor Up (CUU)
  67.      ESC[#A                 Moves the cursor up # lines without
  68.                             changing columns.  The value of #
  69.                             determines the number of lines to move up.
  70.                             This sequence is ignored if the cursor is
  71.                             already on the top line.
  72.                               Example: ESC[5A      - moves the cursor up
  73.                                                    5 lines without changing
  74.                                                    columns.
  75.  
  76.    Cursor Down (CUD)
  77.      ESC[#B                 Moves the cursor down # lines without changing
  78.                             columns.  The value of # determines the number
  79.                             of lines to move down.
  80.                             This sequence is ignored if the cursor is
  81.                             already on the bottom line.
  82.                               Example: ESC[5B      - moves the cursor down
  83.                                                    5 lines without changing
  84.                                                    columns.
  85.  
  86.    Cursor Forward (CUF)
  87.      ESC[#C                 Moves the cursor forward # columns without
  88.                             changing lines.  The value of # determines
  89.                             the number of columns moved forward.
  90.                             This sequence is ignored if the cursor is already
  91.                             in the rightmost column.
  92.                               Example: ESC[25C     - moves the cursor forward
  93.                                                    25 columns.
  94.  
  95.    Cursor Backward (CUB)
  96.      ESC[#n                 Moves the cursor back # columns without changing
  97.                             lines.  The value # determines the number of
  98.                             columns moved backwards.
  99.                             This sequence is ignored if the cursor is already
  100.                             in the leftmost column.
  101.                               Example: ESC[1n      - moves the cursor backwards
  102.                                                    1 column.
  103.  
  104.    Horizontal and Vertical Position (HVP)
  105.      ESC[#;#f               This control sequence is the same as CUP.
  106.                               Example: ESC[10;20f  - moves the cursor to
  107.                                                    row 10, column 20.
  108.  
  109.    Device Status Report (DSR)
  110.      ESC[6n                 Upon receipt of this command, the console
  111.                             driver will output a CPR sequence as described
  112.                             below.
  113.  
  114.    Cursor Position Report (CPR)
  115.      ESC[#;#R               The CPR sequence reports the current cursor
  116.                             position through the standard input device.  The
  117.                             first parameter specifies the current line and
  118.                             the second parameter specifies the current column.
  119.  
  120.    Save Cursor Position (SCP)
  121.      ESC[s                  The current cursor position is saved.  This
  122.                             cursor position can be restored with the RCP
  123.                             sequence.
  124.  
  125.    Restore Cursor Position (RCP)
  126.      ESC[u                  Restores the cursor to the value it had when
  127.                             the control sequence SCP was received.
  128.  
  129.    Erase in Display (ED)
  130.      ESC[2J                 Erases all of the screen and the cursor goes
  131.                             to the home position (row 1, column 1).
  132.  
  133.    Erase in Line (EL)
  134.      ESC[k                  Erases from the cursor to the end of the line
  135.                             and includes the cursor position.
  136.  
  137.    Set Graphics Rendition (SGR)
  138.      ESC[#;...;#m           Set the character attribute specified by then
  139.                             parameter(s). All following characters will
  140.                             have the attribute according to the parameter(s)
  141.                             until the next occurrence of SGR.
  142.                               Note:  attribute means the foreground color, the
  143.                                      background color, blink, high intensity,
  144.                                      underscore, reverse video, and invisible.
  145.  
  146.                            Parameter     Meaning
  147.                               0          All Attributes Off (white on black)
  148.                               1          Bold On (high intensity)
  149.                               4          Underscore On (Some monitors only)
  150.                               5          Blink On
  151.                               7          Reverse Video
  152.                               8          Cancelled On (invisible)
  153.                               30         Black Foreground
  154.                               31         Red Foreground
  155.                               32         Green Foreground
  156.                               33         Yellow Foreground
  157.                               34         Blue Foreground
  158.                               35         Magenta Foreground
  159.                               36         Cyan Foreground
  160.                               37         White Foreground
  161.                               40         Black Background
  162.                               41         Red Background
  163.                               42         Green Background
  164.                               43         Yellow Background
  165.                               44         Blue Background
  166.                               45         Magenta Background
  167.                               46         Cyan Background
  168.                               47         White Background
  169.  
  170.                               Example: ESC[33;40;1m    - all following
  171.                                                        characters will have
  172.                                                        a Yellow foreground,
  173.                                                        a Black background,
  174.                                                        and be in high intensity
  175.                                                        until receipt of another
  176.                                                        SGR control sequence.
  177.  
  178.                                        ESC[0m          - all following
  179.                                                        characters will have
  180.                                                        a white foreground, on
  181.                                                        a black background, in
  182.                                                        normal intensity.
  183.  
  184.  
  185.                               Note:  Several parameters can be stacked.  For
  186.                                      example, ESC[0;1;5;7;31;44m
  187.                                               the above example will reset the
  188.                                               attributes, set high intensity,
  189.                                               set blink on, set reversed video,
  190.                                               set foreground color to red, and
  191.                                               set background color to blue.
  192.                                                  Note that since reverse video
  193.                                                  is on the foreground will
  194.                                                  actually be blue and the
  195.                                                  background will be red.
  196.  
  197.  
  198.  
  199. Here is the requested list of ANSI control sequences. I picked it
  200. up off of the Usenet a while back.
  201.  
  202.  ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
  203.                        in alphabetic order by mnemonic
  204.  
  205.      (Inspired by the article "Toward Standardized Video Terminals: ANSI
  206.       X3.64 Device Control" by Mark L. Siegel, April 1984 BYTE, page 365)
  207.  
  208.         Note: This describes the VT-100 standard.
  209.  
  210.                (Ps and Pn are parameters expressed in ASCII.)
  211.                (Numeric parameters are given in decimal radix.)
  212.                (Abbreviations are explained in detail at end.)
  213.                (Spaces used in this table for clarity are not
  214.                 used in the actual codes.)
  215.  
  216.                                                            Default    Type
  217. Sequence     Sequence                                      Parameter   or
  218. Mnemonic     Name              Sequence                    Value      Mode
  219.  ---------------------------------------------------------------------------
  220. APC  Applicatn Program Command Esc Fe                                 Delim
  221. CBT  Cursor Backward Tab       Esc [ Pn Z                   1         EdF
  222. CCH  Cancel Previous Character Esc T
  223. CHA  Cursor Horzntal Absolute  Esc [ Pn G                   1         EdF
  224. CHT  Cursor Horizontal Tab     Esc [ Pn I                   1         EdF
  225. CNL  Cursor Next Line          Esc [ Pn E                   1         EdF
  226. CPL  Cursor Preceding Line     Esc [ Pn F                   1         EdF
  227. CPR  Cursor Position Report    Esc [ Pn ; Pn R              1, 1
  228. CSI  Control Sequence Intro    Esc [                                  Intro
  229. CTC  Cursor Tab Control        Esc [ Ps W                   0         EdF
  230. CUB  Cursor Backward           Esc [ Pn D                   1         EdF
  231. CUD  Cursor Down               Esc [ Pn B                   1         EdF
  232. CUF  Cursor Forward            Esc [ Pn C                   1         EdF
  233. CUP  Cursor Position           Esc [ Pn ; Pn H              1, 1      EdF
  234. CUU  Cursor Up                 Esc [ Pn A                   1         EdF
  235. CVT  Cursor Vertical Tab       Esc [ Pn Y                             EdF
  236. DA   Device Attributes         Esc [ Pn c                   0
  237. DAQ  Define Area Qualification Esc [ Ps o                   0
  238. DCH  Delete Character          Esc [ Pn P                   1         EdF
  239. DCS  Device Control String     Esc P                                  Delim
  240. DL   Delete Line               Esc [ Pn M                   1         EdF
  241. DMI  Disable Manual Input      Esc \                                  Fs
  242. DSR  Device Status Report      Esc [ Ps n                   0
  243. EA   Erase in Area             Esc [ Ps O                   0         EdF
  244. ECH  Erase Character           Esc [ Pn X                   1         EdF
  245. ED   Erase in Display          Esc [ Ps J                   0         EdF
  246. EF   Erase in Field            Esc [ Ps N                   0         EdF
  247. EL   Erase in Line             Esc [ Ps K                   0         EdF
  248. EMI  Enable Manual Input       Esc b                                  Fs
  249. EPA  End of Protected Area     Esc W
  250. ESA  End of Selected Area      Esc G
  251. FNT  Font Selection            Esc [ Pn ; Pn Space D        0, 0      FE
  252. GSM  Graphic Size Modify       Esc [ Pn ; Pn Space B        100, 100  FE
  253. GSS  Graphic Size Selection    Esc [ Pn Space C             none      FE
  254. HPA  Horz Position Absolute    Esc [ Pn `                   1         FE
  255. HPR  Horz Position Relative    Esc [ Pn a                   1         FE
  256. HTJ  Horz Tab w/Justification  Esc I                                  FE
  257. HTS  Horizontal Tab Set        Esc H                                  FE
  258. HVP  Horz & Vertical Position  Esc [ Pn ; Pn f              1, 1      FE
  259. ICH  Insert Character          Esc [ Pn @                   1         EdF
  260. IL   Insert Line               Esc [ Pn L                   1         EdF
  261. IND  Index                     Esc D                                  FE
  262. INT  Interrupt                 Esc a                                  Fs
  263. JFY  Justify                   Esc [ Ps ; ... ; Ps Space F  0         FE
  264. MC   Media Copy                Esc [ Ps i                   0
  265. MW   Message Waiting           Esc U
  266. NEL  Next Line                 Esc E                                  FE
  267. NP   Next Page                 Esc [ Pn U                   1         EdF
  268. OSC  Operating System Command  Esc ]                                  Delim
  269. PLD  Partial Line Down         Esc K                                  FE
  270. PLU  Partial Line Up           Esc L                                  FE
  271. PM   Privacy Message           Esc ^                                  Delim
  272. PP   Preceding Page            Esc [ Pn V                   1         EdF
  273. PU1  Private Use 1             Esc Q
  274. PU2  Private Use 2             Esc R
  275. QUAD Typographic Quadding      Esc [ Ps Space H             0         FE
  276. REP  Repeat Char or Control    Esc [ Pn b                   1
  277. RI   Reverse Index             Esc M                                  FE
  278. RIS  Reset to Initial State    Esc c                                  Fs
  279. RM   Reset Mode                Esc [ Ps l                   none
  280. SD   Scroll Down               Esc [ Pn T                   1         EdF
  281. SEM  Select Edit Extent Mode   Esc [ Ps Q                   0
  282. SGR  Select Graphic Rendition  Esc [ Ps m                   0         FE
  283. SL   Scroll Left               Esc [ Pn Space @             1         EdF
  284. SM   Select Mode               Esc [ Ps h                   none
  285. SPA  Start of Protected Area   Esc V
  286. SPI  Spacing Increment         Esc [ Pn ; Pn Space G        none      FE
  287. SR   Scroll Right              Esc [ Pn Space A             1         EdF
  288. SS2  Single Shift 2 (G2 set)   Esc N                                  Intro
  289. SS3  Single Shift 3 (G3 set)   Esc O                                  Intro
  290. SSA  Start of Selected Area    Esc F
  291. ST   String Terminator         Esc \                                  Delim
  292. STS  Set Transmit State        Esc S
  293. SU   Scroll Up                 Esc [ Pn S                   1         EdF
  294. TBC  Tab Clear                 Esc [ Ps g                   0         FE
  295. TSS  Thin Space Specification  Esc [ Pn Space E             none      FE
  296. VPA  Vert Position Absolute    Esc [ Pn d                   1         FE
  297. VPR  Vert Position Relative    Esc [ Pn e                   1         FE
  298. VTS  Vertical Tabulation Set   Esc J                                  FE
  299.  
  300.  ---------------------------------------------------------------------------
  301.  
  302. Abbreviations:
  303.  
  304. Intro  an Introducer of some kind of defined sequence; the normal 7-bit
  305.        X3.64 Control Sequence Introducer is the two characters "Escape ["
  306.  
  307. Delim  a Delimiter
  308.  
  309. x/y    identifies a character by position in the ASCII table (column/row)
  310.  
  311. EdF    editor function (see explanation)
  312.  
  313. FE     format effector (see explanation)
  314.  
  315. F      is a Final character in
  316.             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
  317.             a control sequence (F from 4/0 to 7/14)
  318.  
  319. Gs     is a graphic character appearing in strings (Gs ranges from
  320.        2/0 to 7/14) in the ASCII table
  321.  
  322. Ce     is a control represented as a single bit combination in the C1 set
  323.        of controls in an 8-bit character set
  324.  
  325. C0     the familiar set of 7-bit ASCII control characters
  326.  
  327. C1     roughly, the set of control characters available only in 8-bit systems.
  328.        This is too complicated to explain fully here, so read Jim Fleming's
  329.        article in the February 1983 BYTE, especially pages 214 through 224.
  330.  
  331. Fe     is a Final character of a 2-character Escape sequence that has an
  332.        equivalent representation in an 8-bit environment as a Ce-type
  333.        (Fe ranges from 4/0 to 5/15)
  334.  
  335. Fs     is a Final character of a 2-character Escape sequence that is
  336.        standardized internationally with identical representation in 7-bit
  337.        and 8-bit environments and is independent of the currently
  338.        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
  339.  
  340. I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
  341.        ASCII table
  342.  
  343. P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
  344.        table
  345.  
  346. Pn     is a numeric parameter in a control sequence, a string of zero or
  347.        more characters ranging from 3/0 to 3/9 in the ASCII table
  348.  
  349. Ps     is a variable number of selective parameters in a control sequence
  350.        with each selective parameter separated from the other by the code
  351.        3/11 (which usually represents a semicolon); Ps ranges from
  352.        3/0 to 3/9 and includes 3/11
  353.  
  354. v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
  355. v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
  356.  
  357. Format Effectors versus Editor Functions
  358.  
  359. A format effector specifies how the final output is to be created.
  360. An editor function allows you to modify the specification.
  361.  
  362. For instance, a format effector that moves the "active position" (the
  363. cursor or equivalent) one space to the left would be useful when you want to
  364. create an over strike, a compound character made of two standard characters
  365. overlaid. Control-H, the Backspace character, is actually supposed to be a
  366. format effector, so you can do this. But many systems use it in a
  367. nonstandard fashion, as an editor function, deleting the character to the
  368. left of the cursor and moving the cursor left. When Control-H is assumed to
  369. be an editor function, you cannot predict whether its use will create an
  370. over strike unless you also know whether the output device is in an "insert
  371. mode" or an "overwrite mode". When Control-H is used as a format effector,
  372. its effect can always be predicted. The familiar characters carriage
  373. return, linefeed, formfeed, etc., are defined as format effectors.
  374.  
  375. v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
  376. ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
  377.  
  378. ANSI X3.64 Mode-Changing Parameters for use with the
  379.            Select Mode (SM) and Reset Mode (RM) functions
  380.  
  381.     Parameter           Mode          Mode Function
  382.     Characters          Mnemonic
  383.  column/    graphic
  384.   row       repres.
  385.  ----------------------------------------------------------------------------
  386. 3/0           0                       an error condition
  387. 3/1           1          GATM         guarded-area transfer mode
  388. 3/2           2          KAM          keyboard action mode
  389. 3/3           3          CRM          control representation mode
  390. 3/4           4          IRM          insertion/replacement mode
  391. 3/5           5          SRTM         status-reporting transfer mode
  392. 3/6           6          ERM          erasure mode
  393. 3/7           7          VEM          vertical editing mode
  394. 3/8           8                       reserved for future standardization
  395. 3/9           9                       reserved for future standardization
  396. 3/10          :                       reserved separator for parameters
  397. 3/11          ;                       Standard separator for parameters
  398. 3/12          <                       reserved for private (experimental) use
  399. 3/13          =                       reserved for private (experimental) use
  400. 3/14          >                       reserved for private (experimental) use
  401. 3/15          ?                       reserved for private (experimental) use
  402. 3/1  3/0      10         HEM          horizontal editing mode
  403. 3/1  3/1      11         PUM          positioning unit mode
  404. 3/1  3/2      12         SRM          send/receive mode
  405. 3/1  3/3      13         FEAM         format effector action mode
  406. 3/1  3/4      14         FETM         format effector transfer mode
  407. 3/1  3/5      15         MATM         multiple area transfer mode
  408. 3/1  3/6      16         TTM          transfer termination mode
  409. 3/1  3/7      17         SATM         selected area transfer mode
  410. 3/1  3/8      18         TSM          tabulation stop mode
  411. 3/1  3/9      19         EBM          editing boundary mode
  412. 3/1  3/10     1:                      reserved separator for parameters
  413. 3/1  3/11     1;                      Standard separator for parameters
  414. 3/1  3/12     1<                      error condition--unspecified recovery
  415. 3/1  3/13     1=                      error condition--unspecified recovery
  416. 3/1  3/14     1>                      error condition--unspecified recovery
  417. 3/1  3/15     1?                      error condition--unspecified recovery
  418. 3/2  3/0      20         LNM          linefeed/newline mode (not in ISO 6429)
  419. 3/2  3/1      21
  420.  .            .
  421.  .            .                       reserved for future standardization
  422.  .            .
  423. 3/9  3/9      99
  424.  
  425. 3/12 3/0      <0
  426.  .            .
  427.  .            .                       reserved for private (experimental) use
  428.  .            .
  429. 3/15 3/15     ??
  430.  
  431. v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
  432. ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
  433.  
  434. NOTES ON THE DEC VT100 IMPLEMENTATION
  435.  
  436. In the case of the popular DEC VT100 video-terminal implementation,
  437. the only mode that may be altered is the linefeed/newline (LNM) mode.
  438. Other modes are considered permanently set, reset, or not applicable
  439. as follows:
  440.  
  441.      Set:   ERM
  442.      Reset: CRM, EBM, FEAM, FETM, IRM, KAM, PUM, SRTM, TSM
  443.      N/A:   GATM, HEM, MATM, SATM, TTM, VEM
  444.  
  445. Control sequences implemented in the VT100 are as follows:
  446.  
  447.      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
  448.      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
  449.  
  450. plus several private DEC commands.
  451.  
  452. Erasing parts of the display (EL and ED) in the VT100 is performed thus:
  453.  
  454.      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
  455.      Erase from beginning of line to cursor     Esc [ 1 K
  456.      Erase line containing cursor               Esc [ 2 K
  457.      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
  458.      Erase from beginning of screen to cursor   Esc [ 1 J
  459.      Erase entire screen                        Esc [ 2 J
  460.  
  461. The VT100 responds to receiving the DA (Device Attributes) control
  462.  
  463.      Esc [ c    (or Esc [ 0 c)
  464.  
  465. by transmitting the sequence
  466.  
  467.      Esc [ ? l ; Ps c
  468.  
  469. where Ps is a character that describes installed options.
  470.  
  471. The VT100's cursor location can be read with the DSR (Device Status
  472. Report) control
  473.  
  474.      Esc [ 6 n
  475.  
  476. The VT100 reports by transmitting the CPR sequence
  477.  
  478.      Esc [ Pl ; Pc R
  479.  
  480. where Pl is the line number and Pc is the column number (in decimal).
  481.  
  482. v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
  483. ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
  484.  
  485. The complete document describing the standard,  "ANSI X3.64-1979:
  486. Additional Controls for Use with the American National Standard
  487. Code for Information Interchange," can be ordered for $13.50 (plus
  488. $4 postage) from
  489.  
  490.      Standards Sales Department
  491.      American National Standards Institute
  492.      1430 Broadway
  493.      New York, NY 10018
  494.      212/354-3300
  495.  
  496. It's best to read the full standard before using it. It also helps
  497. to have copies of the related standards "X3.4-1977: American
  498. National Standard Code for Information Interchange" (the ASCII
  499. standard) and "X3.41.1974: Code-Extension Techniques for Use with
  500. the 7-Bit Coded Character Set of American National Standard for
  501. Information Interchange."
  502.  
  503. See also the chapter "Using Extended Screens and Keyboard Control"
  504. in the IBM PC-DOS manuals (versions 2.0, 2.1, and 3.0), especially
  505. for the coding for character attributes.
  506.  
  507. The specification for the DEC VT100 is document EK-VT100-UG-003,
  508. available for $13.00 prepaid from:
  509.  
  510.      Digital Equipment Corporation
  511.      Accessories and Supplies Group
  512.      POB CS-2008
  513.      Nashua, NH 03061
  514.  
  515. (Copyright 1984 BYTE Publications, subsidiary of McGraw-Hill Inc.)
  516. (Permission granted to reproduce for noncommercial uses.)
  517.  
  518. v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
  519. ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
  520.  
  521. For more information on programming ANSI or VT-100 Emulations into your ACOS
  522. segments, call the Orient GS @ (416) 241-4360 in Toronto Ont. 14.4K USR 24Hrs.
  523. Good Luck in you ANSI programming... Pat..
  524.  
  525. v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
  526. ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
  527. now that everyone knows (maybe) how ansi is implemented, let's see some
  528. ANSI com programs..... and guyz: Lets make them ROM 3 compatable.......
  529.