home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / SEDTOS2.ZIP / ATKEY.EDT < prev    next >
Text File  |  1988-08-19  |  7KB  |  250 lines

  1. ;Sedtkeys for enhanced EDT emulation on the LK201 keyboard
  2. ;Sedt version 3.2
  3. ;Anker Berg-Sonne
  4. A001:LS.
  5. ;Control A:    Set indentation level
  6. A004:LD.
  7. ;Control D:    Decrease indentation level
  8. A005:LI.
  9. ;Control E:    Increase indentation level
  10. A008-@L.
  11. ;Control H:    Backspace;Goto line start
  12. A009:TAB.
  13. ;Control I:    Tab;Insert a tab character
  14. A010(:D-@W).
  15. ;Control J:    Line feed;Delete to beginning of word
  16. A011:K!"Key:"?"As: ".
  17. ;Control K:    Define key
  18. A012:FNL.
  19. ;Control L:    Enlargen Font
  20. A013:NL.
  21. ;Control M:    Return;Insert a carriage return
  22. A016:PR?"Print on file: ".
  23. ;Control P:    Print contents of buffer
  24. A018:FNS.
  25. ;Control R:     Reduce font
  26. A020:TAD@SR.
  27. ;Control T:    Adjust text a tab stop
  28. A021(:D-@L).
  29. ;Control U:    Delete to beginning of line
  30. A023:RF.
  31. ;Control W:    Refresh display
  32. A027(27:CH).
  33. ;Escape:    Insert an escape character
  34. A127(^S(:D@SR|:D-@C)).
  35. ;Rubout:    Delete previous character
  36. GA009:SK!"Key:".
  37. ;Gold control I:Save key definition in buffer
  38. GA012:LK!"Key:"@SR.
  39. ;Gold control L:Load key definition from select range
  40. GA013:SYS?"Operating system command: ".
  41. ;Gold Return;   Execute O/S command
  42. GA043+
  43. ;Gold +:    Set temporary direction to forward
  44. GA045-
  45. ;Gold -:    Set temporary direction to reverse
  46. GA046@M.
  47. ;Gold .:    Goto mark
  48. GA060-
  49. ;Gold <:    Set temporary direction to reverse
  50. GA062+
  51. ;Gold >:    Set temporary direction to forward
  52. GA065:TS.
  53. ;Gold A:        Toggle automatic screen shifting
  54. GA066+@EB.
  55. ;Gold B:    Goto end of buffer
  56. GA067:CL.
  57. ;Gold C:    Center line
  58. GA068:WC.
  59. ;Gold D:    Toggle between one and two window mode
  60. GA069:FE?"Edit File: ".
  61. ;Gold E:    Edit new file in current buffer
  62. GA0700:X.
  63. ;Gold F:    Save current buffer and exit
  64. GA071:FG?"Get File: ".
  65. ;Gold G:    Include file at current position
  66. GA072:H.
  67. ;Gold H:    Help
  68. GA073:TT.
  69. ;Gold I:        Toggle tab expansion/insertion
  70. GA074(9:M^E(-@L)():TF+@PAR9@M).
  71. ;Gold J:        Refill paragraph from beginning of line
  72. GA076:TB.
  73. ;Gold L:        Toggle block/line cut and paste
  74. GA077:M.
  75. ;Gold M:    Set mark
  76. GA079:OS.
  77. ;Gold O:    Toggle overstrike mode
  78. GA080(12:CH).
  79. ;Gold P:    Insert a form feed character
  80. GA081:Q.
  81. ;Gold Q:    Exit without saving current buffer
  82. GA082:RL.
  83. ;Gold R:    Enter ruler definition mode
  84. GA083:FS?"Save onto File: ".
  85. ;Gold S:    Save contents of buffer
  86. GA084-@BB.
  87. ;Gold T:    Goto start of buffer
  88. GA085:UM.
  89. ;Gold U:    Undo last command if possible
  90. GA087:WD.
  91. ;Gold W:    Toggle between 132 and 80 character screen
  92. GA088:OW.
  93. ;Control X:     Switch to previous window
  94. GA090:Z.
  95. ;Gold Z:    Clear buffer
  96. GA095:I- 9:M^E(-@L)():TF+@PAR9@M.
  97. ;Gold _:    Insert a hyphen and reindent paragraph
  98. F004:EAP@SR.
  99. ;F4:    Append select range to paste buffer
  100. F006^C(:FS).
  101. ;Interrupt:    Save contents of buffer
  102. F007^C(:FS):CS.
  103. ;Resume:    Save contents of buffer and context
  104. F008:Q.
  105. ;Cancel:    Quit without saving buffer
  106. F009.
  107. ;Main Screen:    Dead key
  108. F0100:X.
  109. ;Exit:        Save buffer and exit
  110. F011(27:CH).
  111. ;F11(ESC):    Insert an escape character
  112. F012-@L.
  113. ;F12(BS):    Goto beginning of line
  114. F013(:D-@W).
  115. ;F13(LF):    Delete to beginning of word
  116. F014^C(:FS):SYSTXTF %F %N.LST /G.
  117. ;Additional Options:Process file with TXTF
  118. F015:H.
  119. ;Help:        Help
  120. F016:SYS?"Operating system command: ".
  121. ;Do:        Execute operating system command
  122. F0170:WI.
  123. ;F17:        Select buffer 0
  124. F0181:WI.
  125. ;F18:        Select buffer 1
  126. F0192:WI.
  127. ;F19:        Select buffer 2
  128. F0203:WI.
  129. ;F20:        Select buffer 3
  130. F021@N.
  131. ;Find:        Goto next occurrence of search string
  132. F022:USR.
  133. ;Insert Here:    Paste
  134. F023:D@SR.
  135. ;Remove:    Cut
  136. F024:SEL.
  137. ;Select:    Set select point at current position
  138. F025-@SCR.
  139. ;Prev Screen:    Go one screen up
  140. F026+@SCR.
  141. ;Next Screen:    Go one screen down
  142. F027-@V.
  143. ;Up Arrow:    Go 1 line up vertically
  144. F028-@C.
  145. ;Left Arrow:    Go 1 character back
  146. F029+@V.
  147. ;Down Arrow:    Go 1 line down vertically
  148. F030+@C.
  149. ;Right Arrow:    Go 1 character forward
  150. F031@L.
  151. ;Keypad 0:    Goto next line beginning
  152. F032@W.
  153. ;Keypad 1:    Goto next word
  154. F033@EL.
  155. ;Keypad 2:    Goto next end of line
  156. F034@C.
  157. ;Keypad 3:    Goto next character
  158. F035:A.
  159. ;Keypad 4:    Set default direction forward
  160. F036:B.
  161. ;Keypad 5:    Set default direction reverse
  162. F037:D@SR.
  163. ;Keypad 6:    Cut
  164. F038@PAG.
  165. ;Keypad 7:    Goto next page
  166. F039@PAR.
  167. ;Keypad 8:    Goto next paragraph
  168. F040:NS.
  169. ;Keypad 9:    Substitute next occurrence of search string
  170. F041(:D+@C).
  171. ;Keypad ,:    Delete character forward
  172. F042(:D+@W).
  173. ;Keypad -:    Delete word forward
  174. F043:SEL.
  175. ;Keypad .:    Set select point at current position
  176. F045:H.
  177. ;PF2:        Help
  178. F046@N.
  179. ;PF3:        Goto next occurrence of search string
  180. F047(:D+@L).
  181. ;PF4:        Delete line forward
  182. F048.
  183. ;Keypad Enter:    Dead key
  184. F049(^S(:D@SR|:D-@C)).
  185. ;Backspace:     Delete character backward
  186. GF004:PL?"Load Paste Buffer From File: ".
  187. ;Gold F4:    Load paste buffer from file
  188. GF007.
  189. ;Gold Resume:    Dead key
  190. GF015:H.
  191. ;Gold Help:     Help
  192. GF016?"SEDT Command: ".
  193. ;Gold Do:    Execute Sedt command
  194. GF017:LNLA026.
  195. ;Gold F17:    Load keystrokes into key
  196. GF018:LNL!"Key to save learned input in:".
  197. ;Gold F18:    Load keystrokes into arbitrary key
  198. GF019@BM.
  199. ;Gold F19:      Goto matching bracketing character
  200. GF021@F?"String: ".
  201. ;Gold Find:    Goto next occurence of string
  202. GF023:GE@SR.
  203. ;Gold Remove:    Load paste buffer from select range without deleting
  204. GF024:RS.
  205. ;Gold Select:    Cancel select point
  206. GF025-@BB.
  207. ;Gold Prev Screen:Go to top of buffer
  208. GF026+@EB.
  209. ;Gold Next Screen:Go to bottom of buffer
  210. GF027:CT.
  211. ;Gold Up Arrow:    Position cursor at top of screen
  212. GF0280(-@L:TI).
  213. ;Gold Left Arrow:Go backwards until key struck
  214. GF029:CB.
  215. ;Gold Down Arrow:Position cursor at bottom of screen
  216. GF0300(+@L:TI).
  217. ;Gold Right Arrow:Go forward until key struck
  218. GF031:OL.
  219. ;Gold Keypad 0:    Open line
  220. GF032:CE.
  221. ;Gold Keypad 1:    Change case EDT style (Select range,found string,character)
  222. GF033(:D+@EL).
  223. ;Gold Keypad 2:    Delete to end of line
  224. GF034:CH.
  225. ;Gold Keypad 3:    Inert ASCII character
  226. GF035+@EB.
  227. ;Gold Keypad 4:    Goto end of buffer
  228. GF036-@BB.
  229. ;Gold Keypad 5:    Goto beginning of buffer
  230. GF037:USR.
  231. ;Gold Keypad 6:    Undelete paste string
  232. GF038?"Sedt Command: ".
  233. ;Gold Keypad 7:    Execute Sedt command
  234. GF039:TF+@PAR.
  235. ;Gold Keypad 8:    Fill or justify to end of paragraph
  236. GF040:SUB?"String: "?"By: ".
  237. ;Gold Keypad 9:    Substitute one string by another
  238. GF041:UC.
  239. ;Gold Keypad ,:    Undelete character
  240. GF042:UW.
  241. ;Gold Keypad -:    Undelete word
  242. GF043:RS.
  243. ;Gold Keypad .:    Cancel select point
  244. GF046@F?"String: ".
  245. ;Gold PF3:    Goto next occurrence of string
  246. GF047:UL.
  247. ;Gold PF4:    Undelete Line
  248. GF048(:D+@C+@C:UC).
  249. ;Gold Keypad Enter:Swap characters
  250.