Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DM(1)                           Domain/OS SysV                           DM(1)



NAME
     dm commands - Display Manager commands

DESCRIPTION
     Following is a list of DM commands sorted by function.


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.

     curs [-on|-off]
               Enable/disable cursor positioning via tn.

     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.

     twb {-l|-r|-t|-b}
               Move cursor to the specified window border.

     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.

     tni       Move cursor to next unobscured icon on the display.

     ti        Move cursor to the next window in which input is enabled.

PROCESS CREATION COMMANDS:
     cp [-i|-c char] pathname [-n process_name] [args...]]
               Create a new process, input and transcript pads, and associated
               windows; the process executes pathname; -i makes the window an
               icon; -c specifies the icon character; -n names the process.

     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 [window_name|group_name] [-t|-b]
               Push (named) window (or window group) 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 bottom of the pad into window.

     pt        Move the top of the pad into window.

     pp  [-]n  Move the pad forward [backward] n pages (n may be decimal
               fraction).

     pv  [-]n  Move the pad forward [backward] n lines (n may be decimal
               fraction).

     ph  [-]n  Move the pad n character positions horizontally (n may be
               decimal fraction).

     pn  pathname
               Save the pad under pathname (transcript pads only).

WINDOW GROUP AND ICON COMMANDS:
     icon [entry_name] [-i] [-w] [-c 'char']
               Make a window or group of windows into an icon(s).

     wi   [entry_name] [-i] [-w]
               Make a window or group of windows invisible.

     wgra group_name [entry_name]
               Add a window to a group of windows.

     wgrr group_name [entry_name]
               Remove a window from a group of windows.

     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 highlighting 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.
               -s   Switch to inverse case (default)
               -u   Change to upper case
               -l   Change to lower case

KEY DEFINITION COMMANDS:
     kd key [[def] ke]
               Set or display a DM key definition.

     kbd n     Declare keyboard type; n must be '3' if your node has a Domain
               Programmable Keyboard (with numeric keypad); n must be '2' if
               your node has a Low Profile Keyboard; n must be ' ' if your
               node has an 880 keyboard; this command is only valid during
               node boot

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

DISPLAY MANAGEMENT COMMANDS:
Login/Logout:
     l pers [group [org]]
               Login (valid only when logged out); the 'l' is optional when
               preceded by the "login:" prompt.

     lo  [-f]  Logout (valid only when logged in)

     ex        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 .

     bl [-i|-c] [l_char] [r_char]
               Check and/or balance delimiting characters.

     env var [value]
               Set or display an environment variable; setting an environment
               variable is only valid during login startup.

     bgc [-on|-off]
               Turn on or off the gray scale background color (monochrome
               monitor).

     inv [-on|-off]
               Invert the screen to black on white, or vice-versa (monochrome
               monitor).

     mono [-on|-off]
               Enable/disable monochrome mode (color monitor).

     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 pathname [-i]
               Load a font to be used in later pads; -i indicates an icon
               font.

     cmdf pathname
               Execute DM script.

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