home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / texts / txtfiles_misc / terminaltype.text < prev    next >
Text File  |  1995-07-10  |  9KB  |  217 lines

  1.  
  2.                    //======================================\\
  3.                    ||  A Summary of Common Terminal Types, ||
  4.                    ||  including automatic detection       ||
  5.                    ||  algorithms, by Light Ray.           ||
  6.                    \\======================================//
  7.  
  8.  +-------------------------------+
  9.  | Coverage                      |
  10.  +-------------------------------+
  11.  
  12.  ANSI................How to autodetect
  13.  AVATAR..............History, Complete Specs, How to Autodetect
  14.  CBM.................Request for Information
  15.  LVI.................Brief Intro, How to autodetect, Color Changing
  16.  NAPLPS..............Request for Information
  17.  RIP.................Brief Intro, How to autodetect
  18.  VT100...............Request for Information
  19.  
  20.  +-------------------------------+
  21.  | Conventions                   |
  22.  +-------------------------------+
  23.  
  24.  A two digit number in angle brackets refers to the ASCII symbol with that
  25.  ordinal value.  For example, <65> refers to ASCII character 65, the letter
  26.  "A".  If there is a two digit number followed by an "H", then that number
  27.  is in Hexidecimal (base 16).  If there is a letter preceded by a carrot
  28.  in angle brackets, such as <^V>, it refers to a control character. 
  29.  <^V> refers to CONTROL-V.  Since V is the 22nd letter of the alphabet, <^V>
  30.  is therefor equivelent to <22>.
  31.  
  32.  Standard IBM Color Codes are as follows:
  33.  
  34.   00 - BLACK       01 - NAVY BLUE       02 - GREEN       03 - CYAN
  35.   04 - RED         05 - MAGENTA         06 - ORANGE      07 - GRAY
  36.  
  37.  Add eight for high intensity (foreground only, usually)
  38.  
  39.  Standard IBM Video Attributes are calculated as follows:
  40.  
  41.    (Foreground IBM Color Code) + ( (Background IBM Color Code) * 16 )
  42.  
  43.  +-------------------------------+
  44.  | LVI: The Last Video Interface |
  45.  +-------------------------------+
  46.  
  47.  Short Name...LVI
  48.  Long Name....Last Video Interface
  49.  Designer.....John Bushnell
  50.  Specs........"LVI CODES" in LVI.DOC by "Byron"
  51.  Contact......Inphase BBS (714) 492-3804  [currently down]
  52.  Used By......LCOM (terminal), Sterling BBS, TobinTech products
  53.  Usage........Free, unrestricted  
  54.  
  55.  LVI is a terminal type that is extremely uncommon, but highly advanced,
  56.  with many usefull features.  LVI is fast and efficient.  It includes
  57.  commands for quick color changes, scrolling, compression, and doing things
  58.  that would normally require direct access to video memory, which is not
  59.  normally available over a serial cable.
  60.  
  61.  Changing color is done by sending a <29>[Standard IBM Video Attribute]
  62.  
  63.  For example, changing to high intensity white on blue background is
  64.  done as follows:  <29><(7 + 8) + (1 * 16)>, which is <29><31>
  65.  
  66.  To detect LVI, send <28><86>.  The terminal program should reply
  67.  with <28><118><a><b><c><d><e> and possibly more data, depending on the
  68.  value of <e>.  This command reports the display parameters on the terminal
  69.  side.  For complete information, see the LVI specification.
  70.                                  
  71.  +-------------------------------+
  72.  |          A V A T A R          |
  73.  +-------------------------------+
  74.  
  75.  Short Name...AVATAR
  76.  Long Name....Advanced Video Attribute Terminal Assembler and Recreator
  77.  Designer.....Wynn Wagner III
  78.  Specs........Fidonet Document FSC-0025.TXT by George A. Stanislav
  79.  Contact......1:129/39 
  80.  Used By......Fairly Common
  81.  Usage........Free, unrestricted  
  82.  Formerly.....oANSI
  83.  
  84.  Avatar was originally NOT meant to be a terminal emulation.  Rather, it
  85.  was a method of storing colorized text for the Opus-CBCS.  Then, George
  86.  Stanislav implemented support for it in TinyTerm and suggested the name
  87.  and acronym of "AVATAR" to Wynn.  Wynn accepted and the Avatar Terminal
  88.  emulation was born. This simple, unidirectional form of AVATAR is known
  89.  as AVATAR 0+.  It is promised that one day we will get the next version
  90.  of AVATAR,  which will  include full  error  correction, an exchange of
  91.  terminal  specifications  and  support,  caller information, etc, which 
  92.  will be neat if it ever comes into existence, which is doubtfull.
  93.  
  94.  Unfortunately,  Avatar  0+  is unidirectional.   The client never sends 
  95.  any information back to the server.      Thus, autodection of Avatar 0+ 
  96.  support seems impossible at first.  However, most if not all terminals
  97.  that support Avatar support ANSI simultaneously.
  98.  
  99.  Here's  the  theory.   We send an ANSI Get Cursor Position command and
  100.  record the result.  Then we send an AVATAR move cursor command.  Then
  101.  we use ANSI to see if the cursor position has changed the way it should.
  102.  If it has, then AVATAR is present.  Pretty tricky, huh?
  103.  
  104.  Avatar 0+ Commands are:
  105.  
  106.   <^L>         -  Clear Screen
  107.   
  108.   <^Y><xx><yy> -  Repeat character <xx> yy times.  <^Y><65><12> would 
  109.                   cause the letter A to be printed 12 times.
  110.  
  111.   <^V><^A><xx> -  Set the video attribute to <xx>, same as the LVI 
  112.                   command <29><xx>
  113.  
  114.   <^V><^B>     -  Turn Blink On
  115.  
  116.   <^V><^C>     -  Move cursor one line up, do nothing if can go no further
  117.  
  118.   <^V><^D>     -  Move cursor one line down,    " " " " " " "
  119.  
  120.   <^V><^E>     -  Move cursor one column left,  " " " " " " "
  121.  
  122.   <^V><^F>     -  Move cursor one column right, " " " " " " "
  123.   
  124.   <^V><^H><x><y>  Move cursor to column <x>, row <y>
  125.  
  126.  +-------------------------------+
  127.  |          A N S I              |
  128.  +-------------------------------+
  129.  
  130.  Short Name...ANSI X6.41 or something like that
  131.  Long Name....American National Standards Institute - - - - - - - -
  132.  Designer.....American National Standards Institute
  133.  Specs........ANSI X6.41 (?) someone confirm, please
  134.  Contact......American National Standards Institute
  135.  Used By......Extremely Common, especially in IBM compatible machines
  136.  Usage........Free, unrestricted (?)
  137.  
  138.  Any BBS user knows about "ANSI."   Actually, fairly little of the 
  139.  ANSI terminal specification is actually used by BBS's and terminals.
  140.  If anyone could get me the actual specification, I'd appreciate it.
  141.  
  142.  I'll write about ANSI when I get really bored.  For now, look in your
  143.  DOS online help or something.
  144.  
  145.  ANSI is a pain to program because it uses the following form:
  146.  
  147.               <27>[(arg1);(arg2);(argn)(command)
  148.  
  149.  There can be zero to infinite arguments. They are literal ascii numeric
  150.  strings, separated by semicolons.  The command is the first character
  151.  that is not in the set [ <27> 0..9 ; ].
  152.  
  153.  AUTODETECTION.  To detect an ANSI compatible terminal, send the ANSI
  154.  command to get the current cursor position, which is <29><91><54><110>,
  155.  which is "n".  The remote terminal will reply with the following
  156.  string: <27><91>(y)<59>(x)<82>, which looks like "11R" if ANSI
  157.  is present.
  158.  
  159.  +-------------------------------+
  160.  |      R I P s c r i p          |
  161.  +-------------------------------+
  162.  
  163.  Short Name...RIP or RIPscrip
  164.  Long Name....Remote Imaging Protocol
  165.  Designer.....Telegrafix Corporation
  166.  Specs........See Note
  167.  Contact......Telegrafix Corporation, Telegrafix BBS
  168.  Used By......Terminals: RIPterm, QModemPro, ACom, LiveWire
  169.  Used By......BBS:       MajorBBS, SearchLight, and others
  170.  Usage........See Note
  171.  
  172.  RIP is an imaging protocol, supporting GRAPHICS and MICE.
  173.  
  174.  Until version 2.00 of the RIP specification, usage of RIP including use
  175.  and development of terminals and servers was free.  However, beginning
  176.  with 2.00, users must license the specifications from Telegrafix.
  177.    
  178.    +----------------------------------+   Previous versions of RIP support
  179.    | TeleGrafix Communications, Inc.  |   EGA graphics, mice, and buttons.
  180.    | 16458 Bolsa Chica #15            |   Starting in version 2.00 is the
  181.    | Huntington Beach, CA  92649      |   support for VGA graphics up to
  182.    |                                  |   16.7 million colors, JPeG 
  183.    | VOICE: (714) 379-2131            |   graphics and more.  RIP is not
  184.    | FAX  : (714) 379-2132            |   entirely backwards compatible.
  185.    | DATA : (714) 379-2133            |   This lack of backwards
  186.    +----------------------------------+   compatibility and the large 
  187.                                           fees being charged may lead to
  188.   the downfall of RIP.  Right now, it's not very popular.
  189.  
  190.   To autodetect RIP, send <27><91><33>, which is "!".  If RIP is present,
  191.   the terminal will reply with RIPSCRIPxxyyzzz, where the version of RIPscrip
  192.   supported by the terminal is xx.yy.zzz.
  193.  
  194.   +------------------------------+  
  195.   |         N A P L P S          |  
  196.   +------------------------------+
  197.                                       If anyone could send me information
  198.   +------------------------------+
  199.   |         V T - 1 0 0          |    relating to these or other terminal
  200.   +------------------------------+
  201.                                       emulations, it would be greatly
  202.   +------------------------------+
  203.   |         C B M                |    appreciated.
  204.   +------------------------------+
  205.  
  206.  
  207.  
  208.   +------------------------------+
  209.   | Contacting Light Ray         |
  210.   +------------------------------+
  211.  
  212.   I may be contacted at 50:100/500@rgsn (rgsn), 66:714/10@dna (dna-net),
  213.   or dr261@cleveland.freenet.edu on the internet.  My BBS phone number
  214.   is (714) 586-6142, up to 28800bps.
  215.  
  216.   Light Ray
  217.