LinuxCommandLibrary

colcrt

nroff output filter for terminal display

TLDR

Filter nroff output for terminal display

$ colcrt [file]
copy
Suppress underlining
$ colcrt -2 [file]
copy
Half-line handling
$ colcrt - [file]
copy
Process nroff output via pipe
$ nroff -man [man.1] | colcrt
copy

SYNOPSIS

colcrt [options] [file...]

DESCRIPTION

colcrt filters nroff output for CRT (terminal) preview. It handles reverse line feeds and translates underlines and half-line motions into forms suitable for terminal display.
The tool is primarily useful for previewing formatted man pages and other nroff output on terminals that cannot handle overstriking. It converts underlining to dashes on a separate line.

PARAMETERS

-

Print half-lines as full lines, useful for terminals without half-line capability.
-2
Suppress underlining entirely, printing only the text.

CAVEATS

Designed for older terminal handling. Modern terminals typically handle nroff output directly. Output may not preserve all formatting. Primarily historical utility.

HISTORY

colcrt is a traditional Unix utility dating back to BSD systems in the 1970s. It was created when terminals had varied capabilities and could not all handle the escape sequences in nroff output. Though rarely needed today, it remains in many Unix distributions.

SEE ALSO

nroff(1), col(1), ul(1), man(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community