home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / sprint / texmac.zip / KEYS.SPM < prev    next >
Text File  |  1991-11-27  |  5KB  |  226 lines

  1. ; Scribe compatible Sprint Alternative User Interface v. 1.01
  2. ; Copyright (c) 1988 Borland International.  All Rights Reserved.
  3. ;   
  4. ; September 9, 1988, RDT 11/25/90, 1/3/91 more changes
  5.  
  6. ; NAME: KEYS.UIM
  7. ; VERSION: 1.
  8. ; DESCRIPTION: Keystroke macros used by the user
  9. ;    interface, merged from SP & FWII
  10. ; LAST UPDATE: September 9, 1988. RDT, November 30, 1990, 12/9/90
  11. ; -----------------------------------------------------------------
  12. ; Control and Function Keys
  13.  
  14. BSKey : repeat DelBack    ; sp.spm
  15. DeleteKey : IsSelect ? BlockDelete : DeleteNext
  16. CapKey : if !select FWCaseRotate else CaseInit
  17. EscapeKey :
  18.     if ruleredit {
  19.         toeol c 0->ruleredit
  20.         if record KeyRecordMsg    ; restore record message
  21.         }
  22.     else {
  23.         if (select && inbuff themark) {    0->select draw}; kill selectloop
  24.         abort
  25.         }
  26.  
  27. ^@ : key + 256 keyexec        ; handle IBM function key 0 prefix
  28.  
  29. ' ' : SpaceInsert
  30. SP : SpaceInsert
  31.  
  32. ; Ctrl-Letter codes ----------------------------------------------
  33.  
  34. ;^[ : EditMenu 0 ? EscapeKey
  35. ^[ : EscapeKey
  36. ^? : DelBack
  37. ^A : again
  38. ^B : WordBack
  39. ^C : CapKey
  40. ^D : DeleteKey
  41. ^E : LineFwd
  42. ^F : Right
  43. ^G : CountRepeat
  44. ^H : DelBack    ; BS Key
  45. ^I : TabInsert    ; Tab Key, see ~^I for Ctrl-I
  46. ^J : LineNext    ; Ctrl-Enter, see ~^J for Ctrl-J
  47. ^K : DelFwd
  48. ^L : LocateNext
  49. ^M : NewLinePressed
  50. ^N : Down
  51. ^O : LineOpen
  52. ^P : Up
  53. ^Q : Quote
  54. ^R : Left
  55. ^S : LineBack
  56. ^T : CharTranspose
  57. ^U : BlockPaste
  58. ^V : ScreenFwd
  59. ^W : WordFwd
  60. ^X : EditMenu
  61. ^Y : ScreenBack
  62. ^Z : EscapeKey
  63.  
  64. ; Alt-Letter codes ----------------------------------------------
  65.  
  66. ~A : Null
  67. ~B : Null
  68. ~C : Null
  69. ~D : MacroCollDo        ; Alt-D  play keyboard recording
  70. ~E : Null
  71. ~F : Null
  72. ~G : Null
  73. ~H : MacroCollHalt        ; Alt-H  end keyboard recording
  74. ~I : Null
  75. ~J : Null
  76. ~K : swapmark    ; same as MarkGoTo
  77. ~L : Null
  78. ~M : Null
  79. ~N : Null
  80. ~O : Null
  81. ~P : Null
  82. ~Q : ExitEditor
  83. ~R : Null
  84. ~S : Null
  85. ~T : WordTranspose
  86. ~U : Null
  87. ~V : Null
  88. ~W : Null
  89. ~X : MacroExecute
  90. ~Y : Null
  91. ~Z : ++raw
  92.  
  93. ; IBM PC Function keys ----------------------------------------------
  94.  
  95. ; F1 thru F10
  96. F1  : EditMenu   ; in menus, F1 produces the macro name of hilit choice
  97.                  ; which you can look up in the source file to see what and how it does.
  98. F2  : FilesMenu
  99. F3  : RegionMenu
  100. F4  : WindowsMenu
  101. F5  : JumpMenu
  102. F6  : LocateMenu
  103. F7  : GlossMenu
  104. F8  : MacroMenu
  105. F9  : PrintMenu
  106. F10 : FormatMenu
  107.  
  108. ;F12 : ExitEditor ; AT users might as well get one-key exit, since F10 is taken
  109.  
  110. ; Ctrl-F1 thru Ctrl-F10
  111. F33 : ToggleSelect    ;
  112. F34 : BlockCopy        ;
  113. F35 : BlockDelete    ;
  114. F36 : BlockPaste    ;
  115. F37 : 
  116. F38 : 
  117. F39 : 
  118. F40 : 
  119. F41 : 
  120. F42 : 
  121.  
  122. ; FinalWord II specifically leaves shifted function keys and alt-letters
  123. ; open to the user, so set them up all empty, so as not to clutter up menus,
  124. ; at least initially.  Let the user do his own cluttering...
  125.  
  126. ; Shift-F1-shift-F12
  127. F17 : HelpMenu    
  128. F18 : Null
  129. F19 : Null
  130. F20 : Null
  131. F21 : Null
  132. F22 : Null
  133. F23 : Null
  134. F24 : Null
  135. F25 : Null
  136. F26 : Null
  137.  
  138. F27 :     Null
  139. F28 :     Null
  140.  
  141. ; Alt-F1-Alt-F12
  142. F49 : FilePick    
  143. F50 : Null
  144. F51 : FileBack
  145. F52 : FileFwd
  146. F53 : WindowBack
  147. F54 : WindowFwd
  148. F55 : Null
  149. F56 : Null
  150. F57 : AltPrintMenu
  151. F58 : AltFormatMenu
  152.  
  153. F59: Null
  154. F60: Null
  155.  
  156. ; Numeric Keypad keys ----------------------------------------------
  157. F100H : ShortCutsMenu    ; control spacebar
  158. F1ADH :         ; grey minus
  159. F1ABH :         ; grey plus
  160. F1A0H : ' ' insert      ; alt-space bar
  161.  
  162. F1A9H : KeyRecordEnd ; Alt-)
  163.  
  164. F147H : LineBack        ; Home
  165. F148H : Up            ; Up Arrow
  166. F14BH : Left            ; Left Arrow
  167. F14CH : ;ToggleDir        ; '5' key if produced, flag4
  168. F150H : Down            ; Down Arrow
  169. F14DH : Right            ; Right Arrow
  170. F14FH : LineFwd            ; End
  171. F152H : LineOpen        ; Ins
  172. F153H : BlockDelete        ; Del
  173. F149h : ParagraphBack         ; PgUp
  174. F151H : ParagraphFwd        ; PgDn
  175. F16BH : WordBack        ; Ctrl-left
  176. F16DH : WordFwd            ; Ctrl-right
  177. F167H : SentenceBack         ; Ctrl-Home
  178. F16FH : SentenceFwd        ; Ctrl-End
  179. F168H : Null ;TUnitBack        ; Ctrl Up
  180. F169H : ScreenBack        ; Ctrl-PgUp
  181. F170H : Null ;TUnitFwd        ; Ctrl Down
  182. F171H : ScreenFwd        ; Ctrl-PgDn
  183.  
  184. F59H : TabBack        ; shift-tab
  185.  
  186. ^? : WordBackDelete
  187. ;r delete WordBack 1->AppendNext set markF    ; Ctrl-BS
  188.  
  189. ;; Other key set-ups, very useful for debugging
  190. ; Shift-Alt codes ----------------------------------------------
  191. ~a : Null
  192. ~b : Null
  193. ~c : Null
  194. ~d : Null
  195. ~e : Null
  196. ~f : Null
  197. ~g : Null
  198. ~h : Null
  199. ~i : Null
  200. ~j : Null
  201. ~k : Null
  202. ~l : Null
  203. ~m : Null
  204. ~n : Null
  205. ~o : Null
  206. ~p : Null
  207. ~q : Null
  208. ~p : Null
  209. ~q : Null
  210. ~r : MacroRunFile
  211. ~s : Null
  212. ~t : Null
  213. ~u : SetEmulation
  214. ~v : InitScreen
  215. ~w : Null
  216. ~x : Null
  217. ~y : Null
  218. ~z : Null
  219. ~x : $ macro    ; raw macro for manip. QG, MacroExecute
  220.  
  221. ; Alt-Ctrl letter codes, deceptive, you actually push Alt-letter
  222. ~^H : DelBack    ; WordBackDelete
  223. ~^I : LocateInc    ; Ctrl I
  224. ~^J : NewLineIndent
  225. ~^M : NewLinePressed    ; look I can do alt-ctrl
  226.