DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ K T

⟦56af375cc⟧ TextFile

    Length: 15872 (0x3e00)
    Types: TextFile
    Names: »KEYMAP_TEMPLATE_USER_DEFS«

Derivation

└─⟦bdeee703f⟧ Bits:30000538 8mm tape, Rational 1000, RWI 10_1_1
    └─ ⟦545705153⟧ »DATA« 
        └─⟦bdb095144⟧ 
└─⟦5f3412b64⟧ Bits:30000745 8mm tape, Rational 1000, ENVIRONMENT 12_6_5 TOOLS 
    └─ ⟦91c658230⟧ »DATA« 
        └─⟦bdb095144⟧ 
            └─⟦this⟧ 

TextFile

~comment( 

   File: Keymap_Template_User_Defs  
   Date: August 26, 1991
   Type: Source file for Compose-generated Keymap Overlay
   Implementation: General template used as basis for specific keyboards

   This file contains the skeleton Compose source to generate a keymap
   overlay from scratch. If you only want to change a few key bindings
   from the original keymap, copy Keymap_Pc101_User_Defs,
   Keymap_Pc91_User_Defs, or Keymap_Pc86_User_Defs to another file, and
   then modify the portion of the file that applies to your custom keymap.
   
                                    * * *

   Users copy this file with another name, and then modify the copy to
   create printed keymap overlays of custom keybindings.
   
   The recommended naming convention for the copied file is:
   
      Keymap_<Template>_User_Defs
      
   Where <Template> is replaced with a unique name related to the
   actual key binding. For example, four keymap overlays are 
   distributed with RWI:
                                        
      Keymap_Pcbasic_User_Defs
      Keymap_Pc101_User_Defs
      Keymap_Pc91_User_Defs
      Keymap_Pc86_User_Defs
   
   Two other files are included by Keymap_Template_User_Defs
   
      Keymap_Template_Macros
      Keymap_Template_Tables
      
   In most cases, users will not modify these two files--the files
   are simply included by Keymap_Template_User_Defs)
   
~comment(=================== Building Your Keymap =====================)

   ~comment(
   To build your keymap from scratch:
   
      1. Make your custom changes to a renamed copy of this file, as
         instructed in each section below.
         
      2. Run Compose on the modified Keymap_<Template>_User_Defs file
         (or your renamed copy), and correct any errors.
      
      3. After Compose runs without errors, print the generated
         PostScript output file, Keymap_<Template>_User_Defs_Ps. 

   Note: You may want to copy an existing keymap, such as
         Keymap_Pc101_User_Defs, to a new file which you edit, instead of
         starting from scratch with Keymap_Template_User_Defs. )

~comment(==================== Text Entry Notes ========================)

~comment(
   All text entries are entered as parameters to macros.  Any text entry
   can be enclosed in formatting macros, such as ~bold(text) and
   ~italic(text) if desired.  If the length of a text entry exceeds the
   available table column width, the column entry will wrap to the next
   line.  In most cases, this is undesirable, so experiment with
   abbreviations and alternative words until each column entry is
   printed on one line. )

~comment(============ Include Structure Definition Macros =============)

   ~comment(
   This file contains definitions for the macros used in
   Keymap_Template_User_Defs and Keymap_Template_Tables. 
   In most cases, you can ignore the Keymap_Template_Macros file.)

   ~include(Keymap_Template_Macros)


~comment(================ Modifiable Keymap Title =====================)

   ~comment(Change the ~keymap_title text argument to suit your
            application. )

   ~keymap_title(Rational Environment Keymap for <your application>)


~comment(==== Modifiable Headings for each Column of Function Keys ====)

   ~comment(
   Provide heading text as arguments to the following macros.  For
   example, if you want the heading HELP to appear over the column for
   the F1 key, then use ~Heading_F1(HELP). )

   ~Heading_F1(F1)
   ~Heading_F2(F2)
   ~Heading_F3(F3)
   ~Heading_F4(F4)
   ~Heading_F5(F5)
   ~Heading_F6(F6)
   ~Heading_F7(F7)
   ~Heading_F8(F8)
   ~Heading_F9(F9)
   ~Heading_F10(F10)
   ~Heading_F11(F11)
   ~Heading_F12(F12)


