TERMSET C-1





Copyright (C) 1994-95 Conetic Software Systems, Inc. All names, products, and services mentioned are the trademarks of their respective organizations.



NAME


termset - set terminal characteristics

SYNOPSIS


termset [-p] ['^X'] terminaltype

DESCRIPTION


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 -X (where X 
represents the character to be used in conjunction with the Control Key 
 as the 'delimiter' to termset) which is then used to proceed from 
one function definition to another.

FILES

/usr/cbase/lib/cbase/escape/*

SEE ALSO


escape(C-3), termparm(C-3)
Chapter 11, Creating Terminal Definitions.
C/Base Utilities Manual Chapter2, Terminal Independent I/O.