Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

TERM (Command)

The TERM command enables users to specify different terminal types to handle terminal characteristics.

 

COMMAND SYNTAX

TERM {type | parameters}

 

SYNTAX ELEMENTS

type specifies the terminal type. The type must be one of the terminal types defined in the terminfo database. If you wish to specify a known terminal type, e.g. vt220, as a different name, then this can be achieved by linking the new name, e.g. V, to the terminfo entry for vt220.

parameters are specified as follows:

tlength, tdepth, reserved, reserved, reserved, reserved, plength, pdepth.

where:

tlength
terminal line length
tdepth
terminal display lines per page
plength
printer line length
pdepth
printer display lines per page
reserved
reserved for future use

 

NOTES

An SP-ASSIGN may result in the printer line length and lines per page being reset because of the WIDTH and DEPTH parameters associated with the specified queue's formtype.

 

EXAMPLE

TERM vt220

Terminal characteristics for terminfo type vt220 are envoked.

 

TERM 132,,,,,,112,30

The terminal line length is set to 132 columns, any paged output to the printer will be formatted into 112 columns and 30 lines per page.


Was this article helpful?