Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

EMT/COMMANDS                        Aegis                         EMT/COMMANDS



NAME
     emt/commands - Commands available once emt has been invoked.

DESCRIPTION
     emt commands are read from standard input or an emt command file. The
     commands are:

     ae                  Abort on error:  if an error is encountered in remote
                         mode, return to local mode.

     asc[only] | notasc[only]
                         Sift out most non-printing ascii codes.  Eliminates
                         triangles, allows bs, cr, esc, ff, lf, tab.  Default
                         is notasc.

     break  n            Set break duration value to  n milliseconds. If set
                         to zero, the break key (F8) does nothing. Default is
                         200.

     cl[ose]             Close the xmit/rcv file (if open) and de-activate the
                         rcv filename (i.e. forget its name).

     code [xx|none]      emt will accept commands received on the sio line and
                         sent by the host.  Code will define Host Command Code
                         to be hex value 'xx'. The host may issue any emt
                         command  by  preceding  the  command string with the
                         hex value 'xx'.  The default is  none, i.e. commands
                         are not accepted from the host.

     cook[ed]            Put the Apollo window in cooked mode.  This makes the
                         input pad and the transcript pad separate windows. It
                         is the opposite of raw.  This command does not alter
                         the sio line, which is ALWAYS set to raw mode by emt.

     emtesc [chr|none]   Set the emt escape character to chr.  Use none to
                         disable the escape character.  Default is ~ for
                         cooked mode, none for raw mode.  The escape character
                         is used to send non-ascii control characters on the
                         sio line while in cooked mode (e.g. ^a (01) will be
                         sent if you type ~a).  Control characters are
                         processed by the Display Manager when the pad is in
                         cooked mode.  The emtesc character is also used to
                         emulate the typing of a function key while in cooked
                         mode (e.g. ~1 is equivalent to hitting F1 to return
                         to command mode).

     {The following 3 commands are useful when running an emt command file.}

     F1                  Enter remote mode (Simulate Function key F1).

     F2                  Terminate file transfer (Simulate Function key F2).

     F3                  Toggle tee mode         (Simulate Function key F3).
                         (tee mode allows xfers to/from files to be repicated
                         in the transcript pad.  The state of tee mode is
                         given by the List command.)

     F3                  Toggle tee mode         (Simulate Function key F3).

     Hangup              Drop dtr on the sio line; causes most modems to
                         hangup.

     Help   [tctl]       Display this help information or info about tctl.

     interm {cr|lf|crlf|vax|'hex_byte'}
                         Set the input line-termination sequence that the host
                         will send.   Default  is  crlf. 'hex-byte' can be any
                         one-byte hexadecimal value.  Different hosts
                         terminate lines with different combinations of cr and
                         lf. Setting interm correctly to correspond with what
                         the host is tranmitting will eliminate double-spacing
                         or multiple messages on one line when receiving from
                         the host.

     outterm [cr|lf|crlf|'hex_byte']
                         Set the output line-termination sequence to be
                         transmitted to the host.  Default is cr.  Different
                         hosts require different terminators to operate
                         correctly.  Note that when running emt windows
                         between two Apollo's, you should set interm and
                         outterm compatibly.

     line [1|2|3|pname]  Select the SIO line.   Default is  line 1
                         (/dev/siO1).

     List                Display the current SIO line,  all emt switch
                         settings and the receive filename, if any.

     monit [monit_file]  Write every character received  over the  SIO  line
                         to previous specification or errout is used.

     nomonit             Stop monitoring.

     q[uit]              Exit from emt.

     raw [-echo|-noecho] [-lf|-nolf]
                         Put the Apollo window in raw mode.  This causes the
                         input pad and the transcript pad windows to be merged
                         into one window.   It is the opposite of raw.  This
                         command does not alter the sio line, which is ALWAYS
                         set to raw mode by emt.  The option -echo means echo
                         keystrokes  to standard output (the Display Manager
                         does not automatically echo keystrokes in raw pads).
                         -lf means  convert cr to lf for echoed lines and is
                         used to prevent overwriting in the pad. Default is
                         -noecho  -nolf.

     rcv [-r] [-keys|-nokeys] [pathname]
                         Receive transmissions into the file named by
                         pathname.  Receive begins after the rcv command is
                         issued, when remote mode is entered (F1). If no
                         pathname is specified, it uses the previous name, if
                         any.

                         -r        means replace existing file.

                         -keys     means write  keystrokes  to  file along
                                   with received data. Default is -nokeys.

     run  [cmd_file]     Read emt commands from the  named file.  Command
                         files may be nested to a level of four  and may
                         contain any emt command or comment lines starting
                         with #.

     tctl [tctl commands]
                         Pass this command line to  tctl  to configure the
                         SIO line.   It is not necessary to specify the line
                         number (-line), although you may if you wish to
                         operate  on a different line than the one you are
                         using.

     xmit pathname       Transmit  the  file  named by  pathname  to  the
                         host. Tranmission begins when remote mode is entered
                         (F1).

     FUNCTION KEYS

       In addition to the commands listed above, emt redefines the following
       function keys:

        F1  = Switch between Local and Remote modes.
        F2  = Terminate file transfer (xmit or rcv) and close the file.
        F3  = Toggle tee mode.
              tee mode allows xfers to/from files to be repicated
              in the transcript pad.  The state of tee mode is
              given by the List command.
        F8  = Send a BREAK to the host.  Valid only in remote mode.
       ^F7  = Display a picture of the function key definitions.

        These function keys may be simulated by typing the emtesc character followed
        by the function key number (e.g. ~1 for F1).  When emt is used from the
        vt100 emulator, F1-shifted is used instead of F2, and F1-control is used
        instead of F3.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026