[BACK]Return to colcrt.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / colcrt

Annotation of src/usr.bin/colcrt/colcrt.1, Revision 1.5

1.5     ! aaron       1: .\"    $OpenBSD: colcrt.1,v 1.4 1999/06/05 01:21:21 aaron Exp $
1.1       deraadt     2: .\"    $NetBSD: colcrt.1,v 1.3 1995/03/26 05:30:59 glass Exp $
                      3: .\"
                      4: .\" Copyright (c) 1980, 1990, 1993
                      5: .\"    The Regents of the University of California.  All rights reserved.
                      6: .\"
                      7: .\" Redistribution and use in source and binary forms, with or without
                      8: .\" modification, are permitted provided that the following conditions
                      9: .\" are met:
                     10: .\" 1. Redistributions of source code must retain the above copyright
                     11: .\"    notice, this list of conditions and the following disclaimer.
                     12: .\" 2. Redistributions in binary form must reproduce the above copyright
                     13: .\"    notice, this list of conditions and the following disclaimer in the
                     14: .\"    documentation and/or other materials provided with the distribution.
                     15: .\" 3. All advertising materials mentioning features or use of this software
                     16: .\"    must display the following acknowledgement:
                     17: .\"    This product includes software developed by the University of
                     18: .\"    California, Berkeley and its contributors.
                     19: .\" 4. Neither the name of the University nor the names of its contributors
                     20: .\"    may be used to endorse or promote products derived from this software
                     21: .\"    without specific prior written permission.
                     22: .\"
                     23: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     24: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     25: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     26: .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     27: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     28: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     29: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     30: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     31: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     32: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     33: .\" SUCH DAMAGE.
                     34: .\"
                     35: .\"     @(#)colcrt.1   8.1 (Berkeley) 6/30/93
                     36: .\"
                     37: .Dd June 30, 1993
                     38: .Dt COLCRT 1
1.4       aaron      39: .Os
1.1       deraadt    40: .Sh NAME
                     41: .Nm colcrt
                     42: .Nd filter nroff output for CRT previewing
                     43: .Sh SYNOPSIS
                     44: .Nm colcrt
                     45: .Op Fl
                     46: .Op Fl \&2
                     47: .Op Ar
                     48: .Sh DESCRIPTION
1.5     ! aaron      49: .Nm
1.1       deraadt    50: provides virtual half-line and reverse line feed sequences
                     51: for terminals without such capability, and on which overstriking
                     52: is destructive.
1.4       aaron      53: Half-line characters and underlining (changed to dashing
                     54: .Sq - )
1.1       deraadt    55: are placed on new lines in between the normal output lines.
                     56: .Pp
                     57: Available options:
                     58: .Bl -tag -width Ds
                     59: .It Fl
                     60: Suppress all underlining.
                     61: This option is especially useful for previewing
                     62: .Em allboxed
                     63: tables from
                     64: .Xr tbl 1 .
                     65: .It Fl 2
                     66: Causes all half-lines to be printed, effectively double spacing the output.
                     67: Normally, a minimal space output format is used which will suppress empty
                     68: lines.
                     69: The program never suppresses two consecutive empty lines, however.
                     70: The
                     71: .Fl 2
                     72: option is useful for sending output to the line printer when the output
                     73: contains superscripts and subscripts which would otherwise be invisible.
                     74: .El
                     75: .Sh EXAMPLES
                     76: A typical use of
1.5     ! aaron      77: .Nm
1.1       deraadt    78: would be
                     79: .Bd -literal
                     80: tbl exum2.n \&| nroff \-ms \&| colcrt \- \&| more
                     81: .Ed
                     82: .Sh SEE ALSO
1.3       aaron      83: .Xr col 1 ,
                     84: .Xr more 1 ,
1.1       deraadt    85: .Xr nroff 1 ,
                     86: .Xr troff 1 ,
                     87: .Xr ul 1
                     88: .Sh BUGS
                     89: Should fold underlines onto blanks even with the
                     90: .Ql Fl
                     91: option so that
                     92: a true underline character would show.
                     93: .Pp
                     94: Can't back up more than 102 lines.
                     95: .Pp
                     96: General overstriking is lost;
                     97: as a special case
1.4       aaron      98: .Ql |
1.1       deraadt    99: overstruck with
1.4       aaron     100: .Ql -
1.1       deraadt   101: or underline becomes
1.4       aaron     102: .Ql + .
1.1       deraadt   103: .Pp
                    104: Lines are trimmed to 132 characters.
                    105: .Pp
                    106: Some provision should be made for processing superscripts and subscripts
                    107: in documents which are already double-spaced.
                    108: .Sh HISTORY
                    109: The
                    110: .Nm
1.4       aaron     111: command appeared in
1.1       deraadt   112: .Bx 3.0 .