~comment(================= Turning Modifier Rows OFF ==================)

   ~comment(
   Each row in the keymap table represents the bindings for each
   function key in a specific modifier state, such as [Shift].  By
   default, all eight rows are printed.  If you want to turn one or more
   rows off, so that they are not printed, add one or more of the
   following macros after this comment:
   
       ~Turn_OFF_CMS_row
       ~Turn_OFF_MS_row
       ~Turn_OFF_CM_row
       ~Turn_OFF_CS_row
       ~Turn_OFF_M_row
       ~Turn_OFF_C_row
       ~Turn_OFF_S_row
       ~Turn_OFF_BASE_row

    For example, if you want to exclude the CMS, MS, CM, and CS modifier
    rows, you add the following macros after this comment:

       ~Turn_OFF_CMS_row
       ~Turn_OFF_MS_row
       ~Turn_OFF_CM_row and
       ~Turn_OFF_CS_row
       
    Then the printed keymap contains only the M, C, S, and BASE rows.
    [END OF COMMENT] )
    
    
    
    



~comment(=============== Defining the Keymap Entries ===================)

   ~comment(
   The following 13 macro groups are associated with the 12 function keys
   and the modifier keys: Modifiers, F1, F2, F3, F4, F5, F6, F7, F8, F9,
   F10, F11, F12.
   
   Each macro group accepts text arguments to be printed on
   the keymap. 
   
      * The macros in the Modifier group label each row of the keymap:
        these rows are associated with the eight modifier key combinations
        possible with each function key.
   
      * The F1 through F12 macro groups specify the actual
        keybindings in each column of the keymap: each column is
        associated with one of twelve function keys. Each of these
        columns can contain up to eight keybindings--one for each
        modifier-combination of a given function key.

   You can modify your keymap overlay by replacing the text arguments in
   specific macros. For example, if you want the keymap entry for
   [Shift] [F1] to read "Help On Cmd", then:
   
      1. Find the ---- F1 ---- group of macros representing
         all modified states of F1.
         
      2. Change the ~S_F1() macro to: ~S_F1(Help On Cmd)
      

~comment(---- Modifiers ----)
                              


   The standard modifier abbreviations are predefined in the "Modifiers"
   group. The modifier abbreviations name each row of the keymap
   overlay that is associated with a given modifier key combination, for
   example, [Control-Shift].
   
   You can change these if desired. For example, if you wanted to use
   'A' instead of 'M' for the Alt/Meta key, you would change ~M(M) to be
   ~M(A), and likewise for the other modifiers containing 'M'. )

   ~CMS(CMS) ~comment(Control-Meta-Shift)
   ~MS(MS)   ~comment(Meta-Shift)
   ~CM(CM)   ~comment(Control-Meta)
   ~CS(CS)   ~comment(Control-Shift)
   ~M(M)     ~comment(Meta)
   ~C(C)     ~comment(Control)
   ~S(S)     ~comment(Shift)
   ~BASE()   ~comment(no modifiers) 
   

~comment(---- F1 ----)

   ~CMS_F1(Fill)
   ~MS_F1(in)
   ~CM_F1(these)
   ~CS_F1(blanks)
   ~M_F1(for)
   ~C_F1(your)
   ~S_F1(custom)
   ~F1(keybinding)

~comment(---- F2 ----)

   ~CMS_F2()
   ~MS_F2()
   ~CM_F2()
   ~CS_F2()
   ~M_F2()
   ~C_F2()
   ~S_F2()
   ~F2()

~comment(---- F3 ----)

   ~CMS_F3()
   ~MS_F3()
   ~CM_F3()
   ~CS_F3()
   ~M_F3()
   ~C_F3()
   ~S_F3()
   ~F3()

~comment(---- F4 ----)

   ~CMS_F4()
   ~MS_F4()
   ~CM_F4()
   ~CS_F4()
   ~M_F4()
   ~C_F4()
   ~S_F4()
   ~F4()

~comment(---- F5 ----)

   ~CMS_F5()
   ~MS_F5()
   ~CM_F5()
   ~CS_F5()
   ~M_F5()
   ~C_F5()
   ~S_F5()
   ~F5()

~comment(---- F6 ----)

   ~CMS_F6()
   ~MS_F6()
   ~CM_F6()
   ~CS_F6()
   ~M_F6()
   ~C_F6()
   ~S_F6()
   ~F6()

~comment(---- F7 ----)

   ~CMS_F7()
   ~MS_F7()
   ~CM_F7()
   ~CS_F7()
   ~M_F7()
   ~C_F7()
   ~S_F7()
   ~F7()

