]> git.ipfire.org Git - thirdparty/util-linux.git/blob - text-utils/colcrt.1
wipefs: add --lock and LOCK_BLOCK_DEVICE
[thirdparty/util-linux.git] / text-utils / colcrt.1
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 .\"
34 .TH COLCRT "1" "September 2011" "util-linux" "User Commands"
35 .SH NAME
36 colcrt \- filter nroff output for CRT previewing
37 .SH SYNOPSIS
38 .B colcrt
39 [options]
40 .RI [ file ...]
41 .SH DESCRIPTION
42 .B colcrt
43 provides virtual half-line and reverse line feed sequences for terminals
44 without such capability, and on which overstriking is destructive.
45 Half-line characters and underlining (changed to dashing `\-') are placed on
46 new lines in between the normal output lines.
47 .SH OPTIONS
48 .TP
49 \fB\-\fR, \fB\-\-no\-underlining\fR
50 Suppress all underlining. This option is especially useful for previewing
51 .I allboxed
52 tables from
53 .BR tbl (1).
54 .TP
55 \fB\-2\fR, \fB\-\-half\-lines\fR
56 Causes all half-lines to be printed, effectively double spacing the output.
57 Normally, a minimal space output format is used which will suppress empty
58 lines. The program never suppresses two consecutive empty lines, however.
59 The
60 .B \-2
61 option is useful for sending output to the line printer when the output
62 contains superscripts and subscripts which would otherwise be invisible.
63 .TP
64 \fB\-V\fR, \fB\-\-version\fR
65 Display version information and exit.
66 .TP
67 \fB\-h\fR, \fB\-\-help\fR
68 Display help text and exit.
69 .SH HISTORY
70 The
71 .B colcrt
72 command appeared in 3.0BSD.
73 .SH BUGS
74 Should fold underlines onto blanks even with the
75 .B '\-'
76 option so that a true underline character would show.
77 .PP
78 Can't back up more than 102 lines.
79 .PP
80 General overstriking is lost; as a special case '|' overstruck with '\-' or
81 underline becomes '+'.
82 .PP
83 Lines are trimmed to 132 characters.
84 .PP
85 Some provision should be made for processing superscripts and subscripts in
86 documents which are already double-spaced.
87 .SH EXAMPLE
88 A typical use of
89 .B colcrt
90 would be:
91 .PP
92 .RS
93 .B tbl exum2.n \&| nroff \-ms \&| colcrt \- \&| more
94 .RE
95 .SH SEE ALSO
96 .BR col (1),
97 .BR more (1),
98 .BR nroff (1),
99 .BR troff (1),
100 .BR ul (1)
101 .SH AVAILABILITY
102 The colcrt command is part of the util-linux package and is available from
103 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
104 Linux Kernel Archive
105 .UE .