termset - set terminal characteristics
termset [-p] ['^X'] terminaltype
Termset is used to describe or modify terminal escape sequences received
from or sent to a particular terminal type. Termset interactively builds
a table of terminal escape sequences and stores the table in a file in
the directory /usr/cbase/lib/cbase/escape. The file has the same name as
the terminaltype argument. If the terminaltype file exists when termset
starts, the program asks for changes to the existing terminal definitions.
If the file does not exist, termset creates it and asks for the escape
sequences of the new terminal. The escape sequence file created by termset
is used by escape(C-3) and getkey(C-3) to provide a method of using CRT
terminals in a terminal independent manner.
There are three parts to defining a new terminal type using termset.
The first part defines escape sequences sent to the computer by the terminal
when a particular key is pressed. The second part defines escape sequences
to be sent to the terminal by the computer when a particular function is
desired. The third part describes various terminal characteristics. A
more complete description of the operation of termset can be found in
the C/Base Utilities Manual Chapter 2, Terminal Independent I/O.
If the -p flag is used, termset lists on the standard output the escape
sequences for the existing terminaltype specified.
If the "X" flag is used, the delimiter is set to
represents the character to be used in conjunction with the Control Key
one function definition to another.
Chapter 11, Creating Terminal Definitions.
C/Base Utilities Manual Chapter2, Terminal Independent I/O.