tcl.term-type

Verb: Access/TCL, Releases: AP and R83

Sets terminal and printer characteristics automatically.

Description

reads the terminal and printer characteristics from a file and automatically sets them, or sets them and updates the permanent settings for the current line.

In AP, the 'pibs' file contains the parameters used by 'term-type'. The Update processor may be used to update the characteristics for each pib (port).

Under most AP/Unix implementations, pibs 'float'. This means that the same port is not always necessarily attached to the same Unix 'pid'. For this reason, the 'choose.term' program is provided with AP. This should be invoked from each user's logon macro. See the 'users' file.

In AP/Unix implementations, when 'term-type' is used without arguments, it does the usual 'term' setting for the current port by checking the port/control item in the 'dm,pibs,' file.

The item-id of the port/control item is the port.number for the current line. Attribute 2 of the port control item may contain a terminal name, as well as the appropriate 'term' characteristic parameters. If the item is found, and it contains a terminal name, it is assigned as the Pick term type. If there is no terminal name, the terminal name is obtained from the Unix environment variable, 'TERM'. An item with the same name must exist in the 'dm,pibs,' file. If attribute 2 contains terminal characteristics (such as the screen size, ...), but no terminal name, the terminal name is obtained from Unix and the new characteristics are applied.

If attribute 2 of the pibs file is empty, and either, it is not an AP/UNIX implementation, or the value of the TERM environment variable is not found in the devices file, then the terminal type of the previous logon to that pib is used. The terminal width is set to 79 and the depth to 24 regardless of what they were set to during the prior logon. If there were no prior logon or someone has done a reset-user on that pib then the term-type is determined by the first device compiled into the dict devices ccb item. Here also the default values for terminal width (79) and depth (24) are used.

Options

k Sets the keyboard input translation.
s Suppresses all output. Only available on releases of AP higher than 6.0.0 and AP/SINIX releases.

See Also

Command Name Type Description
tcl.set-term Verb: Access Sets default system terminal and printer characteristics.
tcl.termp Verb: Access Prompts for terminal or printer characteristics.
tcl.block-print Verb: Access Produces banner on crt or printer.
tcl.choose.term Verb: Access Selects terminal type.
tcl.setpib0 Verb: Access Resets port 0 terminal type.
tcl.term Verb: Access Displays or changes current terminal or printer characteristics.
filename.users Definition Description of the 'users' file.
tcl.mmvideo Verb: Access Utility to test memory mapped monitor.
tcl.system-coldstart Verb: Access Performs startup commands after booting Pick.
tcl.user-coldstart Verb: Access Invokes user-defined coldstart sequence.
tcl.list-pibs Verb: Access Sorts and displays information from pibs file.
filename.devices Definition Contains terminal & printer device drivers.
filename.pibs Definition Contains device specifications for each port.
tcl.set-imap Verb: Access Sets a input/output translation table.
filename.keyboards Definition Defines keyboard layouts.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.