summaryrefslogtreecommitdiffstats
path: root/text-utils/colcrt.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--text-utils/colcrt.197
-rw-r--r--text-utils/colcrt.1.adoc106
2 files changed, 203 insertions, 0 deletions
diff --git a/text-utils/colcrt.1 b/text-utils/colcrt.1
new file mode 100644
index 0000000..869a91b
--- /dev/null
+++ b/text-utils/colcrt.1
@@ -0,0 +1,97 @@
+'\" t
+.\" Title: colcrt
+.\" Author: [see the "AUTHOR(S)" section]
+.\" Generator: Asciidoctor 2.0.20
+.\" Date: 2023-10-23
+.\" Manual: User Commands
+.\" Source: util-linux 2.39.3
+.\" Language: English
+.\"
+.TH "COLCRT" "1" "2023-10-23" "util\-linux 2.39.3" "User Commands"
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.ss \n[.ss] 0
+.nh
+.ad l
+.de URL
+\fI\\$2\fP <\\$1>\\$3
+..
+.als MTO URL
+.if \n[.g] \{\
+. mso www.tmac
+. am URL
+. ad l
+. .
+. am MTO
+. ad l
+. .
+. LINKSTYLE blue R < >
+.\}
+.SH "NAME"
+colcrt \- filter nroff output for CRT previewing
+.SH "SYNOPSIS"
+.sp
+\fBcolcrt\fP [options] [\fIfile\fP ...]
+.SH "DESCRIPTION"
+.sp
+\fBcolcrt\fP 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 `\-\*(Aq) are placed on new lines in between the normal output lines.
+.SH "OPTIONS"
+.sp
+\fB\-\fP, \fB\-\-no\-underlining\fP
+.RS 4
+Suppress all underlining. This option is especially useful for previewing \fIallboxed\fP tables from \fBtbl\fP(1).
+.RE
+.sp
+\fB\-2\fP, \fB\-\-half\-lines\fP
+.RS 4
+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 \fB\-2\fP option is useful for sending output to the line printer when the output contains superscripts and subscripts which would otherwise be partially invisible.
+.RE
+.sp
+\fB\-h\fP, \fB\-\-help\fP
+.RS 4
+Display help text and exit.
+.RE
+.sp
+\fB\-V\fP, \fB\-\-version\fP
+.RS 4
+Print version and exit.
+.RE
+.SH "HISTORY"
+.sp
+The \fBcolcrt\fP command appeared in 3.0BSD.
+.SH "BUGS"
+.sp
+Should fold underlines onto blanks even with the \fB\-\fP option so that a true underline character would show.
+.sp
+Can\(cqt back up more than 102 lines.
+.sp
+General overstriking is lost; as a special case \*(Aq|\*(Aq overstruck with \*(Aq\-\*(Aq or underline becomes \*(Aq+\*(Aq.
+.sp
+Lines are trimmed to 132 characters.
+.sp
+Some provision should be made for processing superscripts and subscripts in documents which are already double\-spaced.
+.SH "EXAMPLES"
+.sp
+A typical use of \fBcolcrt\fP would be:
+.RS 3
+.ll -.6i
+.sp
+\fBtbl exum2.n | nroff \-ms | colcrt \- | more\fP
+.br
+.RE
+.ll
+.SH "SEE ALSO"
+.sp
+\fBcol\fP(1),
+\fBmore\fP(1),
+\fBnroff\fP(1),
+\fBtroff\fP(1),
+\fBul\fP(1)
+.SH "REPORTING BUGS"
+.sp
+For bug reports, use the issue tracker at \c
+.URL "https://github.com/util\-linux/util\-linux/issues" "" "."
+.SH "AVAILABILITY"
+.sp
+The \fBcolcrt\fP command is part of the util\-linux package which can be downloaded from \c
+.URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "." \ No newline at end of file
diff --git a/text-utils/colcrt.1.adoc b/text-utils/colcrt.1.adoc
new file mode 100644
index 0000000..dee3155
--- /dev/null
+++ b/text-utils/colcrt.1.adoc
@@ -0,0 +1,106 @@
+//po4a: entry man manual
+////
+Copyright (c) 1980, 1990, 1993
+The Regents of the University of California. All rights reserved.
+
+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.
+
+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 8.1 (Berkeley) 6/30/93
+////
+= colcrt(1)
+:doctype: manpage
+:man manual: User Commands
+:man source: util-linux {release-version}
+:page-layout: base
+:command: colcrt
+:plus: +
+
+== NAME
+
+colcrt - filter nroff output for CRT previewing
+
+== SYNOPSIS
+
+*colcrt* [options] [_file_ ...]
+
+== DESCRIPTION
+
+*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.
+
+== OPTIONS
+
+*-*, *--no-underlining*::
+Suppress all underlining. This option is especially useful for previewing _allboxed_ tables from *tbl*(1).
+
+*-2*, *--half-lines*::
+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 *-2* option is useful for sending output to the line printer when the output contains superscripts and subscripts which would otherwise be partially invisible.
+
+include::man-common/help-version.adoc[]
+
+== HISTORY
+
+The *colcrt* command appeared in 3.0BSD.
+
+== BUGS
+
+Should fold underlines onto blanks even with the *-* option so that a true underline character would show.
+
+Can't back up more than 102 lines.
+
+//TRANSLATORS: Keep {plus} untranslated.
+General overstriking is lost; as a special case '|' overstruck with '-' or underline becomes '{plus}'.
+
+Lines are trimmed to 132 characters.
+
+Some provision should be made for processing superscripts and subscripts in documents which are already double-spaced.
+
+== EXAMPLES
+
+A typical use of *colcrt* would be:
+
+____
+*tbl exum2.n | nroff -ms | colcrt - | more*
+____
+
+
+== SEE ALSO
+
+*col*(1),
+*more*(1),
+*nroff*(1),
+*troff*(1),
+*ul*(1)
+
+include::man-common/bugreports.adoc[]
+
+include::man-common/footer.adoc[]
+
+ifdef::translation[]
+include::man-common/translation.adoc[]
+endif::[]