Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DM/COMMANDS -- Display Manager Commands 84/03/15

  Following is a list of DM commands sorted by function.  A detailed description
  of each command is available by typing

    $ HELP command_name

  Commands marked with (*) (TB, CC, and ED) have synonymous counterparts in the
  Shell command set.  Add "_DM" to the command name used with the HELP command
  to indicate that you want the DM command description.  For example:

    $ HELP ED_DM


  CURSOR CONTROL COMMANDS:

      AL                move cursor left 1 character position
      AR                move cursor right 1 character position
      AD                move cursor down 1 line
      AU                move cursor up one line
      AS x y            set scale factors for arrow keys, in raster units

      TL                move cursor to the left edge of the pad
      TR                move cursor to the end of the line
      TT                move cursor to top edge of the window
  (*) TB                move cursor to the last line in the window

      TH                move cursor right to the next horizontal tab stop
      THL               move cursor left to the next horizontal tab stop

      TS n1 n2...[-R]   set tab stops in columns n1, n2, etc., optionally
                        repeating the last interval

      TDM               move cursor to the Display Manager's input window
      TLW               move cursor to the previous window
      TN                move cursor to the next window on the display
      TI                move cursor to the next window in which input is enabled


  PROCESS CREATION COMMANDS:

      CP pathname [-N process_name [args...]]
                        create a new process, input and transcript pads, and
                         associated windows; the process executes 'pathname'

      CPO pathname [-N process_name [args...]]
                        create a process and execute 'pathname'; do not create
                         pads or windows

      CPS pathname [-N process_name [args...]]
                        like CPO, except assign the process the SID
                         'user.server.none'


  PROCESS CONTROL COMMANDS:

      DQ [-S|-B|-C nn]  cause a quit fault, which normally terminates program
                         execution; -S also stops the process; -B blasts
                         the process, -C generates an arbitrary asynchronous
                         fault with the specified hex status code
      DS                suspend execution of the process
      DC                continue execution of a suspended process


  WINDOW/PAD CREATION COMMANDS:

      CE  pathname      create an edit pad and associated window
      CV  pathname      create a view, that is, a read only edit pad
  (*) CC                create a copy of an existing window


  WINDOW CONTROL COMMANDS:

      WG                grow or shrink a window
      WGE               grow or shrink a window with feedback
      WM                move a window
      WME               move a window with feedback
      WP [-t|-b]        push window to bottom of pile if unobscured, else pop
                        to top. -t and -b will force a window to the bottom
                        or to the top.

      WC [-F] [-Q] [-A] [-S]
                        close (delete) a window. Use -a to automatically close
                         and delete a window after a ^Z and -s to reverse
                         auto-close mode

      WA [-ON|-OFF]     toggle auto-hold mode
      WS [-ON|-OFF]     toggle window-at-a-time scroll mode
      WH [-ON|-OFF]     toggle hold mode
      WDF [n]           set the n'th default window creation boundaries


  PAD CONTROL COMMANDS:

      PB                move the window to the bottom of the pad
      PT                move the window to the top of the pad
      PP  [+/-]n        move the window forward "n" pages ("n" may be fraction)
      PV  [+/-]n        move the window forward "n" lines
      PH  [+/-]n        move the window "n" character positions horizontally
      PN  pathname      save the pad under "pathname" (transcript pads only)


  WINDOW GROUP AND ICON COMMANDS:

      ICON [entry_name]  make a window or group of windows into an icon(s)
      WI   [entry_name]  make a window or group of windows invisible
      WGRA group_name    add a window to a group of windows
            [entry_name]
      WGRR group_name    remove a window from a group of windows
            [entry_name]
      CPB  group_name    display a list of the windows in a group
      IDF                set icon positioning vector


  PAD EDITING COMMANDS:

    Set modes:

      RO [-ON|-OFF]     change pad from write to read-only mode or vice versa
      EI [-ON|-OFF]     change from insert to overstrike mode or vice versa

    Insert text:

      ES  'string'      insert 'string' at the current cursor position
      EN                insert a new line character
      ER  nn            send raw hexadecimal data byte "nn" to user program
      EEF               insert a stream end-of-file indicator

    Delete text:

  (*) ED                delete the character at the cursor position
      EE                delete the character immediately preceding the cursor

    Cut and Paste:

      XC [-R] [-F pathname | name]
                        copy text into a paste buffer or file
      XD [-R] [-F pathname | name]
                        copy text into a paste buffer or file and delete text
      XP [-R] [-F pathname | name]
                        insert contents of paste buffer or file into pad
      XI  [-F pathname] copy display image to graphics map file
      for above cut and paste commands:
            use -R for a rectangular cut
            use -F to specify a file name

    Search:

      /regular exp/     search forward in the pad for a string which matches
                         the regular expression; for help on regular
                         expressions, type HELP PATTERNS.
      \regular exp\     search backward in the pad for a string which matches
                         the regular expression
      // or \\          repeat last search forward or backward
      SQ                abort search
      SC [-ON|-OFF]     enable/disable case sensitivity for searches

    Substitute:

      S/re/replace/     substitute the replacement text for all strings in the
                         range which match the regular expression
      SO/re/replace/    substitute the replacement text for the first string in
                         each line in the range which matches the regular
                         expression

    Miscellaneous:

      UNDO              undo file changes in an input pad or an edit pad;
                         successive UNDOs will undo further back in history
      PW                write edit pad to new file, but don't close pad or
                         delete window

      ECHO [-r]         If a grow/move is in progress, then end feedback.
                        Else begin text hiliting feedback if the cursor is on
                        text.

      ABRT              Abort text or window feedback, abort a search,
                        or clear mark stack.

      CASE [-U|-L|-S]   Change the case of the letters in a marked text range.
                         -U  --  change to upper case
                         -L  --  change to lower case
                         -S  --  switch to inverse case


  KEY DEFINITION COMMANDS:

      KD key [[def] KE] set or display a DM key definition

      KBD n             declare keyboard type; 'n' must be '2' if your node has
                        keyboard 2 attached

      &'prompt'         write the optional prompt string in the input pad, then
                         read a line of input


  DISPLAY MANAGEMENT COMMANDS:

    Login/Logout:

      L pers [proj [org]]
                        login (valid only when logged out)
      LO  [-F]          logout (valid only when logged in)
      EXIT              exit DM to Boot Shell
      SHUT [-F]         shutdown the system

    Place/Clear Marks:

      DR                place a mark (for window control or cut and paste)
      GM                go to mark
      CMS               clear mark stack
      RM                push last mark back on the stack.

    Miscellaneous:

      =                 display line, column number, and x,y pixel values
                         of current cursor position

      AA                acknowledge DM alarm
      AP                acknowledge DM alarm and pop the associated window
      BGC [-ON|-OFF]    turn on or off the gray scale background color
      INV [-ON|-OFF]    invert the screen to black on white, or vice-versa
      MSG 'string'      display a message in the DM output window
      RS                refresh the entire screen
      RW [-R]           refresh current window; -R option reenables window
      FL path_name      load a font to be used in later pads
      CMDF pathname     execute DM script

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