Commit | Line | Data |
---|---|---|
b5dc1377 | 1 | .\" Copyright (c) 1980, 1990 The Regents of the University of California. |
297a0a40 | 2 | .\" All rights reserved. |
d5baed0e | 3 | .\" |
b5dc1377 | 4 | .\" %sccs.include.redist.man% |
297a0a40 | 5 | .\" |
5325ced3 | 6 | .\" @(#)colcrt.1 6.6 (Berkeley) %G% |
d5baed0e | 7 | .\" |
b5dc1377 CL |
8 | .Dd |
9 | .Dt COLCRT 1 | |
10 | .OS BSD 3 | |
11 | .Sh NAME | |
12 | .Nm colcrt | |
13 | .Nd filter nroff output for CRT previewing | |
14 | .Sh SYNOPSIS | |
15 | .Nm colcrt | |
16 | .Op Fl | |
5325ced3 | 17 | .Op Fl \&2 |
b5dc1377 CL |
18 | .Ar |
19 | .Sh DESCRIPTION | |
20 | .Nm Colcrt | |
d5baed0e KM |
21 | provides virtual half-line and reverse line feed sequences |
22 | for terminals without such capability, and on which overstriking | |
23 | is destructive. | |
24 | Half-line characters and underlining (changed to dashing `\-') | |
25 | are placed on new lines in between the normal output lines. | |
b5dc1377 | 26 | .Pp |
5325ced3 | 27 | .Tw Ds |
b5dc1377 CL |
28 | .Tp Fl |
29 | Suppress all underlining. | |
d5baed0e | 30 | It is especially useful for previewing |
b5dc1377 | 31 | .Ar allboxed |
d5baed0e | 32 | tables from |
b5dc1377 CL |
33 | .Xr tbl 1 . |
34 | .Pp | |
35 | .Tp Fl 2 | |
36 | Causes all half-lines to be printed, effectively double spacing the output. | |
d5baed0e KM |
37 | Normally, a minimal space output format is used which will suppress empty |
38 | lines. | |
39 | The program never suppresses two consecutive empty lines, however. | |
40 | The | |
b5dc1377 | 41 | .Fl 2 |
d5baed0e KM |
42 | option is useful for sending output to the line printer when the output |
43 | contains superscripts and subscripts which would otherwise be invisible. | |
b5dc1377 CL |
44 | .Tp |
45 | .Pp | |
d5baed0e | 46 | A typical use of |
b5dc1377 | 47 | .Nm colcrt |
d5baed0e | 48 | would be |
b5dc1377 | 49 | .Pp |
5325ced3 | 50 | .Dl tbl exum2.n \&| nroff \-ms \&| colcrt \- \&| more |
b5dc1377 CL |
51 | .Sh SEE ALSO |
52 | .Xr nroff 1 , | |
53 | .Xr troff 1 , | |
54 | .Xr col 1 , | |
55 | .Xr more 1 , | |
56 | .Xr ul 1 | |
57 | .Sh HISTORY | |
58 | Appeared in 3 BSD. | |
59 | .Sh BUGS | |
d5baed0e | 60 | Should fold underlines onto blanks even with the |
5325ced3 | 61 | .Sq Fl |
d5baed0e KM |
62 | option so that |
63 | a true underline character would show; if we did this, however, | |
b5dc1377 | 64 | .Nm colcrt |
d5baed0e | 65 | wouldn't get rid of |
b5dc1377 | 66 | .Ar cu'd |
d5baed0e KM |
67 | underlining |
68 | completely. | |
b5dc1377 | 69 | .Pp |
d5baed0e | 70 | Can't back up more than 102 lines. |
b5dc1377 | 71 | .Pp |
d5baed0e | 72 | General overstriking is lost; |
922fc8ba | 73 | as a special case `\&|' overstruck with `\-' or underline becomes `+'. |
b5dc1377 | 74 | .Pp |
d5baed0e | 75 | Lines are trimmed to 132 characters. |
b5dc1377 | 76 | .Pp |
d5baed0e KM |
77 | Some provision should be made for processing superscripts and subscripts |
78 | in documents which are already double-spaced. |