perm filename TTYCMD[3,2]1 blob sn#376305 filedate 1978-08-25 generic text, type C, neo UTF8
COMMENT āŠ—   VALID 00002 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	The TTY command provides some of the ESC facilities for non-displays along
C00011 ENDMK
CāŠ—;
The TTY command provides some of the ESC facilities for non-displays along
with some other control features.  It takes as argument a keyword
specifying the thing to change.  As in typing monitor commands, only
enough letters of the keyword as necessary to make it unique need be
typed.  The keyword may be preceded by NO or - to reset the corresponding
switch, e.g., TTY NO TABS or TTY -TABS.  The TTY command is legal from
displays as well as non-displays, but the keywords ARROW, CONVERT, ECHO,
FILL, GLASS, and WIDTH have no effect on display terminals.  The TABS
keyword has no effect on displays other than Datamedias.  The keyword
WIDTH also has no effect on PTYs which are not ARPA PTYs.  You need not be
logged in to give the TTY command, except for the keywords UPDATE and
TIME. (The keywords BLINK, BOLD, and BS are applicable only to Datamedia
terminals.)

A command of the form TTY TTYn keyword will cause the effect of a TTY
keyword command for TTYn instead of your own TTY.  This command is allowed
only if the target TTY is not in use, or is owned by your job, or if you
have the DEV privilege.

  ARROW    Causes character codes less than 40 octal to be echoed as
	   uparrow-letter (e.g., ā†‘A for octal 001) rather than as the code
	   itself, except for BEL (7), TAB (11), LF (12), VT (13), FF
	   (14), and CR (15).

  BEEP     Enables automatic beeping after long computations, like ESC Z
	   on a display.

  BLINK    Tells the system to display characters in the line editor  with
	   inverted boldness (blinking on  unmodified DMs).  Thus you  can
	   identify the line editor by its boldness.  This is the default.
	   If your  DM  doesn't  have blink  and  bold  interchanged,  you
	   probably want TTY NO BLINK, which will display the line  editor
	   just like any other text.  Your terminal must already have been
	   declared a DM when you give this command.

  BOLD     Same as BLINK.

  BREAK n x  Same as typing BREAK n x (where x is a command letter) on a
	   display.  Works for these command letters: F, H, I, V, X and Z.

  BS       Tells the system that your terminal can display a special
	   graphic representation for the BS (octal 177) character.  Your
	   terminal must already have been declared a DM when you give
	   this command.

  CONVERT  Enables the SAIL-ASCII character conversions (eg braces, alt).
	   This is the default state except for non-ARPA PTYs, but can be
	   turned off with TTY NO CONVERT.

  DATAMEDIA n  Tells the system you are at a DM.  The number n, if used,
	   tells the system the number of lines your terminal can display
	   on its screen; this is needed only for a programmable terminal
	   simulating a DM.  TTY NO DATAMEDIA waits for all already-queued
	   output to be sent to your terminal, and then sends a message to
	   let you know you have become a non-display, and puts the
	   terminal in ROLL mode.

  DM n     Tells the system you are at a DM.  Just like DATAMEDIA.

  DM128 n  Tells the system you are at a DM which can display the ASCII
	   control characters (001 to 037 octal) when they are output
	   preceded by an ASCII escape character (033).

  ECHO     Tells the monitor to send back to the terminal the characters
	   you type in.

  ESCAPE n x  Same as typing ESC n x (where x is a command letter) on a
	   display.  Works for these command letters: F, H, I, V, X, and
	   Z.

  FILL     Tells the monitor to insert extra carriage returns when a
	   return is typed out at the terminal, to give the carriage time
	   to return to the left margin.  This is used principally for 30
	   character per second terminals.

  FULL     Declares that the terminal has lower case letters, and lower
	   case should not be converted to upper case by the monitor.
	   Equivalent to ESC F on a display; NO FULL is like BREAK F.

  GAG      Don't allow messages from other users to be typed out.  This is
	   the default for non-ARPA PTYs.

  GLASS    Echo rubout as backspace-space-backspace instead of using the
	   backslash notation for deleted characters.

  HANG     Hang up the phone line associated with the TTY.  This is meant
	   to be used for some TTY other than your own.

  SPEED n  Set the speed of the terminal to n, which must be one of 110,
	   150, or 300.  Works only for low-speed dialup lines.

  TABS     Declares that the terminal has hardware tabs, so the monitor
	   will not convert tabs to spaces on output.

  TGAG     Prevent messages from other users, like GAG, but only until the
	   next program reset.

  TIME     Resets XTIME and inhibits automatic resetting, like ESC 1 X.
	   NO TIME, like BREAK 1 X, sets XTIME to the total run time.

  UPDATE   Enables automatic resetting of XTIME, like ESC X from a
	   display.  NO UPDATE is like BREAK X.

  WHO      Types out your job's WHO line.  "TTY WHO n" will type the WHO
	   line for job n, "TTY WHO -n" the WHO line for the job using
	   TTYn.  "TTY WHO 0" or "TTY -WHO" will type the system WHO line.

  WIDTH n  Sets the maximum number of columns for TTY output to the
	   decimal value n, which should be between 16 and 256.