386BSD 0.1 development
[unix-history] / usr / src / usr.bin / colcrt / colcrt.1
index b62e4cb..7ed3f99 100644 (file)
-.\" Copyright (c) 1980 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1980, 1990 The Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)colcrt.1    6.2 (Berkeley) %G%
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
 .\"
 .\"
-.TH COLCRT 1 ""
-.UC
-.SH NAME
-colcrt \- filter nroff output for CRT previewing
-.SH SYNOPSIS
-.B colcrt
-[
-.B \-
-] [
-.B \-2
-] [
-file ...
-]
-.SH DESCRIPTION
-.I Colcrt
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"     @(#)colcrt.1   6.7 (Berkeley) 3/14/91
+.\"
+.Dd March 14, 1991
+.Dt COLCRT 1
+.Os BSD 3
+.Sh NAME
+.Nm colcrt
+.Nd filter nroff output for CRT previewing
+.Sh SYNOPSIS
+.Nm colcrt
+.Op Fl
+.Op Fl \&2
+.Op Ar
+.Sh DESCRIPTION
+.Nm Colcrt
 provides virtual half-line and reverse line feed sequences
 for terminals without such capability, and on which overstriking
 is destructive.
 Half-line characters and underlining (changed to dashing `\-')
 are placed on new lines in between the normal output lines.
 provides virtual half-line and reverse line feed sequences
 for terminals without such capability, and on which overstriking
 is destructive.
 Half-line characters and underlining (changed to dashing `\-')
 are placed on new lines in between the normal output lines.
-.PP
-The optional
-.B \- 
-suppresses all underlining.
+.Pp
+Available options:
+.Bl -tag -width Ds
+.It Fl
+Suppress all underlining.
 It is especially useful for previewing
 It is especially useful for previewing
-.I allboxed
+.Em allboxed
 tables from
 tables from
-.IR  tbl (1).
-.PP
-The option
-.B \-2
-causes all half-lines to be printed, effectively double spacing the output.
+.Xr tbl 1 .
+.It Fl 2
+Causes all half-lines to be printed, effectively double spacing the output.
 Normally, a minimal space output format is used which will suppress empty
 lines.
 The program never suppresses two consecutive empty lines, however.
 The
 Normally, a minimal space output format is used which will suppress empty
 lines.
 The program never suppresses two consecutive empty lines, however.
 The
-.B \-2
+.Fl 2
 option is useful for sending output to the line printer when the output
 contains superscripts and subscripts which would otherwise be invisible.
 option is useful for sending output to the line printer when the output
 contains superscripts and subscripts which would otherwise be invisible.
-.PP
+.El
+.Sh EXAMPLES
 A typical use of
 A typical use of
-.I colcrt
+.Nm colcrt
 would be
 would be
-.PP
-.DT
-       tbl exum2.n | nroff \-ms | colcrt \- | more
-.SH "SEE ALSO"
-nroff/troff(1), col(1), more(1), ul(1)
-.SH BUGS
+.Bd -literal
+tbl exum2.n \&| nroff \-ms \&| colcrt \- \&| more
+.Ed
+.Sh SEE ALSO
+.Xr nroff 1 ,
+.Xr troff 1 ,
+.Xr col 1 ,
+.Xr more 1 ,
+.Xr ul 1
+.Sh BUGS
 Should fold underlines onto blanks even with the
 Should fold underlines onto blanks even with the
-`\fB\-\fR'
+.Ql Fl
 option so that
 a true underline character would show; if we did this, however,
 option so that
 a true underline character would show; if we did this, however,
-.I colcrt
+.Nm colcrt
 wouldn't get rid of
 wouldn't get rid of
-.I cu'd
+.Ar cu Ns 'd
 underlining
 completely.
 underlining
 completely.
-.PP
+.Pp
 Can't back up more than 102 lines.
 Can't back up more than 102 lines.
-.PP
+.Pp
 General overstriking is lost;
 General overstriking is lost;
-as a special case `|' overstruck with `\-' or underline becomes `+'.
-.PP
+as a special case
+.Ql \&|
+overstruck with
+.Ql \-
+or underline becomes
+.Ql \&+ .
+.Pp
 Lines are trimmed to 132 characters.
 Lines are trimmed to 132 characters.
-.PP
+.Pp
 Some provision should be made for processing superscripts and subscripts
 in documents which are already double-spaced.
 Some provision should be made for processing superscripts and subscripts
 in documents which are already double-spaced.
+.Sh HISTORY
+The
+.Nm
+command appeared in 
+.Bx 3.0 .