]> git.ipfire.org Git - thirdparty/util-linux.git/blame - text-utils/colcrt.1
Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently
[thirdparty/util-linux.git] / text-utils / colcrt.1
CommitLineData
6dbe3af9
KZ
1.\" Copyright (c) 1980, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)colcrt.1 8.1 (Berkeley) 6/30/93
33.\"
8220d6ca
SK
34.TH COLCRT "1" "September 2011" "util-linux" "User Commands"
35.SH NAME
36colcrt \- filter nroff output for CRT previewing
37.SH SYNOPSIS
38.B colcrt
07990fdc
BS
39[options]
40.RI [ file ...]
8220d6ca
SK
41.SH DESCRIPTION
42.B colcrt
43provides virtual half-line and reverse line feed sequences for terminals
44without such capability, and on which overstriking is destructive.
45Half-line characters and underlining (changed to dashing `\-') are placed on
46new lines in between the normal output lines.
47.SH OPTIONS
48.TP
b06c1ca6 49\fB\-\fR, \fB\-\-no\-underlining\fR
8220d6ca
SK
50Suppress all underlining. This option is especially useful for previewing
51.I allboxed
6dbe3af9 52tables from
8220d6ca
SK
53.BR tbl (1).
54.TP
b06c1ca6 55\fB\-2\fR, \fB\-\-half\-lines\fR
6dbe3af9
KZ
56Causes all half-lines to be printed, effectively double spacing the output.
57Normally, a minimal space output format is used which will suppress empty
8220d6ca 58lines. The program never suppresses two consecutive empty lines, however.
6dbe3af9 59The
8220d6ca 60.B \-2
6dbe3af9
KZ
61option is useful for sending output to the line printer when the output
62contains superscripts and subscripts which would otherwise be invisible.
8220d6ca
SK
63.TP
64\fB\-V\fR, \fB\-\-version\fR
b4362b6f 65Display version information and exit.
8220d6ca
SK
66.TP
67\fB\-h\fR, \fB\-\-help\fR
b4362b6f 68Display help text and exit.
67e63c12
MK
69.SH HISTORY
70The
8220d6ca 71.B colcrt
67e63c12 72command appeared in 3.0BSD.
8220d6ca 73.SH BUGS
6dbe3af9 74Should fold underlines onto blanks even with the
8220d6ca
SK
75.B '\-'
76option so that a true underline character would show.
77.PP
6dbe3af9 78Can't back up more than 102 lines.
8220d6ca
SK
79.PP
80General overstriking is lost; as a special case '|' overstruck with '\-' or
81underline becomes '+'.
82.PP
6dbe3af9 83Lines are trimmed to 132 characters.
8220d6ca
SK
84.PP
85Some provision should be made for processing superscripts and subscripts in
86documents which are already double-spaced.
67e63c12
MK
87.SH EXAMPLE
88A typical use of
8220d6ca 89.B colcrt
67e63c12
MK
90would be:
91.PP
92.RS
93.B tbl exum2.n \&| nroff \-ms \&| colcrt \- \&| more
94.RE
ade04bb8
MK
95.SH SEE ALSO
96.BR col (1),
97.BR more (1),
98.BR nroff (1),
99.BR troff (1),
100.BR ul (1)
8220d6ca 101.SH AVAILABILITY
601d12fb 102The colcrt command is part of the util-linux package and is available from
d673b74e 103.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
8220d6ca
SK
104Linux Kernel Archive
105.UE .