~comment(---- F8 ----)

   ~CMS_F8()
   ~MS_F8()
   ~CM_F8()
   ~CS_F8()
   ~M_F8()
   ~C_F8()
   ~S_F8()
   ~F8()

~comment(---- F9 ----)

   ~CMS_F9()
   ~MS_F9()
   ~CM_F9()
   ~CS_F9()
   ~M_F9()
   ~C_F9()
   ~S_F9()
   ~F9()

~comment(---- F10 ----)

   ~CMS_F10()
   ~MS_F10()
   ~CM_F10()
   ~CS_F10()
   ~M_F10()
   ~C_F10()
   ~S_F10()
   ~F10()

~comment(---- F11 ----)

   ~CMS_F11()
   ~MS_F11()
   ~CM_F11()
   ~CS_F11()
   ~M_F11()
   ~C_F11()
   ~S_F11()
   ~F11()

~comment(---- F12 ----)

   ~CMS_F12()
   ~MS_F12()
   ~CM_F12()
   ~CS_F12()
   ~M_F12()
   ~C_F12()
   ~S_F12()
   ~F12()
                             
~comment(=============== Numeric Keypad Entries ================)

   ~comment(--- Turning OFF the numeric keypad overlay ---
            If you do not need the numeric keypad overlay, add the
            macro: ~Turn_OFF_num_pad )
      

   ~comment(Description and Layout:
            This numeric keypad is based on the PC101 keyboard. Other
            keyboards may have a different numeric keypad layout, or 
            none at all. You may find the alternative nine-key pad 
            better suited for some numeric keypads.
            
            The numeric keypad is printed in three pieces: Part A, 
            Part B, and Part C. These three pieces are to be pasted
            together, as instructed by the tab notes.
            
            The layout of the ~NumKey macros in relation to the 
            numeric keypad is:
            
            ------------- -------------- --------------- --------------
           |~NumKey_Lock |~NumKey_Slash |~NumKey_Star   |~NumKey_Minus |
            ------------- -------------- --------------- --------------    
           |~NumKey_7    |~NumKey_8     |~NumKey_9      |              |    
            ------------- -------------- ---------------  ~NumKey_Plus |   
           |~NumKey_4    |~NumKey_5     |~NumKey_6      |              |    
            ------------- -------------- --------------- --------------           
           |~NumKey_1    |~NumKey_2     |~NumKey_3      |              |    
            ------------- -------------- --------------- ~NumKey_Enter |  
           |       ~NumKey_0            |~NumKey_Decimal|              |
            ----------- ----------- ----------- -------- --------------     
                                                    
                                                    
           The keypad overlay will print in three parts, which you glue
           together.
           
           Entries for the ~NumKey macros:
           
              Two Compose markup macros are used in the ~NumKey entries:
              the carriage return macro is (~<) and the hard space is (~ ).
              These macros are necessary for proper formatting of the 
              table. You include these markup macros with your keybindings.
              
              For example, if the key Numeric 7 is bound to the Begin Of
              command, you would change:
              
                  ~NumKey_7(7~<) to be ~NumKey_7(7~<Begin Of)
                  
              This will print a keycap on the overlay that looks something
              like:
              
                   ----------
                  | 7        |
                  | Begin Of |
                   ----------
              
              Certain keys are more complicated: 0, ., +, and Enter.
              
              For example, to add the Image binding to the
              ~NumKey_Plus(~blankspace(15points)+~<~<~<) macro, change
              it to: ~NumKey_Plus(~blankspace(15points)+~<Image~<~<).
              This will produce a keycap on the overlay similar to:
              
                   ----------
                  |          |
                  | +        |
                  | Image    |
                  |          |
                  |          |
                   ----------
              
              Experiment with the markup macros until you achieve the
              desired results.  Just in case you need the original
              arguments to the macros, they are included here for
              reference:
              
                   ~NumKey_0(0~<~ ~ )
                   ~NumKey_1(1~<)
                   ~NumKey_2(2~<)
                   ~NumKey_3(3~<)
                   ~NumKey_4(4~<)
                   ~NumKey_5(5~<)
                   ~NumKey_6(6~<)
                   ~NumKey_7(7~<)
                   ~NumKey_8(8~<)
                   ~NumKey_9(9~<)

                   ~NumKey_Decimal(.~<~ ~ )
                   ~NumKey_Enter(~<~<Enter~<~<)
   
                   ~NumKey_Lock(Num~< Lock)
                   ~NumKey_Slash(/~<)
                   ~NumKey_Star(*~<)
                   ~NumKey_Plus(~blankspace(15points)+~<~<)
                   ~NumKey_Enter(~blankspace(23points)Enter~<~ ~<)
                   

                   ~NumKey_Minus(-~<~ ~ )
                   ~NumKey_Plus(~<+~<~<~<)


               END OF COMMENT )
   
  
   ~NumPad_title(Numeric Keypad)

   ~NumKey_0(0~<~ ~ )
   ~NumKey_1(1~<)
   ~NumKey_2(2~<)
   ~NumKey_3(3~<)
   ~NumKey_4(4~<)
   ~NumKey_5(5~<)
   ~NumKey_6(6~<)
   ~NumKey_7(7~<)
   ~NumKey_8(8~<)
   ~NumKey_9(9~<)

   ~NumKey_Decimal(.~<~ ~ )
   ~NumKey_Enter(~blankspace(23points)Enter~<~ ~<)
   
   ~NumKey_Lock(Num~< Lock)
   ~NumKey_Slash(/~<)
   ~NumKey_Star(*~<)
   ~NumKey_Minus(-~<~ ~ )
   ~NumKey_Plus(~blankspace(15points)+~<~<)
   

