TGAL Manual
OUTLEN Command
TGAL Commands
060865 Tandem Computers Incorporated 2–47
OUTLEN Command Use the OUTLEN command to control length of the output line, thus the right margin.
The OUTLEN command determines the line length for an entire page. If you do not
use this command, TGAL assumes that 70 is the width of your text.
TGAL only prints the number of characters specified in the OUTLEN command on
each EDIT line; the rest are ignored. Any line longer than the number or characters
specified generates an error message.
For example, if you specify OUTLEN 50, then all the lines in your EDIT file must have
no more than 50 characters. Any line with more than 50 characters is truncated to fit
within the specified margin. Lines with less than 50 characters print properly.
The syntax of the OUTLEN command is:
OUTLEN
number
number
is the maximum number of characters each line can contain. You can specify an
OUTLEN from 1 to 132.
Considerations
If TGAL output produced by the TAG, SEQ, and LINENO commands extends past
column 132, TGAL truncates that information without reporting an error. Usually,
the widest paper is 132 columns across.
TGAL allows output to be directed to a terminal without issuing a “LINE TOO
LONG” message when you specify an output line length longer than that specified
for the terminal at SYSGEN. The maximum line length that can be sent to the
terminal is 132 characters.
The OUTLEN command should precede all other commands, except the POFF
command or the NEW command.
You cannot specify more than one OUTLEN command for a single page. Any new
specification for OUTLEN must begin on a new page.
If you do not use this command, TGAL assumes:
OUTLEN 70
Example
This example shows using the OUTLEN command to set the line length for an entire
page. If a line is longer than the length specified by OUTLEN and you did not specify
the JOIN or TEXT commands then the line truncates and you receive an error message.
If you enter:
\OUTLEN 65