A. Defining Your Terminal : How to Define Your Terminal : Define Your Terminal (UNIX)
Share this page                  
Define Your Terminal (UNIX)
To define your terminal in UNIX, select the appropriate command for your shell.
For the C shell:
setenv TERM_INGRES termname
For the Bourne shell:
where termname is the designation for your terminal type, as listed in Terminal Names (see page Terminal Names).
For example, if you have a VT100 terminal, and you want to be able to use the arrow keys as cursor movement keys and the keypad keys as definable function keys, the list under Terminal Names tells you that vt100i is the proper designation. To define your terminal accordingly to Ingres, enter one of the following commands:
C shell:
setenv TERM_INGRES vt100i
Bourne shell:
Thereafter, you can use the VT100 default assignment of keys for cursor movement and executing forms commands in Ingres.
The vt100nk is another terminal designation available for VT100 terminals. This terminal designation is particularly suited to applications that require use of the keypad for numeric input. This designation gives the user access to the arrow keys and the top four function keys on the numeric keypad. The other keys on the keypad are available for numeric input.
If your UNIX system provides full support for VT220 terminals, you can define a VT220 terminal as vt220 and use the VT220 keystrokes. Some UNIX systems do not provide full support for VT220 terminals. In this case, you must set a VT220 terminal to emulate a VT100, using the VT100 keystrokes, as discussed previously.