summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2015-05-07 16:24:36 +0200
committerHelmut Grohne <helmut@subdivi.de>2015-05-07 16:24:36 +0200
commit29bb98a8762bcca5989ced2841904528721bd8af (patch)
tree26ae71d367a441368d37f5239fd3e129e9efa692
parentcd71a2cba97e89b8ffba8f0a56a491f3d8931973 (diff)
downloadtcvt-29bb98a8762bcca5989ced2841904528721bd8af.tar.gz
fix manual page syntax
Reported-By: Alfredo Canziani <alfredo.canziani@gmail.com>
-rw-r--r--tcvt.119
1 files changed, 11 insertions, 8 deletions
diff --git a/tcvt.1 b/tcvt.1
index a7e4d0d..8d5af3c 100644
--- a/tcvt.1
+++ b/tcvt.1
@@ -3,24 +3,27 @@
.Sh NAME
tcvt - two column virtual terminal
.Sh SYNOPSIS
-.nf
-\fBtcvt\fP \fItcvt options\fP \fIprogram options\fP
-.PP
-\fBoptcvt\fP \fIprogram options\fP
-.fi
+.Nm tcvt
+.Op Fl c Ar columns
+.Op Fl h
+.Op Fl r
+.Op Fl Fl
+.Ar program options
+.Nm optcvt
+.Ar program options
.Sh DESCRIPTION
The two column virtual terminal emulates a virtual terminal inside another virtual terminal.
The emulated virtual terminal is twice as tall and half as wide as the original terminal.
The upper half of the virtual terminal goes to the left and the lower half goes to the right of the original terminal.
An \fBANSI\fP terminal is emulated.
-
+.Pp
While \fBtcvt\fP does this conversion unconditionally, the \fBoptcvt\fP can be used with smaller terminals.
It will only invoke \fBtcvt\fP, if the terminal is wide enough and otherwise simply exec the passed program.
.Sh OPTIONS
Both programs take a program and options to that program.
They execute the given program.
If no program is given a shell is executed.
-
+.Pp
In addition the \fBtcvt\fP tool accepts a few switches.
.Bl -tag -width indent
.It Fl c , Fl Fl columns
@@ -32,7 +35,7 @@ Order columns so that the last one is the left most.
.It Fl Fl
Signal end of options.
.El
-
+.Pp
Any non-option argument signals the end of options for \fBtcvt\fP.
.Sh BUGS
Not all \fBANSI\fP terminal features are emulated.