[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.3

1.3     ! aaron       1: .\"    $OpenBSD: colcrt.1,v 1.2 1996/06/26 05:32:11 deraadt 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
                     39: .Os BSD 3
                     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.3     ! aaron      49: .Nm colcrt
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.
                     53: Half-line characters and underlining (changed to dashing `\-')
                     54: are placed on new lines in between the normal output lines.
                     55: .Pp
                     56: Available options:
                     57: .Bl -tag -width Ds
                     58: .It Fl
                     59: Suppress all underlining.
                     60: This option is especially useful for previewing
                     61: .Em allboxed
                     62: tables from
                     63: .Xr tbl 1 .
                     64: .It Fl 2
                     65: Causes all half-lines to be printed, effectively double spacing the output.
                     66: Normally, a minimal space output format is used which will suppress empty
                     67: lines.
                     68: The program never suppresses two consecutive empty lines, however.
                     69: The
                     70: .Fl 2
                     71: option is useful for sending output to the line printer when the output
                     72: contains superscripts and subscripts which would otherwise be invisible.
                     73: .El
                     74: .Sh EXAMPLES
                     75: A typical use of
                     76: .Nm colcrt
                     77: would be
                     78: .Bd -literal
                     79: tbl exum2.n \&| nroff \-ms \&| colcrt \- \&| more
                     80: .Ed
                     81: .Sh SEE ALSO
1.3     ! aaron      82: .Xr col 1 ,
        !            83: .Xr more 1 ,
1.1       deraadt    84: .Xr nroff 1 ,
                     85: .Xr troff 1 ,
                     86: .Xr ul 1
                     87: .Sh BUGS
                     88: Should fold underlines onto blanks even with the
                     89: .Ql Fl
                     90: option so that
                     91: a true underline character would show.
                     92: .Pp
                     93: Can't back up more than 102 lines.
                     94: .Pp
                     95: General overstriking is lost;
                     96: as a special case
                     97: .Ql \&|
                     98: overstruck with
                     99: .Ql \-
                    100: or underline becomes
                    101: .Ql \&+ .
                    102: .Pp
                    103: Lines are trimmed to 132 characters.
                    104: .Pp
                    105: Some provision should be made for processing superscripts and subscripts
                    106: in documents which are already double-spaced.
                    107: .Sh HISTORY
                    108: The
                    109: .Nm
                    110: command appeared in
                    111: .Bx 3.0 .