Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DM/KEYS                             Aegis                              DM/KEYS



NAME
     dm/keys - Default DM key definitions

DESCRIPTION
                  *************
                   Left Keypad
                  *************

     kbd   name   key cap label                associated
                                               command(s)

           L1     MARK                         dr;echo
           L2     LINE DEL                     cms;tl;xd line_del
           L3     CHAR DEL                     ed
           L1A    COPY                         xc
           L2A    PASTE                        xp
           L3A    GROW                         wge
           L4     to left margin               tl
           L5     CMD                          tdm;ph -1000;tb;tr
           L6     to right margin              tr
           L7     scroll pad right             ph -10
           L8     arrow up                     au
           L9     scroll pad left              ph 10
           LA     arrow left                   al
           LB     NEXT WNDW                    tn
           LC     arrow right                  ar
           LD     scroll pad up                pp -0.5
           LE     arrow down                   ad
           LF     scroll pad down              pp 0.5

           L1S    INS                          ei
           L2S    un-delete line               xp line_del
           L3S    CHAR DEL                     ed
           L1AS   CUT                          xd
           L2AS   UNDO                         undo
           L3AS   MOVE                         wme
           L4S    to left margin               tl
           L5S    SHELL                        cp $(shell)
           L6S    to right margin              tr
           L7S    scroll pad right             ph -10
           L8S    scroll pad up 1 line         pv -1
           L9S    scroll pad left              ph 10
           LAS    scroll pad right 1 column    ph -1
           LBS    NEXT WNDW                    tn
           LCS    scroll pad left 1 column     ph 1
           LDS    to top of window             tt
           LES    scroll pad down 1 line       pv 1
           LFS    to bottom of window          tb

           LnU    up transitions for above     none
           LnC    control Ln                   none

                  **************
                   Right Keypad
                  **************

     kbd   name   key cap label                associated
                                               command(s)

           R1     POP                          wp
           R2     AGAIN                        dr;tr;xc again;tl;
                                               ti;tb;tr;xp again;tr
           R3     READ                         cv 'Read file: ''Read file: ''Read
           R4     EDIT                         ce 'Edit file: ''Edit file: ''Edit
           R5     EXIT                         pw;wc -q
           R6     HOLD                         wh

           R1S    toggle icon                  icon
           R2S    toggle read only             ro
           R3S    (read file pointed at)
                   /[~a-zA-Z._:$0-9@/@\@-@(@)~`%^*_+=!]/dr;
                   \[~a-zA-Z._:$0-9@/@\@-@(@)~`%^*_+=!]\;
                   /?/xc cv_file;tdm;tl;xd junk;es 'cv ';
                   xp cv_file;tr;en
           R4S    SAVE                         pw;ro
           R5S    ABORT                        wc -q
           R6S    HELP             cv /sys/help/'Help on: '.hlp'Help on: '.hl

           RnU    up transitions for above     none
           RnC    control Rn                   none

                  ***************
                   Function Keys
                  ***************

     kbd   name   key cap label                associated
                                               command(s)

      3    F0                                  none
           F1     F1 (insert line)             tr;en;tl
           F2                                  none
           F3                                  none
           F4                                  none
           F5                                  none
           F6     F6 (delete word)             dr;/[~a-z0-9$_]/xd
           F7     F7 (delete to eol)           es ' ';ee;dr;tr;xd;
                                               tl;tr
           F8     F8 (copy to input window)    dr;tr;xc;tl;ti;tb;
                                               tr;xp;tr
      3    F9                                  none
      3    FnS    Shifted F0-F9                none
      3    FnC    Control F0-F9                none
      3    FnU    F0-F9 up transitions         none

      2    FnS    Shifted F1-F8                none
      2    FnC    Control F1-F8                none
      2    FnU    F1-F8 up transitions         none


                  **************
                   Control Keys
                  **************

     kbd   name   key cap label                associated
                                               command(s)

           TAB    TAB (tab right)              th
          ^TAB    Control TAB (tab left)       thl
          STAB    TAB (tab right)              th
           ESC    ESC (escape, undefined)      none
           DEL    DELETE  (undefined)          none
           CR     RETURN (carriage return)     en
           BS     BACK SPACE                   ee
           SP     SPACE BAR                    es 'blank'

           ^A     (toggle auto-hold & scroll)  wa;ws
           ^B     (bottom of pad)              pb;tb;tr
           ^C     (copy to paste buffer)       xc
           ^D
           ^E     (erase text range)           xd
           ^F     (refresh screen)             rs
           ^G     (grow/shrink window)         wg
           ^H
           ^I     (toggle icon mode)           icon
           ^J
           ^K     (to beginning of next line)  ad;tl
           ^L     (to last window)             tlw
           ^M     (toggle read only)           ro
           ^N     (close window w/o update)    wc -q
           ^O     (paste)                      xp
           ^P     (push/pop)                   wp
           ^Q     (quit)                       dq
           ^R     (repeat search forward)      //
           ^S     (toggle scroll mode)         ws
           ^T     (to top of pad)              pt;tt;tl
           ^U     (repeat search backward)     \\
           ^V     (to bottom of trans. pad)    au;au;pb;ti
           ^W     (pad write)                  pw
           ^X     (abort search or echoing)    abrt
           ^Y     (close window)               pw;wc -q
           ^Z     (write end of file)          eef

           ^[     Same as ESC
           ^\
           ^]
           ^~
           ^?
           ^|     Same as DEL

                  ****************
                   Numeric Keypad
                  ****************

     ** North American keyboard **

     kbd    name     key cap label               associated
                                                 command(s)

      3     NP0-NP9  Numeric Pad 0-9             es 'n'
      3     NP+      Numeric pad + (same as NPG) es '+'
      3     NP-      Numeric pad - (same as NPF) es '-'
      3     NP.      Numeric pad . (same as NPP) es '.'
      3     NPE      Numeric pad ENTER           en
      3     NP+S                                 none
      3     NP-S                                 none
      3     NPF      Numeric pad -               es '-'
      3     NPG      Numeric pad +               es '+'
      3     NPES                                 none
      3     NPFS                                 none
      3     NPGS                                 none
      3     NPP      Numeric pad .               es '.'
      3     NPPS                                 none
      3     NPnU     Up transitions              none
      3     NPnS     Shifted NP0-NP9,NP+,NP-     none

     ** Multinational keyboard **

     kbd    name     key cap label               associated
                                                 command(s)

      3A-E,G  NP0-NP9  Numeric pad 0-9
      3A-E,G  NPE      Numeric pad ENTER          en
      3A-E,G  NPA                                 es '/'
      3A-E,G  NPB                                 es '*'
      3A-E,G  NPC                                 es '-'
      3A-E,G  NPD                                 es '+'
      3A-E,G  NPF                                 es ')'
      3A-E,G  NPG                                 es '('
      3A-E,G  NPAS                                none
      3A-E,G  NPBS                                none
      3A-E,G  NPCS                                none
      3A-E,G  NPDS                                none
      3A-E,G  NPES                                none
      3A-E,G  NPFS                                none
      3A-E,G  NPGS                                none
      3A-E,G  AL                                  none
      3A-E,G  AR                                  none
      3A-E,G  ALU                                 none
      3A-E,G  ARU                                 none
      3A-E,G  NPP      Numeric pad .              es '.'
      3A-E,G  NPPS                                none

        The following table explains the relationship between
        the KBD type and the multinational keyboard that it
        refers to:

        kbd

        3A    German Keyboard
        3B    French Keyboard
        3C    Norway/Denmark Keyboard
        3D    Sweden/Finland Keyboard
        3E    United Kingdom Keyboard
        3F    Reserved for future use
        3G    Swiss Keyboard


                    **********************
                     Mouse/Bitpad Buttons
                    **********************

       kbd   name   key cap label                associated
                                                 command(s)

             M1     (grow/                       wge
             M1U         /mark)                  echo
             M2     (pop)                        wp
             M2U                                 none
             M3     (read file pointed at)
                     /[~a-zA-Z._:$0-9@/@\@-@(@)~`%^*_+=!]/dr;
                     \[~a-zA-Z._:$0-9@/@\@-@(@)~`%^*_+=!]\;
                     /?/xc cv_file;tdm;tl;xd junk;es 'cv ';
                     xp cv_file;tr;en
             M4,M4U                              none

     Note:
        The above standard Aegis key definitions are loaded by the Display
        Manager when the DM is first initialized.  These definitions are read
        from the file /sys/dm/std_keys?*.  The ?* is determine by the node
        type:

                DN3000 - The keyboard is queried for its type,
                            the posssible response are 3, 3A-3F.

                ALL others node types are set to type 2.

        This can be overriden by the "kbd" command in node's
        /sys/node_data/startup.?* file.  The std_keys file is simply a DM
        script that executes the kd command to set key definitions.

     Note:
        The user may choose to load UNIX style key definitions from the file
        /sys/dm/std_keys.unix.

     Note:
        Definitions with special characters in their names must be quoted in
        the kd command.

     Note:
        For detailed information on mutlinational keyboards, see Using the
        Multinational Keyboard manual.


SEE ALSO
     kd - for details about creating new key definitions.


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