colcrt - filter nroff output for CRT previewing
| Use Case | Command | Description |
|---|---|---|
| Filter nroff output for CRT preview | tbl exum2.n | nroff -ms | colcrt - | more | Typical pipeline to preview formatted man pages |
| Suppress underlining | colcrt - or colcrt --no-underlining | Useful for previewing allboxed tables from tbl(1) |
| Double space output (preserve half-lines) | colcrt -2 or colcrt --half-lines | Useful for line printer output with superscripts/subscripts |
| Display version | colcrt -V or colcrt --version | Show version info |
| Display help | colcrt -h or colcrt --help | Show help text |
colcrt [options] [file ...]
colcrt provides virtual half-line and reverse line feed sequences for terminals without such capability, and on which overstriking is destructive. Half-line characters and underlining (changed to dashing `-') are placed on new lines in between the normal output lines.
-, --no-underlining β π Suppress all underlining. This option is especially useful for previewing allboxed tables from tbl(1).-2, --half-lines β βοΈ Causes all half-lines to be printed, effectively double spacing the output. Normally, a minimal space output format is used which will suppress empty lines. The program never suppresses two consecutive empty lines, however. The -2 option is useful for sending output to the line printer when the output contains superscripts and subscripts which would otherwise be invisible.-V, --version β βΉοΈ Display version information and exit.-h, --help β β Display help text and exit.The colcrt command appeared in 3.0BSD.
A typical use of colcrt would be:
tbl exum2.n | nroff -ms | colcrt - | more
col(1), more(1), nroff(1), troff(1), ul(1)
For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.
The colcrt command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-16 09:27 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)