home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p115 / 1.ddi / GCDMISC / GCDMAC.DEF < prev    next >
Encoding:
Text File  |  1989-08-22  |  5.9 KB  |  142 lines

  1. ---------------------------------------
  2. -- Macros file for the IBM PC/XT/AT  --
  3. ---------------------------------------
  4.  
  5. -- 04/17/89 SMF REMOVED ^E --> ^C    NEEDED ^E FOR IN-LINE TEXT FONTS
  6. -- 03/02/89 TAA RENAMED
  7. -- 07/06/87 NCC Changed help macro function keys from 1 to 101, 2 to 102,...
  8. -- 03/01/87 NCC Added HELP macro Set 4
  9. -- 07/03/86 NCC New version for multiple groups of key board macros and
  10. --              new BLDF format
  11. -- 12/03/85 NCC Added key redefinitions for editing strings
  12. -- 07/20/84 NCC Created
  13.  
  14. ------------------------------------------------------------------------------
  15. --Note: Macros in each set should be organized such that the macros with the
  16. --      fewest number of characters in the key definition are defined before
  17. --      macros with more characters in the key definition part. ie
  18. --
  19. --Macro "#5"   "#3"       --this one has 1 character (5) and is placed before
  20. --Macro "#0O"  "#201"     --this one which has 2 characters (0 and 'O')
  21. ------------------------------------------------------------------------------
  22.  
  23. Begin KeyMacro
  24.  
  25. File \GCD4\GCD.MAC
  26.  
  27. Set 1           --Default key macro definitions
  28.         
  29. Macro "#17"  "#3"       --^Q  ABORT
  30.  
  31. --^E is now used for in-line text font #2
  32. --Macro "#5"   "#3"       --^E  ABORT
  33.  
  34. Macro "#0;"  "#27##1"           --F1       Last command repeat one char 
  35. Macro "#0<"  "#27##2"           --F2
  36. Macro "#0="  "#27##3"           --F3       Last command repeat
  37. Macro "#0>"  "#27##4"           --F4
  38. Macro "#0?"  "#27##5"           --F5       String insert command
  39. Macro "#0@"  "#27##6"           --F6       String delete command
  40. Macro "#0A"  "#27##7"           --F7       Keyboard macro save
  41. Macro "#0B"  "#27##8"           --F8       Keyboard macro playback
  42. Macro "#0C"  "#27##9"           --F9       StepSize / 2
  43. Macro "#0D"  "#27##10"          --F10      StepSize * 2
  44.  
  45. Macro "#0G"  "#27##239"           --Home   Macro arrow commands
  46. Macro "#0H"  "#27##240"           --Up
  47. Macro "#0I"  "#27##241"           --PgUp
  48. Macro "#0K"  "#27##242"           --Left
  49. Macro "#0L"  "#27##243"           --Center
  50. Macro "#0M"  "#27##244"           --Right
  51. Macro "#0O"  "#27##245"           --End
  52. Macro "#0P"  "#27##246"           --Down
  53. Macro "#0Q"  "#27##247"           --PgDn
  54. Macro "#0R"  "#27##248"           --Ins    Macro command DIG
  55. Macro "#0S"  "#27##249"           --Del    Macro command UNDIG
  56.  
  57. --Macro "#0O"  "#201"     --DOWN & LEFT
  58. --Macro "#0P"  "#202"     --DOWN
  59. --Macro "#0Q"  "#203"     --DOWN & RIGHT
  60. --Macro "#0K"  "#204"     --LEFT
  61. --Macro "#0B"  "#205"     --F8 MOVE CROSS HAIR TO CENTER
  62. --Macro "#0L"  "#205"     --5 MOVE CROSS HAIR TO CENTER
  63. --Macro "#0M"  "#206"     --RIGHT
  64. --Macro "#0G"  "#207"     --UP & LEFT
  65. --Macro "#0H"  "#208"     --UP
  66. --Macro "#0I"  "#209"     --UP & RIGHT
  67. --Macro "#0C"  "#211##2"  --F9   DIVIDE CURSOR STEP SIZE BY 2
  68. --Macro "#0D"  "#212##2"  --F10 MULTIPY CURSOR STEP SIZE BY 2
  69. --Macro "#0;"  "#1"       --F1  DIGITIZE
  70. --Macro "#0?"  ":"        --F5
  71. --Macro "#0A"  "#3"       --F7  ABORT
  72. --Macro "#0R"  "#1"       --INS DIGITIZE
  73. --Macro "#0S"  "#127"     --DEL DELETE
  74.  
  75. Set 2      --Function key definitions for text editor
  76.  
  77. Macro "#13"  "#27##139" --RETURN END EDIT
  78. Macro "#0;"  "#27##131" --F1  COPY ONE CHARACTER FROM RETAINED LINE
  79. Macro "#0<"  "#27##132" --F2  COPY ALL CHARACTERS UP TO SPECIFIED CHARACTER
  80. Macro "#0="  "#27##133" --F3  COPY ALL REMAINING CHARACTERS FROM RETAINED LINE
  81. Macro "#0>"  "#27##134" --F4  SKIP ALL CHARACTERS TO SPECIFIED CHARACTER
  82. Macro "#0?"  "#27##135" --F5  ACCEPT EDITED LINE FOR MORE EDITING AS RETAINED LINE
  83. Macro "#0@"  "#27##136" --F6  CARRIAGE RETURN
  84. Macro "#27"  "#27##137" --ESC START EDIT OVER
  85. Macro "#0R"  "#27##138" --INS TOGGLE INSERT FLAG
  86. Macro "#0O"  "#27##139" --RETURN END EDIT
  87. Macro "#0S"  "#127"     --DEL DELETE
  88.  
  89. Set 3   --These macros are checked when input is from the pointing device
  90.         --ie the mouse or digitizing tablet
  91.  
  92. --Macro "#1"  "#1"                        --Left button on 2 or 3 button mouse
  93. Macro "#2"    "#127"                    --Right button on 2 button mouse
  94.                                         --or Middle button on 3 button mouse
  95.  
  96. --Macro "#3"    "\E-\#13#RPNT#13#\E+\"      --Left+Right button on 2 button mouse
  97.                                         --or Left+Middle on 3 button mouse
  98. --Macro "#4"  "#13#\E-\REM \E+\Right Button#13" --Right button on 3 button mouse
  99. --Macro "#5"  ""                          --Right+Left on 3 button mouse
  100. --Macro "#6"  ""                          --Middle+Right on 3 button mouse
  101. --Macro "#7"  ""                          --Left+Middle+Right on 3 button mouse
  102.  
  103. Set 4    --These macros are used when in the HELP system
  104.  
  105. --Note: the Return character (#13) should not be remapped as it is used
  106. --      by the file display system as the respnse the user would input
  107. --      to go to the next page of the file being displayed (ie the help file)
  108.  
  109. --Help answer response codes
  110.  
  111. Macro "#0;"  "#27##101"           --F1
  112. Macro "#0<"  "#27##102"           --F2
  113. Macro "#0="  "#27##103"           --F3
  114. Macro "#0>"  "#27##104"           --F4
  115. Macro "#0?"  "#27##105"           --F5
  116. Macro "#0@"  "#27##106"           --F6
  117. Macro "#0A"  "#27##107"           --F7
  118. Macro "#0B"  "#27##108"           --F8
  119. Macro "#0C"  "#27##109"           --F9
  120. Macro "#0D"  "#27##110"           --F10
  121.  
  122. --Special help functions
  123.  
  124. Macro "#0I"  "#27##250"         --PgUp, page to previous page in help system
  125. Macro "#0Q"  "#27##251"         --PgDn, page to next page in help system
  126. Macro "#0P"  "#27##252"         --ArwDn, more help in help system
  127. Macro "#0O"  "#27##253"         --End, exit help system
  128. Macro "#27"  "#27##253"         --Esc, exit help system
  129.  
  130. Set 5  --This macro set is reserved for when a UPL program executes an Accept statement
  131.  
  132. --Examples:
  133. --Macro "#0;"  "F1"               --F1
  134. --Macro "#0<"  "F2"               --F2
  135. --Macro "#0="  "F3"               --F3
  136. --Macro "#0>"  "F4"               --F4
  137.  
  138. End KeyMacro
  139.  
  140. End
  141.  
  142.