VT(1)                                                       VT(1)

     NAME
          vt - emulate a VT-100 or VT-220 terminal

     SYNOPSIS
          vt [ -2abcrx ] [ -f font ] [ -l log ] [ cmd... ]

     DESCRIPTION
          Vt replaces a rio window with a fresh instance of the pro-
          gram cmd (or the rc(1) shell when omitted) running within an
          emulation of a DEC VT-100 terminal.

        Options
          2
          a
          x  change vt to emulate a VT-220, ANSI, or XTerm terminal
             respectively.
          b  changes the color scheme to white text on a black back-
             ground, 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.
          r  start in raw mode.

        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.
          blocksel
                  Toggle block selection for mode for rio snarf
                  buffer.
          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 substitute for a scroll bar.)
          reset      Display the last screenful; the same as going

     Page 1                       Plan 9            (printed 11/22/24)

     VT(1)                                                       VT(1)

                     forward to the end.
          paste      Pastes the contents of the rio snarf buffer, just
                     as paste in the rio menu.
          snarf      Copy selection to the rio snarf buffer.
          plumb      Send selection to the plumber.
          scroll     Make new lines visible as they appear at the bot-
                     tom.
          page       When the page fills, pause and wait for a charac-
                     ter 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 systems via con(1). It may also be necessary to set the
          emulator into raw mode.

     Page 2                       Plan 9            (printed 11/22/24)