col(1) DG/UX 4.30 col(1)
NAME
col - filter reverse line-feeds
SYNOPSIS
col [ -bfpx ]
DESCRIPTION
Col reads from the standard input and writes onto the
standard output. It performs the line overlays implied by
reverse line feeds (ASCII code ESC-7), and by forward and
reverse half-line feeds (ESC-9 and ESC-8). Col is
particularly useful for filtering multicolumn output made
with the .rt command of nroff and output resulting from the
tbl(1) preprocessor.
Options are:
-b No backspacing. If two or more characters are to
appear in the same place, only the last one read
will be output.
-f Fine-adjust half-line motions. Although col accepts
half-line forward motions in its input, it outputs
them as full-line motions unless you specify -f.
Reverse half-line motions (and all other reverse
line motions) are still ignored.
-x Do not convert white space to tabs on output.
Normally col converts blank areas to tab sequences.
-p Output escape sequences as regular characters.
Without this option, col will ignore any unknown
escape sequences found in its input. Don't use this
option unless you know the textual position of the
escape sequences.
Col assumes that the ASCII control characters SO (\016) and
SI (\017) start and end text in an alternate character set.
The character set to which each input character belongs is
remembered, and on output SI and SO characters are generated
to ensure that each character is printed in the correct set.
On input, the only control characters accepted are space,
backspace, tab, return, new-line, SI, SO, VT (\013), and ESC
followed by 7, 8, or 9. The VT character is an alternate
form of full reverse line-feed, included for compatibility
with some earlier programs of this type. All other non-
printing characters are ignored.
SEE ALSO
nroff(1), tbl(1). Using the Documenter's Tool Kit on the
DG/UX System. Documenter's Tool Kit Technical Summary for
Licensed material--property of copyright holder(s) Page 1
col(1) DG/UX 4.30 col(1)
the DG/UX System.
NOTES
The input format accepted by col matches the output produced
by nroff with the -Tlp option. The -T37 switch is not
implemented in DG/UX.
BUGS
Col cannot back up more than 128 lines.
It allows at most 800 characters, including backspaces, on a
line.
Local vertical motions that would result in backing up over
the first line of the document are ignored. As a result,
the first line must not have any superscripts.
Licensed material--property of copyright holder(s) Page 2