Setting Terminal Characteristics

GT.M does not isolate its handling of terminal characteristics from the VMS environment at large. GT.M inherits the VMS terminal characteristics in effect at the time the GT.M image is invoked. Therefore, DCL SET TERMINAL commands that precede invocation of a GT.M image affect the way the terminal behaves initially. For more information on setting terminal characteristics, refer to the SET TERMINAL command in the OpenVMS DCL Dictionary.

However, if the process temporarily leaves the GT.M environment with a ZSYSTEM command or a $ZCALL() function, GT.M does not recognize any changes to the terminal characteristics left by the external environment. This may cause disparities between the physical behavior of the terminal, and the perceived behavior by GT.M.

VMS enforces standard device security for explicit OPENs of terminals other than the sign-in terminal (SYS$COMMAND). If you are unable to OPEN a terminal, contact your system manager.

Most terminal characteristics respond to deviceparameters on the USE command. Many $PRINCIPAL terminal characteristics modified by deviceparameters in GT.M persist after the GT.M image terminates.

USE of a terminal causes the device driver to flush the output buffer. This feature of the USE command provides routine control over the timing of output, which is occasionally required. However, it also means that redundant USE commands may induce an unnecessary performance penalty. Therefore, Sanchez Computer Associates recommends restricting USE commands to redirecting I/O, modifying deviceparameters, and initiating specifically required flushes.