~comment(================ Other Keymap Entries =================)

   ~comment(
   This section contains four general-purpose sets of grouped key
   labels that are useful for various keyboard applications:
   
      Nine-key group  (3x3 matrix)
      Six-key group   (2x3 matrix)
      Three-key group (1x3 matrix)
      Eighteen single keys
   
   If you don't want any of these key groups to print, simply add the
   macro:
   
      ~Turn_OFF_all_groups
      
   If you want to selectively exclude some groups, but print others,
   add one or more of the following macros:
   
      ~Turn_OFF_nine_key_group
      ~Turn_OFF_six_key_group
      ~Turn_OFF_three_key_group
      ~Turn_OFF_single_key_group   )
      
   ~comment(
   If you want each row to print wider, simply embed return
   macros ( ~< ) in your text entries. For example, to make
   a fat label, the key entry could be similar to:
   
      ~Key9_1(~< one ~<)    )  


   ~comment(Nine-Key Group:
   
            * * *
            * * *
            * * *    This group may be useful for some numeric 
                     keypad applications.)
 
   ~nine_key_group_title(Nine-Key Group)
   ~Key9_1(one)
   ~Key9_2(two)
   ~Key9_3(three)
   ~Key9_4(four)
   ~Key9_5(five)
   ~Key9_6(six)
   ~Key9_7(seven)
   ~Key9_8(eight)
   ~Key9_9(nine)

   ~comment(Six-Key Group:
   
            * * *
            * * *    This group is useful for the auxiliary keypad
                     on the PC101 Enhanced keyboard (contains the
                     keys Insert, Home, PageUp, Delete, End, PageDown).)
   
   ~six_key_group_title(Six-Key Group)
   ~Key6_1(one)
   ~Key6_2(two)
   ~Key6_3(three)
   ~Key6_4(four)
   ~Key6_5(five)
   ~Key6_6(six)

   ~comment(Three-Key Group:
   
            * * *    This group may be useful for laptops)
   
   ~three_key_group_title(Three-Key Group)
   ~Key3_1(one)
   ~Key3_2(two)
   ~Key3_3(three)

   ~comment(Eighteen Single Keys: Useful wherever you need them)
     
   ~Key_1(one)
   ~Key_2(two)
   ~Key_3(three)

   ~Key_4(four)
   ~Key_5(five)
   ~Key_6(six)

   ~Key_7(seven)
   ~Key_8(eight)
   ~Key_9(nine)

   ~Key_10(ten)
   ~Key_11(eleven)
   ~Key_12(twelve)
   
   ~Key_13(thirteen)
   ~Key_14(fourteen)
   ~Key_15(fifteen)
   
   ~Key_16(sixteen)
   ~Key_17(seventeen)
   ~Key_18(eighteen)


~comment(=============== Generate the Keymap ===========================)
 
   ~comment(The file Keymap_Template_Tables contains the table macros
   that generate the keymap.  If you want to change Compose Environment
   settings such as font family, point size, and spacing, they are found
   in this file. You may want to copy Keymap_Template_Tables to a file
   with another name, and include that file in your
   Keymap_<Template>_User_Defs file, since other keymaps, such as
   Keymap_Pc101_User_Defs, include Keymap_Template_Tables. )

   ~include(Keymap_Template_Tables)