index.txt
VT(1) General Commands Manual VT(1) NAME vt - emulate a VT-100 or VT-220 terminal SYNOPSIS vt [ -2abcx ] [ -f font ] [ -l log ] DESCRIPTION Vt replaces a rio window with a fresh instance of the shell, rc(1), running within an emulation of a DEC VT-100 terminal. To exit vt, exit the rc it starts. Options 2 a x change vt to emulate a VT-220, ANSI, or XTerm terminal respec‐ tively. b changes the color scheme to white text on a black background, but potentially with colors from escape sequences. c changes the color scheme to monochrome (no colors). f sets the font. l names a log file for the session. Menus The right button has a menu with the following entries to provide the sort of character processing expected by non-Plan 9 systems: 24x80 Resize the vt window to hold 24 rows of 80 columns. crnl Print a newline (linefeed) character after receiving a carriage return from the host. cr Do not print a newline after carriage return. nlcr Print a carriage return after receiving a newline from the host. nl Do not print a carriage return after newline. raw Enter raw (no echo, no interpretation) character mode for input. cooked Leave raw mode. exit Exit vt. The middle button has a menu with the following entries: backup Move the display back one screenful. forward Move the display forward one screenful. (These are a poor sub‐ stitute for a scroll bar.) reset Display the last screenful; the same as going forward to the end. clear Clear the screen. Previous contents can be recovered using backup. send Send the contents of the rio snarf buffer, just as send in the rio menu. scroll Make new lines visible as they appear at the bottom. page When the page fills, pause and wait for a character to be typed before proceeding. The down arrow key advances a page without sending the character to the host. SOURCE /sys/src/cmd/vt BUGS This program is used only for communicating with foreign systems, so it is not as rich an emulation as its equivalent in other environments. Use care in setting raw and newline modes when connecting to Unix sys‐ tems via con(1) or ssh(1). It may also be necessary to set the emula‐ tor into raw mode. VT(1)