User`s guide
Setting the UNIX System
________________________________________________________________
28 TCP/IP AXEL Platine Terminal
If no TERM value is set through the TCP/IP Set-Up, or if the session is opened
via the TCP/IP Set-Up sequence ([Session]
[Open]), the TERM value
'negotiated' depends on the pre-defined set-up that has been selected:
- ANSI like pre-defined set-up: TERM=ANSI
- VT like pre-defined set-up: TERM=DEC-VT220
The TELNET protocol, which is used to first establish a connection, only
recognizes two values (both written in uppercase characters) for the TERM
variable. The values of TERM variables recognized by ALL hosts are listed in
RFC 930 and RFC 1060. The value sent by the Platine terminal to the host
must be chosen from this list.
Note: the operating system can modify the Telnet TERM value in some cases.
For example, IBM AIX converts 'ANSI' into 'ansi' and 'DEC-VT220' into 'vt220'
(termdef command), whereas SCO UNIX automatically converts character
strings to lowercase characters.
3.2.3 - Scancode Mode
A terminal
can have one of
two possible keyboard modes:
- ASCII mode: each key depressed and released generates one (or more)
characters sent to the application.
- Scancode mode: a scancode is associated with each key. This code is
sent to the application, once when a key is depressed and again when
the key is released.
The keyboard mode can either be set through the Platine’s Terminal Set-Up or
by an escape sequence.
The best way is for the operating system to set the keyboard mode (by an
escape sequence) because the terminal and the operating system must use
the same keyboard mode.
The two escape sequences are:
- ASCII mode:
Esc [<1A
- Scancode mode:
Esc [<0A
SCO UNIX 3.2v4 (and later) allows the use of scancode mode. So, the
following applies to scancode mode with SCO UNIX.