DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ K T ┃
Length: 16430 (0x402e) Types: TextFile Names: »KEYMAP_PC101_USER_DEFS«
└─⟦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⟧
~comment( File: Keymap_Pc101_User_Defs Date: August 26, 1991 Type: Source file for Compose-generated Keymap Overlay Implementation: Pc101 terminal type for RWI This file contains the Compose source to generate a keymap overlay for the Pc101 terminal type for RWI. Users can either: * copy this file with another name, and then modify the copy to create printed keymap overlays of custom keybindings that are based on the Pc101 terminal type. * Run Compose on this file as is, and then print the resulting Keymap_Pc101_User_Defs_Ps PostScript file. The recommended naming convention for the copied file is: Keymap_<Pc101>_User_Defs Where <Pc101> 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_<Pc101>_User_Defs) ~comment(=================== Building Your Keymap =====================) ~comment( To build your keymap: 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_Pc101_User_Defs file (or your renamed copy), and correct any errors. 3. After Compose runs without errors, print the generated PostScript output file, Keymap_<Pc101>_User_Defs_Ps. ) ~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_Driver. 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 PC101) ~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(Help) ~Heading_F2(Debug) ~Heading_F3(Debug) ~Heading_F4(Debug) ~Heading_F5(Traverse) ~Heading_F6(CMVC) ~Heading_F7(Promote) ~Heading_F8(Demote) ~Heading_F9(Create) ~Heading_F10(Analyze) ~Heading_F11(Items) ~Heading_F12(Info/Jobs) ~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() ~MS_F1() ~CM_F1() ~CS_F1(Help Window) ~M_F1(Help On Help) ~C_F1(Help On Key) ~S_F1(Help On Cmd) ~F1(Prompt For) ~comment(---- F2 ----) ~CMS_F2() ~MS_F2() ~CM_F2(Task Display) ~CS_F2(Step Returned) ~M_F2(Stop) ~C_F2(Step Local) ~S_F2(Go) ~F2(Step) ~comment(---- F3 ----) ~CMS_F3() ~MS_F3() ~CM_F3() ~CS_F3(Show Breaks) ~M_F3(Activate) ~C_F3(Remove Break) ~S_F3(Break) ~F3(Show Source) ~comment(---- F4 ----) ~CMS_F4() ~MS_F4() ~CM_F4() ~CS_F4(Debugger Window) ~M_F4(Catch Exception) ~C_F4(Propagate Exceptn) ~S_F4(Stack) ~F4(Put) ~comment(---- F5 ----) ~CMS_F5() ~MS_F5(Enclosing (IP)) ~CM_F5(Home Library) ~CS_F5(Other Part (IP)) ~M_F5(Enclosing) ~C_F5(Other Part) ~S_F5(Definition (IP)) ~F5(Definition) ~comment(---- F6 ----) ~CMS_F6() ~MS_F6() ~CM_F6(Show Info) ~CS_F6(Accept Changes) ~M_F6(CMVC Notes) ~C_F6(Check In) ~S_F6(CMVC Edit) ~F6(Check Out) ~comment(---- F7 ----) ~CMS_F7() ~MS_F7() ~CM_F7(Code (AW)) ~CS_F7(Code (TW)) ~M_F7(Install (TW)) ~C_F7(Code Unit) ~S_F7(Install Stub) ~F7(Install Unit) ~comment(---- F8 ----) ~CMS_F8() ~MS_F8() ~CM_F8(Uncode (TW)) ~CS_F8(Source (TW)) ~M_F8(Withdraw Unit) ~C_F8(Source Unit) ~S_F8(Demote) ~F8(Edit) ~comment(---- F9 ----) ~CMS_F9() ~MS_F9() ~CM_F9(Create Text) ~CS_F9(Create World) ~M_F9(Create Directory) ~C_F9(Create Ada) ~S_F9(Create Body) ~F9(Create Cmd) ~comment(---- F10 ----) ~CMS_F10() ~MS_F10() ~CM_F10(Show Unused) ~CS_F10(Show Usage) ~M_F10(Show Unused (U)) ~C_F10(Show Usage (U)) ~S_F10(Explain) ~F10(Semanticize) ~comment(---- F11 ----) ~CMS_F11() ~MS_F11(Underlines Off) ~CM_F11(Show Errors) ~CS_F11(Previous Underline) ~M_F11(Item Off) ~C_F11(Previous Item) ~S_F11(Next Underline) ~F11(Next Item) ~comment(---- F12 ----) ~CMS_F12() ~MS_F12() ~CM_F12(Job Connect) ~CS_F12(Show Access List) ~M_F12(What Load) ~C_F12(What Locks) ~S_F12(What Object) ~F12(What Users) ~comment(=============== Numeric Keypad Entries ================) ~comment( If you do not need the numeric keypad overlay, add the macro: ~Turn_OFF_num_pad ) ~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(~<+~<~<~<) macro, change it to: ~NumKey_Plus(~<+~<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_Minus(-~<~ ~ ) ~NumKey_Plus(~<+~<~<~<) END OF COMMENT ) ~NumPad_title(Numeric Keypad) ~NumKey_0(0~<~ ~ ) ~NumKey_1(1~<End Of) ~NumKey_2(2~<Cursor Down) ~NumKey_3(3~<Image Down) ~NumKey_4(4~<Cursor Left) ~NumKey_5(5~<) ~NumKey_6(6~<Cursor Right) ~NumKey_7(7~<Begin Of) ~NumKey_8(8~<Cursor Up) ~NumKey_9(9~<Image Up) ~NumKey_Decimal(.~<EOI~ ~ ) ~NumKey_Lock(Num~< Lock) ~NumKey_Slash(/~<Line) ~NumKey_Star(*~<Word) ~NumKey_Minus(-~<Mark~ ~ ) ~NumKey_Plus(~blankspace(15points)+~<Image~<) ~NumKey_Enter(~blankspace(23points)Enter~<~ ~<) ~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 ~<) ) ~Turn_OFF_nine_key_group ~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(Auxiliary and Item Keys) ~Key6_1(Object) ~Key6_2(Region) ~Key6_3(Window) ~Key6_4(Promote) ~Key6_5(Complete) ~Key6_6(Format) ~Turn_OFF_Three_Key_Group ~comment(Three-Key Group: * * * This group may be useful for laptops) ~three_key_group_title(Three-Key Group) ~Key3_1() ~Key3_2() ~Key3_3() ~Turn_OFF_Single_Key_Group ~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_<Pc101>_User_Defs file, since other keymaps, such as Keymap_Pc101_User_Defs, may include Keymap_Template_Tables.) ~include(Keymap_Template_Tables)