tcvt1
Two column virtual terminal
Usage
tcvt [-c
columns]
[-h]
[-r]
[--]
program
options
optcvt program
options
Overview
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 ANSI terminal is emulated.
While tcvt does this conversion unconditionally, the optcvt can be used with smaller terminals. It will only invoke tcvt, if the terminal is wide enough and otherwise simply exec the passed program.
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.
In addition the tcvt tool accepts a few switches.
-
-c, --columns -
Specify the number of columns. This defaults to two.
-
-h, --help -
Print a quick option overview and exit.
-
-r, --reverse -
Order columns so that the last one is the left most.
-
-- -
Signal end of options.
Any non-option argument signals the end of options for tcvt.
Exit status
The exit status of the wrapped program is propagated. When tcvt produces an error of its own, 255 is returned.
Releases
Unchanged in 5 releases since Debian 9 (Stretch).