xref: /csrg-svn/usr.bin/colcrt/colcrt.1 (revision 44952)
143082Scael.\" Copyright (c) 1980, 1990 The Regents of the University of California.
236172Sbostic.\" All rights reserved.
319095Smckusick.\"
443082Scael.\" %sccs.include.redist.man%
519095Smckusick.\"
6*44952Scael.\"     @(#)colcrt.1	6.6 (Berkeley) 07/24/90
736172Sbostic.\"
843082Scael.Dd
943082Scael.Dt COLCRT 1
1043082Scael.OS BSD 3
1143082Scael.Sh NAME
1243082Scael.Nm colcrt
1343082Scael.Nd filter nroff output for CRT previewing
1443082Scael.Sh SYNOPSIS
1543082Scael.Nm colcrt
1643082Scael.Op Fl
17*44952Scael.Op Fl \&2
1843082Scael.Ar
1943082Scael.Sh DESCRIPTION
2043082Scael.Nm Colcrt
2119095Smckusickprovides virtual half-line and reverse line feed sequences
2219095Smckusickfor terminals without such capability, and on which overstriking
2319095Smckusickis destructive.
2419095SmckusickHalf-line characters and underlining (changed to dashing `\-')
2519095Smckusickare placed on new lines in between the normal output lines.
2643082Scael.Pp
27*44952Scael.Tw Ds
2843082Scael.Tp Fl
2943082ScaelSuppress all underlining.
3019095SmckusickIt is especially useful for previewing
3143082Scael.Ar allboxed
3219095Smckusicktables from
3343082Scael.Xr tbl 1 .
3443082Scael.Pp
3543082Scael.Tp Fl 2
3643082ScaelCauses all half-lines to be printed, effectively double spacing the output.
3719095SmckusickNormally, a minimal space output format is used which will suppress empty
3819095Smckusicklines.
3919095SmckusickThe program never suppresses two consecutive empty lines, however.
4019095SmckusickThe
4143082Scael.Fl 2
4219095Smckusickoption is useful for sending output to the line printer when the output
4319095Smckusickcontains superscripts and subscripts which would otherwise be invisible.
4443082Scael.Tp
4543082Scael.Pp
4619095SmckusickA typical use of
4743082Scael.Nm colcrt
4819095Smckusickwould be
4943082Scael.Pp
50*44952Scael.Dl tbl exum2.n \&| nroff \-ms \&| colcrt \- \&| more
5143082Scael.Sh SEE ALSO
5243082Scael.Xr nroff 1 ,
5343082Scael.Xr troff 1 ,
5443082Scael.Xr col 1 ,
5543082Scael.Xr more 1 ,
5643082Scael.Xr ul 1
5743082Scael.Sh HISTORY
5843082ScaelAppeared in 3 BSD.
5943082Scael.Sh BUGS
6019095SmckusickShould fold underlines onto blanks even with the
61*44952Scael.Sq Fl
6219095Smckusickoption so that
6319095Smckusicka true underline character would show; if we did this, however,
6443082Scael.Nm colcrt
6519095Smckusickwouldn't get rid of
6643082Scael.Ar cu'd
6719095Smckusickunderlining
6819095Smckusickcompletely.
6943082Scael.Pp
7019095SmckusickCan't back up more than 102 lines.
7143082Scael.Pp
7219095SmckusickGeneral overstriking is lost;
7344912Scaelas a special case `\&|' overstruck with `\-' or underline becomes `+'.
7443082Scael.Pp
7519095SmckusickLines are trimmed to 132 characters.
7643082Scael.Pp
7719095SmckusickSome provision should be made for processing superscripts and subscripts
7819095Smckusickin documents which are already double-spaced.
79