User`s guide

Setting the UNIX System
________________________________________________________________
TCP/IP AXEL Platine Terminal 29
To switch scancode mode on or off, the ansi terminfo entry must include the
smsc and rmsc capabilities.
Create the ansi terminfo source file:
# cd /usr/lib/terminfo <RETURN>
# infocmp ansi > ansi.src <RETURN>
Add the following line to this file, at any position except the beginning or end of
the file:
smsc=\E[<0A, rmsc=\E[<1A, xonc=e, xoffc=g,
Exit from the editor and save these modifications, then enter the following
command at the UNIX prompt:
# tic ansi.src <RETURN>
This modified ANSI emulation will now support switching between ASCII and
scancode mode.
Note: the xonc and xoffc capabilities describe XPC handshaking. This form
of handshaking is not used with TCP/IP terminals.
To switch on scancode mode for a single session only, issue the following
commands at the UNIX prompt before beginning the session:
$ tput smsc ; stty isscancode xscancode <RETURN>
$ mapkey /usr/lib/keyboard/ps.ibm.ukd <RETURN>
Note: the mapkey command sets the keyboard language. The keyboard
language files are located in the /usr/lib/keyboard directory.
To switch on ASCII mode for a session, issue the following command from the
command line, prior to beginning the session:
$ tput rmsc ; stty -isscancode <RETURN>