home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / qedit / turboqed.arc / QCONFIG.DAT
Encoding:
Text File  |  1988-09-14  |  7.5 KB  |  269 lines

  1. *
  2. *  Default config file for QEdit 2.x.
  3. *  Specify control-key commands via: ^f1 - This means control f1
  4. *  Specify alt-key commands via: @f1     - This means alt f1
  5. *  Specify shift-key commands via: #f1   - This means shift f1
  6. *
  7. *  There is also a provision for "multiple (two at most in the current
  8. *  implementation) key commands".
  9. *  For example, to make the control f1 control f2 sequence issue the
  10. *  exit command, try the following: ^f1_^f2     exit
  11. *  The key here is that the commands must be separated by a '_'.
  12. *
  13. *  Multiple commands and/or text may be entered for a single key.  To do so,
  14. *  specify "macro_begin" as the first command.  To enter text, enclose the
  15. *  text in single or double quote marks.
  16. *  For example:
  17. *  f1  macro_begin edit_file 'help.dat' return
  18. *  This command would load the file 'help.dat'.  Note the return command is
  19. *  issued after the text.  This is required to terminate the QEdit prompt.
  20. *
  21. *  Following is a macro that will run make and load the results into a window.
  22. *
  23. *
  24. *  Finally, you can also use the scancode to represent "special keys", as
  25. *  long as this key returns a ascii character code of 0.
  26. *  For example alt f9 returns an ascii character of 0 and a scan code of
  27. *  112 decimal.  To make alt f9 issue the edit_file command, you could:
  28. *
  29. *  112  edit_file
  30. *      or
  31. *  @f9  edit_file
  32. *
  33. *  This becomes especially useful if you have a macro processor and/or
  34. *  special keyboard that has extended keys that QEdit doesn't have names
  35. *  for.  This gives you a method to use them.
  36. *
  37. *  Either will work.
  38. *
  39. *  Note that the order of this file is NOT important.  Arrange it however
  40. *  makes sense to you.
  41. *
  42.  
  43. *
  44. * function key set
  45. *
  46.  
  47. f1
  48. f2                      add_line
  49. f3
  50. f4                      dup_line
  51. f5                      maketopofscreen
  52. f6                      del_to_eol
  53. f7                      mark_block_begin
  54. f8                      mark_block_end
  55. f9                      shell
  56. f10                     g_exit
  57.  
  58. #f1
  59. #f2
  60. #f3
  61. #f4
  62. #f5                     makectrofscreen
  63. #f6
  64. #f7                     shiftleft
  65. #f8                     shiftright
  66. #f9
  67. #f10
  68.  
  69. ^f1
  70. ^f2
  71. ^f3
  72. ^f4
  73. ^f5
  74. ^f6
  75. ^f7
  76. ^f8
  77. ^f9
  78. ^f10
  79.  
  80. @f1
  81. @f2                     insert_line
  82. @f3                     match
  83. @f4
  84. @f5                     screen_left
  85. @f6                     screen_right
  86. @f7
  87. @f8
  88. @f9                     dos
  89. @f10                    show_entry_screen
  90.  
  91. *
  92. * special keys
  93. *
  94.  
  95. cursorup                cursor_up
  96. cursordown              cursor_down
  97. cursorleft              cursor_left
  98. cursorright             cursor_right
  99. ^cursorleft             word_left
  100. ^cursorright            word_right
  101. home                    beg_line
  102. end                     end_line
  103. ^home                   beg_screen
  104. ^end                    end_screen
  105. pgup                    page_up
  106. pgdn                    page_down
  107. ^pgdn                   end_file
  108. ^pgup                   beg_file
  109.  
  110. #tab                    tab_lt
  111. tab                     tab_rt
  112.  
  113. ins                     toggle_insert
  114. del                     del_ch
  115.  
  116. backspace               backspace
  117. ^backspace              del_lt_word
  118.  
  119. enter                   return
  120. ^enter
  121.  
  122. escape                  escape
  123.  
  124. grey*                   paste
  125. grey+                   copy
  126. grey-                   cut
  127. #del                    input_ch
  128. #ins                    input_ch
  129. `                       input_ch
  130. ~                       input_ch
  131. /                       input_ch
  132.  
  133. ^prtsc
  134. ^2
  135. ^6
  136. ^[
  137. ^\
  138. ^]
  139. ^-                      get_prev
  140.  
  141. *
  142. * alternate keys
  143. *
  144.  
  145. @a                      drop_anchor
  146. @b                      wrap_para
  147. @c                      copy_block
  148. @d                      del_line
  149. @e                      edit_file
  150. @f                      macro_begin main_menu 'f'
  151. @g                      delete_block
  152. @h                      quick_help
  153. @i
  154. @j                      join_line
  155. @k
  156. @l                      mark_line
  157. @m                      move_block
  158. @n                      next_file
  159. @o                      change_filename
  160. @p                      macro_begin main_menu 'p'
  161. @q                      macro_begin main_menu 'q'
  162. @r                      read_block
  163. @s                      split_line
  164. @t
  165. @u                      unmark_block
  166. @v
  167. @w                      writeblock
  168. @x                      g_exit
  169. @y
  170. @z
  171.  
  172. * Make File Macro uses makefile
  173. @1   macro_begin edit_file 'errors.lst' return quit dos 'make >errors.lst' return return horizontal_window edit_file 'errors.lst' return
  174.  
  175. * Turbo C compile to obj small model single .c source
  176. @2   macro_begin save_file dos 'tcc >errors.lst -c -ms ' current_filename return return horizontal_window edit_file 'errors.lst' return
  177.  
  178. * Turbo C compile to exec use for single file compile with no dependencies
  179. @3   macro_begin save_file dos 'tcc >errors.lst -ms ' current_filename return return horizontal_window edit_file 'errors.lst' return
  180.  
  181. * Turbo Pascal macro to compile to exec
  182. @4   macro_begin save_file dos 'tpc >errors.lst ' current_filename '/Q' return return horizontal_window edit_file 'errors.lst' return
  183.  
  184. * Turbo Pascal macro to compile to exe and run
  185. @5   macro_begin save_file dos 'tpc >errors.lst ' current_filename '/Q /R' return return horizontal_window edit_file 'errors.lst' return
  186.  
  187.  
  188. @6
  189. @7
  190. @8
  191. @9
  192. @0
  193. @-
  194. @=
  195.  
  196. *
  197. * control keys
  198. *
  199.  
  200.  
  201. ^a                      word_left
  202. ^b_a                    append_scrbuff
  203. ^b_l                    get_scrbuff
  204. ^b_s                    storescrbuff
  205. ^c                      page_down
  206. ^d                      cursor_right
  207. ^e                      cursor_up
  208. ^f                      word_right
  209. ^g                      del_ch
  210. ^h                      backspace
  211. ^i
  212. ^j                      goto_line
  213. ^k_b                    mark_block_begin
  214. ^k_c                    copy_block
  215. ^k_d                    exit
  216. ^k_e                    edit_file
  217. ^k_f                    change_filename
  218. ^k_h                    unmark_block
  219. ^k_k                    mark_block_end
  220. ^k_n                    next_file
  221. ^k_p                    prev_file
  222. ^k_q                    pquit
  223. ^k_r                    read_block
  224. ^k_s                    save_file
  225. ^k_t
  226. ^k_v                    move_block
  227. ^k_w                    writeblock
  228. ^k_x                    file
  229. ^k_y                    delete_block
  230. ^k_z                    kill_file
  231. ^l                      repeat_find
  232. ^m                      macro_record
  233. ^n                      split_line
  234. ^o_c                    close_window
  235. ^o_l                    set_print_left_margin
  236. ^o_n                    next_window
  237. ^o_o                    one_window
  238. ^o_p                    prev_window
  239. ^o_g                    grow_window
  240. ^o_r                    set_rmargin
  241. ^o_s                    shrink_window
  242. ^o_h                    horizontal_window
  243. ^o_w                    toggle_wordwrap
  244. ^o_z                    zoom_window
  245. ^p                      literal
  246. ^q_a                    find_replace
  247. ^q_b                    goto_block_beg
  248. ^q_c
  249. ^q_d
  250. ^q_e
  251. ^q_f                    find
  252. ^q_i                    toggle_indent
  253. ^q_k                    goto_block_end
  254. ^q_l                    undo_cursorline
  255. ^q_p                    prev_position
  256. ^q_r
  257. ^q_s
  258. ^q_x
  259. ^q_y                    del_to_eol
  260. ^r                      page_up
  261. ^s                      cursor_left
  262. ^t                      del_rt_word
  263. ^u                      unkill
  264. ^v                      toggle_insert
  265. ^w                      scroll_up
  266. ^x                      cursor_down
  267. ^y                      del_line
  268. ^z                      scroll_down
  269.