home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / comm / misc / 009 / tech.ref < prev    next >
Encoding:
Text File  |  1993-06-14  |  40.9 KB  |  1,180 lines

  1.  
  2.  
  3.               Technical Reference
  4.  
  5.                    CONEX 6.2D
  6.  
  7.                Mon  06-14-1993    09:20:56
  8.  
  9.  
  10.                ┌───────────────────────┐
  11.                │  ┌─────────────────┐  │
  12.                │  │    ports        │  │
  13.                │  └─────────────────┘  │
  14.                └───────────────────────┘
  15.  
  16. COM
  17. ────────────────────────────────────────────────────────────────────
  18.  
  19.  - by default COM 1/3 use interrupt 4, COM 2/4 use interrupt 3
  20.  - base port registers are read from BIOS communication area
  21.    normally 03f8h is COM 1 and 02f8h is COM 2
  22.  
  23.  
  24. port *F8 - Transmit/Receive Buffer  (read/write)
  25.        Baud Rate Divisor LSB if bit 7 of LCR is set  (read/write)
  26.  
  27.  
  28. port *F9 - Interrupt Enable Register - IER  (read/write)
  29.        Baud Rate Divisor MSB if bit 7 of LCR is set  (read/write)
  30.  
  31.     │7│6│5│4│3│2│1│0│
  32.          │ │ │ └──── 1 = enable data available int
  33.          │ │ └───── 1 = enable THRE interrupt
  34.          │ └────── 1 = enable lines status interrupt
  35.          └─────── 1 = enable modem-status-change interrupt
  36.  
  37.  
  38.             Baud Rate Divisor Table
  39.  
  40.              Baud Rate                Baud Rate
  41.     Baud Rate          Divisor          Baud Rate      Divisor
  42.  
  43.        50           2304         2400        48
  44.        75           1536         3600        32
  45.       110           1047         4800        24
  46.       150        768         9600        12
  47.       200        576        19200         6
  48.       300        384        38400         3
  49.       600        192        57600         2
  50.      1200         96           115200         1
  51.      1800         64
  52.  
  53.  
  54. port *FA - Interrupt Identification Register - IIR  (read only)
  55.  
  56.     │7│6│5│4│3│2│1│0│  2FA, 3FA Interrupt ID Register
  57.      │ │ │ │ │ │ │ └──── 1 = no int. pending, 0=int. pending
  58.      │ │ │ │ │ └─┴───── Interrupt Id bits (see below)
  59.      │ │ │ │ └──────── 16550  1 = timeout int. pending, 0 for 8250/16450
  60.      │ │ └─┴───────── reserved (zero)
  61.      └─┴──────────── 16550    set to 1 if FIFO queues are enabled
  62.  
  63.     Bits
  64.      21      Meaning         Priority        To reset
  65.      00  modem-status-change      lowest      read MSR
  66.      01  transmit-register-empty  low      read IIR / write THR
  67.      10  data-available          high      read rec buffer reg
  68.      11  line-status          highest      read LSR
  69.  
  70.     - interrupt pending flag uses reverse logic, 0 = pending, 1 = none
  71.     - interrupt will occur if any of the line status bits are set
  72.     - THRE bit is set when THRE register is emptied into the TSR
  73.  
  74. Port *FA - 16550 FIFO Control Register - FCR  (write only)
  75.  
  76.     │7│6│5│4│3│2│1│0│  2FA, 3FA  FIFO Control Register
  77.      │ │ │ │ │ │ │ └──── 1 = enable clear XMIT and RCVR FIFO queues
  78.      │ │ │ │ │ │ └───── 1 = clear RCVR FIFO
  79.      │ │ │ │ │ └────── 1 = clear XMIT FIFO
  80.      │ │ │ │ └─────── 1 = change RXRDY & TXRDY pins from mode 0 to mode 1
  81.      │ │ └─┴──────── reserved (zero)
  82.      └─┴─────────── trigger level for RCVR FIFO interrupt
  83.  
  84.     Bits      RCVR FIFO
  85.      76    Trigger Level
  86.      00       1 byte
  87.      01       4 bytes
  88.      10       8 bytes
  89.      11      14 bytes
  90.  
  91.     - Bit 0 must be set in order to write to other FCR bits
  92.     - Bit 1 when set to 1 the RCVR FIFO is cleared and this bit is reset.
  93.       The receiver shift register is not cleared.
  94.     - Bit 2 when set to 1 the XMIT FIFO is cleared and this bit is reset.
  95.       The transmit shift register is not cleared.
  96.  
  97.  
  98. port *FB - Line Control Register - LCR    (read/write)
  99.  
  100.     │7│6│5│4│3│2│1│0│
  101.      │ │ │ │ │ │ └─┴──── word length select bits (see below)
  102.      │ │ │ │ │ └─────── 0 = 1 stop bit, 1 = 1.5 or 2  (see note)
  103.      │ │ │ │ └──────── 0 = no parity, 1 = parity (PEN)
  104.      │ │ │ └───────── 0 = odd parity, 1 = even (EPS)
  105.      │ │ └────────── 0 = parity disabled, 1 = enabled
  106.      │ └─────────── 0 = turn break off, 1 = force spacing break state
  107.      └──────────── 1 = baud rate divisor (DLAB)
  108.  
  109.        Bits
  110.     10     Word length bits
  111.     00 = 5 bits per character
  112.     01 = 6 bits per character
  113.     10 = 7 bits per character
  114.     11 = 8 bits per character
  115.  
  116.  
  117. port *FC - Modem Control Register - MCR  (read/write)
  118.  
  119.     │7│6│5│4│3│2│1│0│
  120.          │ │ │ └──── 1 = activate DTR
  121.          │ │ └───── 1 = activate RTS
  122.          │ └────── OUT1
  123.          └─────── OUT2
  124.  
  125.  
  126. port *FD - Line Status Register - LSR  (read only)
  127.  
  128.     │7│6│5│4│3│2│1│0│
  129.        │ │ │ │ │ │ └──── 1 = data ready
  130.        │ │ │ │ │ └───── 1 = overrun error (OE)
  131.        │ │ │ │ └────── 1 = parity error (PE)
  132.        │ │ │ └─────── 1 = framing error (FE)
  133.        │ │ └──────── 1 = break interrupt  (BI)
  134.        │ └───────── 1 = transmitter holding register empty (THRE)
  135.        └────────── 1 = transmitter shift register empty (TSRE)
  136.  
  137.  
  138. port *FE - Modem Status Register - MSR (read only)
  139.  
  140.     │7│6│5│4│3│2│1│0│
  141.      │ │ │ │ │ │ │ └──── 1 = DCTS  Delta CTS  (CTS changed) 
  142.      │ │ │ │ │ │ └───── 1 = DDSR  Delta DSR  (DSR changed)
  143.      │ │ │ │ │ └────── 1 = RI ring indicator changed
  144.      │ │ │ │ └─────── 1 = DDCD  Delta Data Carrier Detect (DCD changed)
  145.      │ │ │ └──────── 1 = CTS
  146.      │ │ └───────── 1 = DSR
  147.      │ └────────── 1 = ring indicator (RI)
  148.      └─────────── 1 = receive line signal detect
  149.  
  150.  
  151.  
  152.  
  153.  
  154. INT 14H
  155. ────────────────────────────────────────────────────────────────────
  156.  
  157. INT 14,0 - Initialize Communications Port Parameters
  158.  
  159.     AH = 00
  160.     AL = parms for initialization (see tables below)
  161.     DX = zero based serial port number (0-1) (0-3 for AT)
  162.  
  163.     │7│6│5│4│3│2│1│0│  AL               Parity (bits 4 & 3)
  164.      │ │ │ │ │ │ └─┴──── word length bits           00 = none
  165.      │ │ │ │ │ └─────── stop bits flag           01 = odd
  166.      │ │ │ └─┴──────── parity bits               10 = none
  167.      └─┴─┴─────────── baud rate bits           11 = even
  168.  
  169.        Word length (bits 1 & 0)        Stop bit count (bit 2)
  170.  
  171.        10 = 7 bits                  0 = 1 stop bit
  172.        11 = 8 bits                  1 = 2 stop bits
  173.  
  174.        Baud rate (bits 7, 6 & 5)
  175.  
  176.     000 = 110 baud        100 = 1200 baud
  177.     001 = 150 baud        101 = 2400 baud
  178.     010 = 300 baud        110 = 4800 baud
  179.     011 = 600 baud        111 = 9600 baud
  180.  
  181.  
  182.     on return:
  183.     AH = port status
  184.     AL = modem status
  185.  
  186.  
  187.  
  188. INT 14,1 - Send Character to Communications Port
  189.  
  190.     AH = 01
  191.     AL = character to send
  192.     DX = zero based serial port number (0-1) (0-3 for AT)
  193.  
  194.  
  195.     on return:
  196.     AH = port status
  197.          bit 7=0 indicates success
  198.          bit 7=1 indicates error, bits 0-6 indicate cause
  199.  
  200.  
  201. INT 14,2 - Receive Character from Communications Port
  202.  
  203.     AH = 02
  204.     DX = zero based serial port number (0-1) (0-3 for AT)
  205.  
  206.  
  207.     on return:
  208.     AH = port status
  209.          bit 7 = 0 if successful
  210.          bit 7 = 1 if call failed
  211.     AL = character received if call was success
  212.  
  213.  
  214. INT 14,3 - Get Serial Port Status
  215.  
  216.     AH = 03
  217.     DX = zero based serial port number (0-1) (0-3 for AT)
  218.  
  219.     on return:
  220.     AH = port status
  221.     AL = modem status
  222.  
  223.  
  224. INT 14,4 - Send Break (not part of BIOS)
  225.  
  226.     AH = 04
  227.  
  228.  
  229.  
  230.  
  231.  
  232.                ┌───────────────────────┐
  233.                │  ┌─────────────────┐  │
  234.                │  │  VT320 Commands │  │
  235.                │  └─────────────────┘  │
  236.                └───────────────────────┘
  237.  
  238.  
  239.     - VT100 commands are marked with (1)
  240.  
  241.  
  242. Cursor movement
  243. ────────────────────────────────────────────────────────────────────
  244. ESC [ <n> A        move cursor up <n> lines (1)
  245. ESC [ <n> B        move cursor down <n> lines (1)
  246. ESC [ <n> C        move cursor right <n> columns (1)
  247. ESC [ <n> D        move cursor left <n> columns (1)
  248. ESC [ <n> E        move cursor down <n> columns and to column 1
  249. ESC [ <n> F        move cursor up <n> lines and to column 1
  250. ESC [ <n> G        move cursor to column <n>
  251. ESC [ <l>;<c> H     = ESC [ <l>;<c> f (1)
  252. ESC [ <n> `        = ESC [ <n> G
  253. ESC [ <n> a        = ESC [ <n> C
  254. ESC [ <n> e        = ESC [ <n> A
  255. ESC [ <n> d        move cursor to line <n>
  256. ESC [ <l>;<c> f     move cursor to line <l> and column <c> (1)
  257.  
  258. ESC D            move cursor down one line with scroll (1)
  259. ESC E            move cursor to beginning of next line with scroll (1)
  260. ESC M            move cursor up one line with scroll (1)
  261. ESC 7            save cursor attributes (1)
  262. ESC 8            restore cursor attributes (1)
  263.  
  264.    - Normal screen size of an VT100 terminal is 24 lines X 80 columns.
  265.      The upper line in CONEX is used as status line, so that the cursor
  266.      position (line 1, column 1) gives (line 2, column 1) on screen.
  267.      The upper line cannot be referenced by any VT100 commands!
  268.  
  269.    - A missing number <n> is set to 0. Line 0, column 0 is equivalent to
  270.      line 1, column 1.
  271.  
  272. tabulators
  273. ────────────────────────────────────────────────────────────────────
  274. ESC H            set tab stop at cursor (1)
  275. ESC [ g
  276. ESC [ 0 g        delete tabulator at cursor position (1)
  277. ESC [ 3 g        clear all tab stops (1)
  278. ESC [ <n> I        move forward n tab stops
  279. ESC [ <n> Z        move backward n tab stops
  280.  
  281.    - tabulators are preset to positions 9, 17, 24 ...
  282.  
  283.  
  284. character attributes
  285. ────────────────────────────────────────────────────────────────────
  286. ESC [ m
  287. ESC [ 0 m        all character attributes off (1)
  288. ESC [ 1 m        bold on (1)
  289. ESC [ 4 m        underline on (1)
  290. ESC [ 5 m        blink on (1)
  291. ESC [ 7 m        reverse on (1)
  292. ESC [ 22 m        bold off
  293. ESC [ 24 m        underline off
  294. ESC [ 25 m        blink off
  295. ESC [ 27 m        reverse off
  296.  
  297. ESC [ <a1>;<a2>; ... m    set character attributes a1, a2 ...
  298.             (maximal 16 attributes) (1)
  299.  
  300.    - since characters cannot be underlined on color screens
  301.      they are displayed in special colors
  302.  
  303.  
  304. erase and insert characters
  305. ────────────────────────────────────────────────────────────────────
  306. ESC [ K
  307. ESC [ 0 K        erase from cursor position to end of line (1)
  308. ESC [ 1 K        erase from beginning of line to cursor position (1)
  309. ESC [ 2 K        erase entire line (1)
  310.  
  311. ESC [ J
  312. ESC [ 0 J        erase from cursor position to end of screen (1)
  313. ESC [ 1 J        erase from beginning of screen to cursor position (1)
  314. ESC [ 2 J        erase entire screen (1)
  315.  
  316. ESC [ <n> @             insert <n> blank characters beginning at cursor
  317. ESC [ <n> L             insert <n> lines at cursor position
  318. ESC [ <n> M             delete <n> lines at cursor
  319. ESC [ <n> P             delete <n> characters following cursor position
  320. ESC [ <n> X             erase <n> characters beginning at cursor
  321.  
  322.  
  323. modes
  324. ────────────────────────────────────────────────────────────────────
  325. ESC =                   set application keypad mode (1)
  326. ESC >            set numeric keypad mode (default) (1)
  327.  
  328.    - If the numeric keypad is activated, i.e. NUM LOCK is pressed,
  329.      numbers or control functions are generated by the numeric keypad.
  330.      (see table 2)
  331.  
  332. ESC SP G        set 8-bit transmission mode
  333. ESC SP F        set 7-bit transmission mode
  334.  
  335.  
  336. ESC [ ? 1 h             set cursor keys application mode (1)
  337. ESC [ ? 1 l        set cursor key mode (default) (1)
  338.  
  339.    - The cursor keys UP, DOWN, LEFT, RIGHT send different code according
  340.      to cursor key mode set. (see table 1)
  341.  
  342. ESC [ ? 6 h        relative origin mode (1)
  343. ESC [ ? 6 l        absolute origin mode (default) (1)
  344.  
  345.    - In absolute origin mode line numbers are counted relative to top
  346.      margin of screen, the cursor can be moved outside the scrolling
  347.      region. In relative mode line numbers are relative to top margin of
  348.      scrolling region and the cursor cannot be moved outside.
  349.  
  350. ESC [ ? 7 h        autowrap mode on (default) (1)
  351. ESC [ ? 7 l        autowrap mode off (1)
  352.  
  353.    - Characters at the end of line automatically wrap into the next line
  354.      if autowrap mode is on.
  355.  
  356. ESC [ 4 h        insert mode (1)
  357. ESC [ 4 l        overwrite mode (default) (1)
  358.  
  359.     - In Insert mode all characters from cursor position up to end of
  360.       line are move right by one place and the character is inserted.
  361.       The last character in line is always lost.
  362.  
  363. ESC [ 18 h        send FF after print screen (default)
  364. ESC [ 18 l        dont send FF after print screen
  365. ESC [ 19 h        Full screen print mode (default)
  366. ESC [ 19 l        Scrolling region print mode
  367.  
  368.     - Print full screen or scrolling region, when ESC [ 0 i is received.
  369.  
  370. ESC [ 38 h        Enter TEK mode (any ESC [ ... leaves TEK mode)
  371. ESC 1            = "ESC [ 38 h"
  372.  
  373. ESC [ <v>;<b> " p       Set terminal emulation
  374.             <v> = 61 VT100       <b> = 0/2  8 Bit
  375.                 = 62 VT220           = 1    7 Bit
  376.                 = 63 VT320
  377.  
  378.  
  379. terminal status report
  380. ────────────────────────────────────────────────────────────────────
  381. ENQ (^E)        return answerback message (defined in Alt-I)
  382.  
  383.  
  384. ESC [ c                 Primary device attributes request
  385. --> ESC [ ? 63;2 c    VT320 with printer
  386. --> ESC [ ? 62;2 c    VT220 with printer
  387. --> ESC [ ? 6 c     VT102
  388. --> ESC [ ? 1;2 c    VT100
  389.  
  390.     - the answer is selected from the setting in <Alt-M>
  391.  
  392.  
  393. ESC [ > c        Secondary device attributes request
  394. --> ESC [ > 24;0;0;0c    Current firmware revision
  395.  
  396.  
  397. ESC [ ? 15 n            request printer status
  398. --> ESC [ ? 10 n    if printer is ready
  399. --> ESC [ ? 11 n    if printer is not ready
  400.  
  401.     - original VT102 terminal also give the answer ESC [ ? 13 n =
  402.       printer not connected.
  403.  
  404.  
  405. ESC [ 5 n        request terminal status
  406. --> ESC [ 0 n        terminal is functioning and ready
  407.  
  408.  
  409. ESC [ 6 n               request cursor position
  410. --> ESC [ <l>;<c> R    return cursor line <l> and column <c>
  411.  
  412.  
  413. ESC [ ? 20 n        request function key definition lock
  414. --> ESC [ 20 n        key definition not locked
  415. --> ESC [ 21 n        key definition locked (not yet implemented!)
  416.  
  417.  
  418. ESC [ ? 26 n        request keyboard language
  419. --> ESC [  ? 27;<l> n    returns language <l>
  420.             This information is taken from
  421.             'country=' in config.sys.
  422.  
  423.  ┌───────────────────────┬────────────────────┬──────────────────────┐
  424.  │ <l> language      │ <l> language       │ <l> language         │
  425.  ├───────────────────────┼────────────────────┼──────────────────────┤
  426.  │  1  North America     │  7  German          │ 12  Swedish         │
  427.  │  2  British         │  8  Dutch          │ 13  Norwegian         │
  428.  │  3  Belgian (Flemish) │  9  Italian          │ 14  Belgian (French) │
  429.  │  4  French Canadian     │ 10  Swiss (French) │ 15  Spanish         │
  430.  │  5  Danish         │ 11  Swiss (German) │ 16  Portuguese         │
  431.  │  6  Finnish         │              │              │
  432.  └───────────────────────┴────────────────────┴──────────────────────┘
  433.  
  434.  
  435. printer control
  436. ────────────────────────────────────────────────────────────────────
  437. ESC [ 0 i        print screen or scrolling region (see ESC [ 19 h)
  438. ESC [ 4 i               disable transparent print mode
  439. ESC [ 5 i        enable transparent print mode
  440.  
  441.     - In transparent print mode all characters are directly transfered
  442.       to the printer, but not displayed on screen.
  443.  
  444. ESC [ ? 1 i             print cursor line
  445. ESC [ ? 4 i        disable auto print
  446. ESC [ ? 5 i        enable auto print
  447.  
  448.     - In auto print mode a line on display is printed out, whenever the
  449.       cursor is moved off a line using LF, FF, VT or wrapping past the right
  450.       margin. (Same as <Ctrl Printscreen>)
  451.  
  452.  
  453. scrolling region
  454. ────────────────────────────────────────────────────────────────────
  455. ESC [ <t>;<b> r     set scrolling region top row = <t>, bottom row = <b>
  456.             (1)
  457.  
  458.  
  459. character sets
  460. ────────────────────────────────────────────────────────────────────
  461. ESC <G> <        select multinational character set as <G>
  462. ESC <G> A        select UK character set as <G> (1)
  463. ESC <G> B        select ASCII character set as <G> (1)
  464. ESC <G> K        select German character set as <G>
  465. ESC <G> 0        select graphic character set as <G> (1)
  466.             where <G> = (  means G0
  467.                   = )  means G1
  468.                   = *  means G2
  469.                   = +  means G3
  470.  
  471. SI (^O)         Assign G0 character set to GL (1)
  472. SO (^N)         Assign G1 character set to GL (1)
  473. ESC ~            Assign G1 character set to GR
  474. ESC n            Assign G2 character set to GL
  475. ESC }            Assign G2 character set to GR
  476. ESC o            Assign G3 character set to GL
  477. ESC |            Assign G3 character set to GR
  478.  
  479.     - GL are characters from  32 to 127
  480.     - GR are characters from 160 to 254
  481.  
  482.  
  483.         ASCII, UK, German, graphic character set
  484.          ┌────────────┬─────────────┬─────────────────┐
  485.          │ Dec ASC UK │ Dec ASC Ger │ Dec ASC Ger Gph │
  486.          ├────────────┼─────────────┼─────────────────┤
  487.          │ 32      │ 64    @    │ 96  `          │
  488.          │ 33  !      │ 65    A    │ 97  a       ▒   │
  489.          │ 34  "      │ 66  B       │ 98  b          │
  490.          │ 35  #   £  │ 67    C    │ 99  c          │
  491.          │ 36  $      │ 68    D    │ 100 d          │
  492.          │ 37  %      │ 69    E    │ 101 e          │
  493.          │ 38  &      │ 70    F    │ 102 f       °   │
  494.          │ 39  '      │ 71  G       │ 103 g       ±   │
  495.          │ 40  (      │ 72    H    │ 104 h          │
  496.          │ 41  )      │ 73    I    │ 105 i          │
  497.          │ 42  *      │ 74    J    │ 106 j       ┘   │
  498.          │ 43  +      │ 75    K    │ 107 k       ┐   │
  499.          │ 44  ,      │ 76    L    │ 108 l       ┌   │
  500.          │ 45  -      │ 77    M    │ 109 m       └   │
  501.          │ 46  .      │ 78    N    │ 110 n       ┼   │
  502.          │ 47  /      │ 79    O    │ 111 o       ─   │
  503.          │ 48  0      │ 80    P    │ 112 p       ─   │
  504.          │ 49  1      │ 81    Q    │ 113 q       ─   │
  505.          │ 50  2      │ 82    R    │ 114 r       ─   │
  506.          │ 51  3      │ 83    S    │ 115 s       ─   │
  507.          │ 52  4      │ 84    T    │ 116 t       ├   │
  508.          │ 53  5      │ 85    U    │ 117 u       ┤   │
  509.          │ 54  6      │ 86    V    │ 118 v       ┴   │
  510.          │ 55  7      │ 87    W    │ 119 w       ┬   │
  511.          │ 56  8      │ 88    X    │ 120 x       │   │
  512.          │ 57  9      │ 89    Y    │ 121 y       ≤   │
  513.          │ 58  :      │ 90    Z    │ 122 z       ≥   │
  514.          │ 59  ;      │ 91    [   Ä    │ 123 {  ä    π   │
  515.          │ 60  <      │ 92    \   Ö    │ 124 |  ö    ╪   │
  516.          │ 61  =      │ 93    ]   Ü    │ 125 }  ü    £   │
  517.          │ 62  >      │ 94    ^    │ 126 ~  ß    ∙   │
  518.          │ 63  ?      │ 95    _    │ 127        │
  519.          └────────────┴─────────────┴─────────────────┘
  520.  
  521.  
  522.               Multinational/ISO character set
  523.    ┌─────────────────────────┬────────────────────┬───────────────────┐
  524.    │ dec    meaning         │ dec    meaning      │ dec    meaning    │
  525.    ├─────────────────────────┼────────────────────┼───────────────────┤
  526.    │ 160 ▓  fill character   │ 192 A  `A      │ 224 à  `a          │
  527.    │ 161 ¡  ! inverted         │ 193 A  'A          │ 225 á  'a         │
  528.    │ 162 ¢  cent sign         │ 194 A  ^A      │ 226 â  ^a          │
  529.    │ 163 £  pound sign         │ 195 A  ~A      │ 227 a  ~a          │
  530.    │ 164   sun (ISO)         │ 196 Ä  "A          │ 228 ä  "a         │
  531.    │ 165 ¥  Yen sign         │ 197 Å  °A      │ 229 å  °a          │
  532.    │ 166 |  vert. bar (ISO)  │ 198 Æ  AE      │ 230 æ  ae          │
  533.    │ 167   paragraph sign   │ 199 Ç  ,C      │ 231 ç  ,c          │
  534.    │ 168   sun          │ 200 E  `E      │ 232 è  `e          │
  535.    │ 169 C  Copyright symbol │ 201 É  'E          │ 233 é  'e         │
  536.    │ 170 ª  feminine ord.    │ 202 E  ^E      │ 234 ê  ^e          │
  537.    │ 171 «  <<             │ 203 E  "E          │ 235 ë  "e         │
  538.    │ 172 ¬  not sign (ISO)   │ 204 I  `I      │ 236 ì  `i          │
  539.    │ 173 ─  dash (ISO)         │ 205 I  'I          │ 237 í  'i         │
  540.    │ 174 R  registered (ISO) │ 206 I  ^I      │ 238 î  ^i          │
  541.    │ 175 -  hor. bar (ISO)   │ 207 I  "I          │ 239 ï  "i         │
  542.    │ 176 °  degree sign      │ 208 D  -D (ISO)      │ 240 d  d (ISO)    │
  543.    │ 177 ±  plus/minus         │ 209 Ñ  ~N      │ 241 ñ  ~n          │
  544.    │ 178 ²  superscript 2    │ 210 O  `O      │ 242 ò  `o          │
  545.    │ 179 ⁿ  superscript 3    │ 211 O  'O          │ 243 ó  'o         │
  546.    │ 180 '  ' (ISO)          │ 212 O  ^O          │ 244 ô  ^o         │
  547.    │ 181 µ  greek my         │ 213 O  ~O      │ 245 o  ~o          │
  548.    │ 182   paragraph P      │ 214 Ö  "O          │ 246 ö  "o         │
  549.    │ 183 ∙  center dot         │ 215 Ö  OE      │ 247 ö  oe          │
  550.    │ 184 ,  cedilla (ISO)    │ 216 φ  /O      │ 248 φ  /o          │
  551.    │ 185 ┐  upper 1         │ 217 U  `U      │ 249 ù  `u          │
  552.    │ 186 º  masculine ord.   │ 218 U  'U          │ 250 ú  'u         │
  553.    │ 187 »  >>             │ 219 U  ^U      │ 251 û  ^u          │
  554.    │ 188 ¼  1/4          │ 220 Ü  "U          │ 252 ü  "u         │
  555.    │ 189 ½  1/2          │ 221 Y  "Y          │ 253 ÿ  "y         │
  556.    │ 190 ¿  3/4 (ISO)         │ 222 P  Thorn (ISO) │ 254 P  thorn(ISO) │
  557.    │ 191 ¿  ? inverted         │ 223 ß  sharp s      │ 255 ÿ  "y (ISO)   │
  558.    └─────────────────────────┴────────────────────┴───────────────────┘
  559.  
  560.  
  561. 8-Bit Control Codes equivalence
  562. ────────────────────────────────────────────────────────────────────
  563. 132 = ESC D    Cursor down
  564. 133 = ESC E    Cursor to start of next line
  565. 136 = ESC H    Set tab stop at cursor pos
  566. 141 = ESC M    Cursor up
  567. 144 = ESC P    Introduce device control string
  568. 155 = ESC [    Introduce control sequence
  569. 156 = ESC \    End device control string
  570. 157 = ESC ]    Operating System Command (ignored up to 156)
  571. 158 = ESC ^    Privacy Message (ignored up to 156)
  572. 159 = ESC _    Application Program Command (ignored up to 156)
  573.  
  574.  
  575. keys
  576. ────────────────────────────────────────────────────────────────────
  577.  
  578.                  Function keys
  579.            ┌────────────┬──────────────┬────────────┐
  580.            │  original  │     IBM PC    │   sends    │
  581.            │  DEC key   │      key       │        │
  582.            ├────────────┼──────────────┼────────────┤
  583.            │ PF1 (1)    │ F1       │ ESC O P    │
  584.            │ PF2 (1)    │ F2       │ ESC O Q    │
  585.            │ PF3 (1)    │ F3       │ ESC O R    │
  586.            │ PF4 (1)    │ F4       │ ESC O S    │
  587.            │        │           │        │
  588.            │ F6        │ Shift F6       │ ESC [ 17 ~ │
  589.            │ F7        │ Shift F7       │ ESC [ 18 ~ │
  590.            │ F8        │ Shift F8       │ ESC [ 19 ~ │
  591.            │ F9        │ Shift F9       │ ESC [ 20 ~ │
  592.            │ F10        │ Shift F10    │ ESC [ 21 ~ │
  593.            │ F11        │ Alt F1       │ ESC [ 23 ~ │
  594.            │ F12        │ Alt F2       │ ESC [ 24 ~ │
  595.            │ F13        │ Alt F3       │ ESC [ 25 ~ │
  596.            │ F14        │ Alt F4       │ ESC [ 26 ~ │
  597.            │ Help        │ Alt F5 (F11) │ ESC [ 28 ~ │
  598.            │ Do        │ Alt F6 (F12) │ ESC [ 29 ~ │
  599.            │ F17        │ Alt F7       │ ESC [ 31 ~ │
  600.            │ F18        │ Alt F8       │ ESC [ 32 ~ │
  601.            │ F19        │ Alt F9       │ ESC [ 33 ~ │
  602.            │ F20        │ Alt F10       │ ESC [ 34 ~ │
  603.            └────────────┴──────────────┴────────────┘
  604.  
  605.  
  606.              Numerical keypad keys
  607.        ┌────────────┬────────┬─────────────┬─────────────┐
  608.        │ original    │ IBM PC │  sends in   │  sends in   │
  609.        │ DEC key    │ key on │  numerical  │ application │
  610.        │        │ keypad │ keypad mode │    mode     │
  611.        ├────────────┼────────┼─────────────┼─────────────┤
  612.        │ 0 (1)    │   0     │     0       │   ESC O p   │
  613.        │ 1 (1)    │   1     │     1       │   ESC O q   │
  614.        │ 2 (1)    │   2     │     2       │   ESC O r   │
  615.        │ 3 (1)    │   3     │     3       │   ESC O s   │
  616.        │ 4 (1)    │   4     │     4       │   ESC O t   │
  617.        │ 5 (1)    │   5     │     5       │   ESC O u   │
  618.        │ 6 (1)    │   6     │     6       │   ESC O v   │
  619.        │ 7 (1)    │   7     │     7       │   ESC O w   │
  620.        │ 8 (1)    │   8     │     8       │   ESC O x   │
  621.        │ 9 (1)    │   9     │     9       │   ESC O y   │
  622.        │ - (1)    │   -     │     -       │   ESC O m   │
  623.        │ , (1)    │   *     │     *       │   ESC O l   │
  624.        │ . (1)    │   .     │     .       │   ESC O n   │
  625.        │ Return (1) │   +     │     +       │   ESC O M   │
  626.        └────────────┴────────┴─────────────┴─────────────┘
  627.             NUMLOCK must be pressed!
  628.  
  629.  
  630.  
  631.                   Cursor keys
  632.        ┌────────────┬─────────┬───────────┬──────────────┐
  633.        │  original    │ IBM PC  │  cursor   │ application  │
  634.        │  DEC key    │  key      │   mode    │    mode      │
  635.        ├────────────┼─────────┼───────────┼──────────────┤
  636.        │  up (1)    │  up      │  ESC [ A  │   ESC O A    │
  637.        │  down (1)    │  down   │  ESC [ B  │   ESC O B    │
  638.        │  right (1) │  right  │  ESC [ C  │   ESC O C    │
  639.        │  left (1)    │  left   │  ESC [ D  │   ESC O D    │
  640.        └────────────┴─────────┴───────────┴──────────────┘
  641.  
  642.  
  643.                Edit keys (vt220)
  644.           ┌─────────────┬───────────┬───────────┐
  645.           │  original    │   IBM PC  │  sends    │
  646.           │  DEC key    │    key    │        │
  647.           ├─────────────┼───────────┼───────────┤
  648.           │ Find    │ End        │ ESC [ 1 ~ │
  649.           │ Insert Here │ Ins        │ ESC [ 2 ~ │
  650.           │ Remove    │ Del        │ ESC [ 3 ~ │
  651.           │ Select    │ Home        │ ESC [ 4 ~ │
  652.           │ Prev Scrn    │ PgUp        │ ESC [ 5 ~ │
  653.           │ Next Scrn    │ PgDn        │ ESC [ 6 ~ │
  654.           │ Shift Tab    │ Shift Tab │ ESC [ Z    │
  655.           └─────────────┴───────────┴───────────┘
  656.  
  657.  
  658.  
  659.  
  660.          ┌───────────────────────────────────┐
  661.          │ ┌───────────────────────────────┐ │
  662.          │ │  Tektronix 4010/4014 Commands │ │
  663.          │ └───────────────────────────────┘ │
  664.          └───────────────────────────────────┘
  665.  
  666.  
  667. ESC 2
  668. ESC [ ...        - Exit Tektronix mode
  669. ────────────────────────────────────────────────────────────────────
  670.  
  671.     Any VT320 sequence, starting with "ESC [" leaves tektronix mode
  672.     and is executed in text mode.
  673.  
  674.  
  675. RS P1           - Draw point P1 at (x,y)
  676. ────────────────────────────────────────────────────────────────────
  677.  
  678.  
  679. FS P1 P2 P3 ...    - Draw line from point P1 to P2 to P3 ...
  680. ────────────────────────────────────────────────────────────────────
  681.  
  682.  
  683.          P1, P2, P3 consist of the following 4/5 bytes
  684.  
  685.     Highy        │7│6│5│4│3│2│1│0│
  686.              │ │ │ │ │ │ │ └── Bit 7 of y
  687.              │ │ │ │ │ │ └─── Bit 8 of y
  688.              │ │ │ │ │ └──── Bit 9 of y
  689.              │ │ │ │ └───── Bit 10 of y
  690.              │ │ │ └────── Bit 11 of y
  691.              │ │ └─────── 1 always
  692.              │ └──────── 0 always
  693.              └───────── 0 always
  694.  
  695.     Extra        │7│6│5│4│3│2│1│0│    if tektronix 4014
  696.              │ │ │ │ │ │ │ └── Bit 0 of x
  697.              │ │ │ │ │ │ └─── Bit 1 of x
  698.              │ │ │ │ │ └──── Bit 0 of y
  699.              │ │ │ │ └───── Bit 1 of y
  700.              │ │ │ └────── 0 always
  701.              │ │ └─────── 1 always
  702.              │ └──────── 1 always
  703.              └───────── 0 always
  704.  
  705.     Lowy        │7│6│5│4│3│2│1│0│
  706.              │ │ │ │ │ │ │ └── Bit 2 of y
  707.              │ │ │ │ │ │ └─── Bit 3 of y
  708.              │ │ │ │ │ └──── Bit 4 of y
  709.              │ │ │ │ └───── Bit 5 of y
  710.              │ │ │ └────── Bit 6 of y
  711.              │ │ └─────── 1 always
  712.              │ └──────── 1 always
  713.              └───────── 0 always
  714.  
  715.     Highx        │7│6│5│4│3│2│1│0│
  716.              │ │ │ │ │ │ │ └── Bit 7 of x
  717.              │ │ │ │ │ │ └─── Bit 8 of x
  718.              │ │ │ │ │ └──── Bit 9 of x
  719.              │ │ │ │ └───── Bit 10 of x
  720.              │ │ │ └────── Bit 11 of x
  721.              │ │ └─────── 0 always
  722.              │ └──────── 1 always
  723.              └───────── 0 always
  724.  
  725.     Lowx        │7│6│5│4│3│2│1│0│
  726.              │ │ │ │ │ │ │ └── Bit 2 of x
  727.              │ │ │ │ │ │ └─── Bit 3 of x
  728.              │ │ │ │ │ └──── Bit 4 of x
  729.              │ │ │ │ └───── Bit 5 of x
  730.              │ │ │ └────── Bit 6 of x
  731.              │ │ └─────── 0 always
  732.              │ └──────── 1 always
  733.              └───────── 0 always
  734.  
  735.  
  736.    - Parts of the points P1, P2 ... must be transmitted in the sequence
  737.      Highy, Extra, Lowy, Highx and Lowx. If some coordinates of P2
  738.      remain the same as in P1, they can be dropped according to the
  739.      following scheme:
  740.  
  741.       ┌──────────┐ ┌────────────┬────────────┬────────────┐
  742.     ──┤      ├─┤           \│/        /│\       ├── Lowx
  743.       └─ Highy ──┘ └── Extra ───┴─── Lowy ───┴─── Highx ──┘
  744.  
  745.  
  746.      i.e. (Highy, Lowx), (Extra, Lowy, Lowx), (Highy, Lowy, Highx, Lowx)
  747.      are legal definitions of points.
  748.  
  749.    - In Tektronix 4010 emulation the extra byte is omitted.
  750.  
  751.  
  752. ESC ENQ        - Enquire for terminal status
  753. ────────────────────────────────────────────────────────────────────
  754.  
  755.     ALPHA MODE - send back (status byte, alpha cursor position, GIN
  756.          terminator)
  757.  
  758.     GRAPH MODE - send back (status byte, graphic cursor position, GIN
  759.          terminator)
  760.  
  761.     GIN MODE   - send back (crosshair position, GIN terminator) and
  762.          leave GIN mode
  763.  
  764.  
  765.     status byte    │7│6│5│4│3│2│1│0│
  766.              │ │ │ │ │ │ │ └── 1 always
  767.              │ │ │ │ │ │ └─── margin (0 or 1)
  768.              │ │ │ │ │ └──── mode (0=alpha, 1=graph)
  769.              │ │ │ │ └───── 0 always
  770.              │ │ │ └────── 0 always (configured printer?)
  771.              │ │ └─────── 1 always
  772.              │ └──────── 0 always
  773.              └───────── 0 always
  774.  
  775.  
  776.     cursor position (4 bytes)
  777.  
  778.     highy        │7│6│5│4│3│2│1│0│
  779.              │ │ │ │ │ │ │ └── Bit 7 of y
  780.              │ │ │ │ │ │ └─── Bit 8 of y
  781.              │ │ │ │ │ └──── Bit 9 of y
  782.              │ │ │ │ └───── Bit 10 of y
  783.              │ │ │ └────── Bit 11 of y
  784.              │ │ └─────── 1 always
  785.              │ └──────── 0 always
  786.              └───────── 0 always
  787.  
  788.  
  789.     lowy        │7│6│5│4│3│2│1│0│
  790.              │ │ │ │ │ │ │ └── Bit 2 of y
  791.              │ │ │ │ │ │ └─── Bit 3 of y
  792.              │ │ │ │ │ └──── Bit 4 of y
  793.              │ │ │ │ └───── Bit 5 of y
  794.              │ │ │ └────── Bit 6 of y
  795.              │ │ └─────── 1 always
  796.              │ └──────── 0 always
  797.              └───────── 0 always
  798.  
  799.     highx        │7│6│5│4│3│2│1│0│
  800.              │ │ │ │ │ │ │ └── Bit 7 of x
  801.              │ │ │ │ │ │ └─── Bit 8 of x
  802.              │ │ │ │ │ └──── Bit 9 of x
  803.              │ │ │ │ └───── Bit 10 of x
  804.              │ │ │ └────── Bit 11 of x
  805.              │ │ └─────── 1 always
  806.              │ └──────── 0 always
  807.              └───────── 0 always
  808.  
  809.     lowx        │7│6│5│4│3│2│1│0│
  810.              │ │ │ │ │ │ │ └── Bit 2 of x
  811.              │ │ │ │ │ │ └─── Bit 3 of x
  812.              │ │ │ │ │ └──── Bit 4 of x
  813.              │ │ │ │ └───── Bit 5 of x
  814.              │ │ │ └────── Bit 6 of x
  815.              │ │ └─────── 1 always
  816.              │ └──────── 0 always
  817.              └───────── 0 always
  818.  
  819.     GIN terminator
  820.  
  821.         none    - end GIN mode = 0 (default)
  822.         CR        - end GIN mode = 1
  823.         CR, EOT - end GIN mode = 2
  824.  
  825.     - end GIN mode can be set in conex.ini
  826.  
  827.  
  828. ESC FF           - Clear screen
  829. ────────────────────────────────────────────────────────────────────
  830.  
  831.  
  832. ESC SUB        - Enter GIN (graphical input) mode
  833. ────────────────────────────────────────────────────────────────────
  834.  
  835.     - crosshair is displayed, which can be moved by cursor keys or
  836.       mouse
  837.  
  838.     - When a character is pressed, it will be transmitted including
  839.       crosshair position and GIN mode is left.
  840.  
  841.     CHAR, crosshair position, GIN terminator
  842.  
  843.     CHAR        character pressed on keyboard
  844.  
  845.  
  846.  
  847. ESC ` ... e       - Select line drawing type
  848. ────────────────────────────────────────────────────────────────────
  849.  
  850.     line type
  851. ESC `    ───────────────-
  852. ESC a    - - - - - - - -
  853. ESC b    ───-    ───-
  854. ESC c    ────- - ────- -
  855. ESC d    ─────────-  ─-
  856. ESC e    ──────    -  -  -
  857.  
  858.  
  859.  
  860.                ┌───────────────────────┐
  861.                │ ┌───────────────────┐ │
  862.                │ │ Programmable keys │ │
  863.                │ └───────────────────┘ │
  864.                └───────────────────────┘
  865.  
  866.  
  867.                   Control keys
  868.       ┌───────────┬────────────┬────────────┬────────────┐
  869.       │ NUL  0 ^@ │ BS.   8 ^H │ DLE  16 ^P │ CAN  24 ^X │
  870.       │ SOH  1 ^A │ HT.   9 ^I │ DC1  17 ^Q │ EM.  25 ^Y │
  871.       │ STX  2 ^B │ LF.  10 ^J │ DC2  18 ^R │ SUB  26 ^Z │
  872.       │ ETX  3 ^C │ VT.  11 ^K │ DC3  19 ^S │ ESC  27 ^[ │
  873.       │ EOT  4 ^D │ FF.  12 ^L │ DC4  20 ^T │ FS.  28 ^\ │
  874.       │ ENQ  5 ^E │ CR.  13 ^M │ NAK  21 ^U │ GS.  29 ^] │
  875.       │ ACK  6 ^F │ SO.  14 ^N │ SYN  22 ^V │ RS.  30 ^^ │
  876.       │ BEL  7 ^G │ SI.  15 ^O │ ETB  23 ^W │ US.  31 ^_ │
  877.       └───────────┴────────────┴────────────┴────────────┘
  878.  
  879.  
  880.  
  881.                  Numerical keys
  882.          ┌────────┬─────────┬───────────┬────────────┐
  883.          │          │ + Shift │ + Control │    + Alt     │
  884.          ├────────┼─────────┼───────────┼────────────┤
  885.              │ NK*  * │         │ ^N*  *    │ @N*  *     │
  886.              │ NK+  + │ #N+  +  │ ^N+  +    │ @N+  +     │
  887.              │ NK-  - │ #N-  -  │ ^N-  -    │ @N-  -     │
  888.          │ NK.  . │     │ ^N/  /    │ @N/  /     │
  889.          │ NK1  1 │     │        │ @NE  Enter │
  890.          │ NK2  2 │     │        │         │
  891.              │ NK3  3 │         │           │            │
  892.              │ NK4  4 │         │           │            │
  893.              │ NK5  5 │ #N5  5  │ ^N5  5    │            │
  894.              │ NK6  6 │         │           │            │
  895.              │ NK7  7 │         │           │            │
  896.              │ NK8  8 │         │           │            │
  897.              │ NK9  9 │         │           │            │
  898.          └────────┴─────────┴───────────┴────────────┘
  899.  
  900.  
  901.                   Cursor keys
  902.   ┌────────────────┬──────────────┬────────────────┬────────────────┐
  903.   │           │    + Shift   │    + Control   │    + Alt        │
  904.   ├────────────────┼──────────────┼────────────────┼────────────────┤
  905.   │ DN.  down       │ #DN  down      │ ^DN  down       │ @DN  down        │
  906.   │ UP.  up       │ #UP  up      │ ^UP  up       │ @UP  up        │
  907.   │ LT.  left       │ #LT  left      │ ^LT  left       │ @LT  left        │
  908.   │ RT.  right       │ #RT  right   │ ^RT  right       │ @RT  right     │
  909.   │ PDN  page down │ #PD  page dn │ ^PD  page down │ @PD  page down │
  910.   │ PUP  page up   │ #PU  page up │ ^PU  page up   │ @PU  page up   │
  911.   │ HOM  home       │ #HM  home      │ ^HM  home       │ @HM  home        │
  912.   │ END  end       │ #ED  end      │ ^ED  end       │ @ED  end        │
  913.   │ INS  insert    │ #IN  insert  │ ^IN  insert    │ @IN  insert    │
  914.   │ DEL  delete    │ #DL  delete  │ ^DL  delete    │ @DL  delete    │
  915.   │                │ #TB  tab     │ ^TB  tab       │ @TB  tab       │
  916.   │           │          │ ^PS  print scn │ @ES  escape    │
  917.   │ BS.  backspace │          │           │ @BS  backspace │
  918.   │                │              │                │ @CR  CR        │
  919.   └────────────────┴──────────────┴────────────────┴────────────────┘
  920.  
  921.  
  922.  
  923.                 Alt combinations
  924.      ┌────────────┬────────────┬────────────┬────────────┐
  925.      │ @-A    alt+A │ @-J  alt+J │ @-S  alt+S │ @-1  alt+1 │
  926.      │ @-B    alt+B │ @-K  alt+K │ @-T  alt+T │ @-2  alt+2 │
  927.      │ @-C    alt+C │ @-L  alt+L │ @-U  alt+U │ @-3  alt+3 │
  928.      │ @-D    alt+D │ @-M  alt+M │ @-V  alt+V │ @-4  alt+4 │
  929.      │ @-E    alt+E │ @-N  alt+N │ @-W  alt+W │ @-5  alt+5 │
  930.      │ @-F    alt+F │ @-O  alt+O │ @-X  alt+X │ @-6  alt+6 │
  931.      │ @-G    alt+G │ @-P  alt+P │ @-Y  alt+Y │ @-7  alt+7 │
  932.      │ @-H    alt+H │ @-Q  alt+Q │ @-Z  alt+Z │ @-8  alt+8 │
  933.      │ @-I    alt+I │ @-R  alt+R │ @-0  alt+0 │ @-9  alt+9 │
  934.      └────────────┴────────────┴────────────┴────────────┘
  935.  
  936.  
  937.  
  938.                  Function keys
  939.          ┌──────────┬──────────┬───────────┬──────────┐
  940.          │        │ + Shift  │ + Control │  + Alt   │
  941.          ├──────────┼──────────┼───────────┼──────────┤
  942.          │ F01  F1    │ #F1  F1  │ ^F1  F1   │ @F1  F1  │
  943.          │ F02  F2    │ #F2  F2  │ ^F2  F2   │ @F2  F2  │
  944.          │ F03  F3    │ #F3  F3  │ ^F3  F3   │ @F3  F3  │
  945.          │ F04  F4    │ #F4  F4  │ ^F4  F4   │ @F4  F4  │
  946.          │ F05  F5    │ #F5  F5  │ ^F5  F5   │ @F5  F5  │
  947.          │ F06  F6    │ #F6  F6  │ ^F6  F6   │ @F6  F6  │
  948.          │ F07  F7    │ #F7  F7  │ ^F7  F7   │ @F7  F7  │
  949.          │ F08  F8    │ #F8  F8  │ ^F8  F8   │ @F8  F8  │
  950.          │ F09  F9    │ #F9  F9  │ ^F9  F9   │ @F9  F9  │
  951.          │ F10  F10 │ #10  F10 │ ^10  F10  │ @10  F10 │
  952.          │ F11  F11 │ #11  F11 │ ^11  F11  │ @11  F11 │
  953.          │ F12  F12 │ #12  F12 │ ^12  F12  │ @12  F12 │
  954.          └──────────┴──────────┴───────────┴──────────┘
  955.  
  956.  
  957.  
  958.               Init session string
  959.           ┌────────────────┬────────────────┐
  960.           │ IN0  session 0 │ IN5  session 5 │
  961.           │ IN1  session 1 │ IN6  session 6 │
  962.           │ IN2  session 2 │ IN7  session 7 │
  963.           │ IN3  session 3 │ IN8  session 8 │
  964.           │ IN4  session 4 │ IN9  session 9 │
  965.           └────────────────┴────────────────┘
  966.  
  967.  
  968.  
  969.              ┌──────────────────────────┐
  970.              │    ┌─────────────────────┐ │
  971.              │    │ Format of CONEX.INI │ │
  972.              │    └─────────────────────┘ │
  973.              └──────────────────────────┘
  974.  
  975.  
  976. Format of input parameters in CONEX.INI
  977.  
  978. 234    - decimal number (default = 0)
  979. $234    - hexadecimal number (default = 0)
  980. 'a      - ASCII character "a"
  981. "abc"   - string of characters
  982.  
  983.  - The version number of the INI-file must exactly correspond to version
  984.    number of CONEX, otherwise it will be ignored (gives a warning).
  985.  
  986.  - Parameters always follow a section header, (esp. "Common
  987.    parameters"), which must exactly be written as indicated.
  988.    If a section header is not found, default values will be taken.
  989.  
  990.  - Parameters must be seperated with ",", the number of fields should
  991.    exactly correspond to the number of parameters of the specified
  992.    section.
  993.  
  994.  - Empty fields are interpreted as 0 in case of a number or as an empty
  995.    string.
  996.  
  997.  - Blanks and carriage returns outside of parameters are ignored.
  998.  
  999.  - Parameter types can be mixed, i.e. "abcd"$66 103"g"'h gives "abcdefgh".
  1000.  
  1001.  - Parameters in the INI-file are not checked for consistencies, so be
  1002.    cautious, if you alter the INI-file directly. Most parameters in
  1003.    CONEX.INI can be set in CONEX itself and saved by ALT-S.
  1004.  
  1005.  
  1006. CONEX 6.2D
  1007.  
  1008. Common parameters
  1009. ────────────────────────────────────────────────────────────────────
  1010.   # meaning
  1011.  
  1012.   1 Color: Normal character (bright white on blue)
  1013.   2 Color: Bold character (light green on blue)
  1014.   3 Color: Underlined character (bright white on red)
  1015.   4 Color: Bold and underline character (light green on red)
  1016.   5 Color: Error messages at bottom of screen (blinking yellow on red)
  1017.   6 Color: Normal character in status line (black on white)
  1018.   7 Color: Highlighted character in status line (black on white)
  1019.   8 Color: Macro display in status line (blinking black on white)
  1020.   9 Color: Normal character in help menu (black on green)
  1021.  10 Color: Highlighted character in help menu (bright white on green)
  1022.  11 Color: Chapters in help menu (light green on green)
  1023.  12 Color: Normal character in windows (black on cyan)
  1024.  13 Color: Highlighted character in windows (yellow on black)
  1025.  14 Color: Instruction line at bottom of line (black on cyan)
  1026.  15 Color: Shadow of window (white on black)
  1027.  16 Color: Normal character in listing window (black on green)
  1028.  17 Color: Highlighted characters in listing window (yellow on black)
  1029.  18 Color: Number of bytes in listing window (light green on green)
  1030.  19 Color: Normal character in file transfer mode (bright white on magenta)
  1031.  20 Color: Highlighted character in file transfer mode (yellow on magenta)
  1032.  
  1033.   - Colors can be input as a hexadecimal number as follows:
  1034.     i.e. $51 means "blue on magenta" ($01 on $50)
  1035.  
  1036.        ┌────────────────────────┬──────────────────────┐
  1037.        │  background color        │  foreground color    │
  1038.        ├────────────────────────┼──────────────────────┤
  1039.        │  $00 black         │  $00 black       │
  1040.        │  $10 blue            │  $01 blue        │
  1041.        │  $20 green         │  $02 green       │
  1042.        │  $30 cyan            │  $03 cyan        │
  1043.        │  $40 red            │  $04 red           │
  1044.        │  $50 magenta        │  $05 magenta       │
  1045.        │  $60 brown         │  $06 brown       │
  1046.        │  $70 white         │  $07 white       │
  1047.        ├────────────────────────┼──────────────────────┤
  1048.        │  $80 black blinking    │  $08 grey        │
  1049.        │  $90 blue blinking     │  $09 light blue       │
  1050.        │  $a0 green blinking    │  $0a light green       │
  1051.        │  $b0 cyan blinking     │  $0b light cyan       │
  1052.        │  $c0 red blinking        │  $0c light red       │
  1053.        │  $d0 magenta blinking  │  $0d light magenta   │
  1054.        │  $e0 brown blinking    │  $0e yellow       │
  1055.        │  $f0 white blinking    │  $0f bright white    │
  1056.        └────────────────────────┴──────────────────────┘
  1057.  
  1058.  
  1059.  21 Graphic card (not used, self detected)
  1060.  22 Plot size (0=DIN A4, 1=DIN A3)
  1061.  23 Plot aspect
  1062.  24 Plot margin in mm
  1063.  25 Plot velocity (0 ... 9 = 0 ... 40)
  1064.  26 Insert option when entering strings in windows (0=overwrite, 1=insert)
  1065.  27 Append file with Alt-W (0=overwrite, 1=append)
  1066.  28 Quote character for character with bit 8 set in kermit protocol
  1067.  29 Repeat character in kermit protocol
  1068.  30 Help page (0=version/author, 1=default keys, 2=user defined
  1069.     keys)
  1070.  31 Reserved
  1071.  32 Number of lines per page on printer output
  1072.  
  1073.  33 IO address of COM1 (0=read from BIOS, $3f8=normal value)
  1074.  34 IO address of COM2 (0=read from BIOS, $2f8=normal value)
  1075.  35 IO address of COM3 (0=read from BIOS, I don't know the normal value)
  1076.  36 IO address of COM4 (0=read from BIOS, I don't know the normal value)
  1077.  37 Interrupt number of COM1 (0=not present, 4=default)
  1078.  38 Interrupt number of COM2 (0=not present, 3=default)
  1079.  39 Interrupt number of COM3 (0=not present, 4=default)
  1080.  40 Interrupt number of COM4 (0=not present, 3=default)
  1081.  
  1082.  41 Rotate interrupt controller priority (0=interrupts from serial line
  1083.     are served last (default), 1=interrupts from serial line are served
  1084.     first) only if port=COM
  1085.  42 automatically read ini file (0 = no, 1 = yes)
  1086.  43 host table name (only BW/TCP)
  1087.  !  end of section
  1088.  
  1089.  
  1090. Session dependent parameters
  1091. ────────────────────────────────────────────────────────────────────
  1092.  
  1093.   1 Host name (max. 16 bytes)
  1094.   2 Prompt (max 16 bytes)
  1095.   3 Answer back message (max 20 bytes)
  1096.   4 Port (0=COM, 1=Int14, 2=LAT, 3=PC/TCP, 4=BW/TCP, 5=Netbios)
  1097.   5 Port number (1 - 4)
  1098.   6 Baud rate (0=50, 1=75, 2=110, 3=150, 4=200, 5=300, 6=600, 7=1200,
  1099.     8=1800, 9=2400, 10=3600, 11=4800, 12=9600, 13=19200, 14=38400,
  1100.     15=57600, 16=115200)
  1101.   7 Bits/parity (0=7 none, 1=7 even, 2=7 odd, 3=7 mark, 4=8 none,
  1102.     5=8 even, 6=8 odd)
  1103.   8 Number of stop bits (0=1, 1=2)
  1104.   9 Duplex (0=half, 1=full)
  1105.  10 Protocol (0=none, 1=hardware, 2=xon/xoff)
  1106.  
  1107.  11 Outbound kermit packets: packet length
  1108.  12 Outbound kermit packets: time out
  1109.  13 Outbound kermit packets: number of padding characters
  1110.  14 Outbound kermit packets: padding character
  1111.  15 Outbound kermit packets: EOL character
  1112.  16 Outbound kermit packets: quote control characters
  1113.  17 Outbound kermit packets: 8th bit quote character (0 = not activated)
  1114.  18 Outbound kermit packets: checksum type (0=1, 1=2, 2=3 bytes CRC)
  1115.  19 Outbound kermit packets: quote of repeat character
  1116.  20 Outbound kermit packets: window size
  1117.  
  1118.  21 Inbound kermit packets: packet length
  1119.  22 Inbound kermit packets: time out (not used)
  1120.  23 Inbound kermit packets: number of padding characters
  1121.  24 Inbound kermit packets: padding character
  1122.  25 Inbound kermit packets: end of packet character
  1123.  26 Inbound kermit packets: control bit quote character
  1124.  27 Inbound kermit packets: 8th bit quote character (0 = not activated)
  1125.  28 Inbound kermit packets: checksum type
  1126.  29 Inbound kermit packets: repeat character (0 = not activated)
  1127.  30 Inbound kermit packets: window size
  1128.  
  1129.  31 Kermit mode: maximal number of retries
  1130.  
  1131.  32 Break length (Alt-B)
  1132.  
  1133.  33 Emulation (0=none, 1=VT100, 2=VT102, 3=VT220, 4=VT320)
  1134.  34 Bits (0=7-Bit, 1=8-Bit emulation)
  1135.  35 Status line type (ALT-L)
  1136.  36 Graphic enabled (ALT-G)
  1137.  37 End GIN mode (0=none, 1=CR, 2=CR,EOT)
  1138.  38 Active character set 1 (0=US, 1=UK, 2=German, 3=graphic, 4=multinational,
  1139.                                  5=user)
  1140.  39 Active character set 2 (0=US, 1=UK, 2=German, 3=graphic, 4=multinational,
  1141.                                  5=user)
  1142.  40 Telnet port (default 23)
  1143.  41 Telnet connection timeout in millisec
  1144.  
  1145.  !  end of section
  1146.  
  1147.   - Parameters (1 - 41 !) must be repeated for every session (10 times)
  1148.  
  1149.  
  1150. Keyboard translation
  1151. ────────────────────────────────────────────────────────────────────
  1152.                 ─┐
  1153.   1 Key to be redefined ()   │
  1154.   2 Label of key         ├─ repeat this part for every key definition
  1155.   3 New definition of key    │
  1156.   ! end of key definition    │
  1157.                 ─┘
  1158.   ! end of keyboard translation section
  1159.  
  1160.  
  1161. Dial sequence
  1162. ────────────────────────────────────────────────────────────────────
  1163.  
  1164.   1 Prefix to dial number
  1165.   2 Suffix to dial number
  1166.   3 Messages returned by modem seperated with |
  1167.        1st part = answer if connected
  1168.     all other parts = answer if connection failed
  1169.   ! end of section
  1170.  
  1171.   - parameter 1 and 2 may contain <W...> or <R...> commands.
  1172.  
  1173.  
  1174. User defined character set
  1175. ────────────────────────────────────────────────────────────────────
  1176.   1 String with character map from 32 to 127. (Alt-M, char set 1: User)
  1177.   2 String with character map from 160 to 255. (Alt-M, char set 2: User)
  1178.   ! end of section
  1179.  
  1180.