home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / STEVES / DBFAST.ZIP / CONFIG.DAT < prev    next >
Text File  |  1988-03-23  |  7KB  |  255 lines

  1. *«RM200»
  2. *  Default config file for The dBFast editor v 1.00.
  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 Edit prompt.
  20. *
  21. *  Following is a macro that will run make and load the results into a window.
  22. *
  23. *  macro_begin edit_file 'errors.lst' return quit dos 'make >errors.lst' return return horizontal_window edit_file 'errors.lst' return
  24. *
  25. *  Finally, you can also use the scancode to represent "special keys", as
  26. *  long as this key returns a ascii character code of 0.
  27. *  For example alt f9 returns an ascii character of 0 and a scan code of
  28. *  112 decimal.  To make alt f9 issue the edit_file command, you could:
  29. *
  30. *  112  edit_file
  31. *      or
  32. *  @f9  edit_file
  33. *
  34. *  This becomes especially useful if you have a macro processor and/or
  35. *  special keyboard that has extended keys that Edit doesn't have names
  36. *  for.  This gives you a method to use them.
  37. *
  38. *  Either will work.
  39. *
  40. *  Note that the order of this file is NOT important.  Arrange it however
  41. *  makes sense to you.
  42. *
  43.  
  44. *
  45. * function key set
  46. *
  47.  
  48. f1                      mark_line
  49. f2                      find_replace
  50. f3                      unmark_block
  51. f4                      copy_block
  52. f5                      move_block
  53. f6                      delete_block
  54. f7                      cut
  55. f8                      copy
  56. f9                      paste
  57. f10                     save_file
  58.  
  59. #f1
  60. #f2
  61. #f3
  62. #f4
  63. #f5                     makectrofscreen
  64. #f6
  65. #f7                     shiftleft
  66. #f8                     shiftright
  67. #f9
  68. #f10
  69.  
  70. ^f1
  71. ^f2
  72. ^f3
  73. ^f4
  74. ^f5
  75. ^f6
  76. ^f7
  77. ^f8
  78. ^f9            shell
  79. ^f10
  80.  
  81. @f1
  82. @f2                     insert_line
  83. @f3                     match
  84. @f4
  85. @f5                     screen_left
  86. @f6                     screen_right
  87. @f7
  88. @f8
  89. @f9                     dos
  90. @f10
  91.  
  92. *
  93. * special keys
  94. *
  95.  
  96. cursorup                cursor_up
  97. cursordown              cursor_down
  98. cursorleft              cursor_left
  99. cursorright             cursor_right
  100. ^cursorleft             word_left
  101. ^cursorright            word_right
  102. home                    beg_line
  103. end                     end_line
  104. ^home                   beg_file
  105. ^end                    end_file
  106. pgup                    page_up
  107. pgdn                    page_down
  108. ^pgdn                   end_screen
  109. ^pgup                   beg_screen
  110.  
  111. #tab                    tab_lt
  112. tab                     tab_rt
  113.  
  114. ins                     toggle_insert
  115. del                     del_ch
  116. #del            del_to_eol
  117. backspace               backspace
  118. ^backspace              del_line
  119.  
  120. enter                   return
  121. ^enter
  122.  
  123. escape                  escape
  124.  
  125. grey*
  126. grey+
  127. grey-
  128. #ins                    input_ch
  129. `                       input_ch
  130. ~                       input_ch
  131. /                       input_ch
  132.  
  133. ^prtsc
  134. ^\            macro_begin beg_screen mark_line end_screen mark_line write_block "screen.txt" return unmark_block prev_position
  135. ^2
  136. ^6
  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. @1
  172. @2
  173. @3
  174. @4
  175. @5
  176. @6
  177. @7
  178. @8
  179. @9
  180. @0
  181. @-
  182. @=
  183.  
  184. *
  185. * control keys
  186. *
  187.  
  188.  
  189. ^a                      word_left
  190. ^b_l                    get_scrbuff
  191. ^b_s                    storescrbuff
  192. ^c                      page_down
  193. ^d                      cursor_right
  194. ^e                      cursor_up
  195. ^f                      word_right
  196. ^g                      del_ch
  197. ^h                      backspace
  198. ^i
  199. ^j                      goto_line
  200. ^k_b                    mark_block_begin
  201. ^k_c                    copy_block
  202. ^k_d                    exit
  203. ^k_e                    edit_file
  204. ^k_f                    change_filename
  205. ^k_h                    unmark_block
  206. ^k_k                    mark_block_end
  207. ^k_n                    next_file
  208. ^k_p                    prev_file
  209. ^k_q                    pquit
  210. ^k_r                    read_block
  211. ^k_s                    save_file
  212. ^k_t
  213. ^k_v                    move_block
  214. ^k_w                    writeblock
  215. ^k_x                    file
  216. ^k_y                    delete_block
  217. ^l                      repeat_find
  218. ^m                      macro_record
  219. ^n                      split_line
  220. ^o_c                    close_window
  221. ^o_l                    set_print_left_margin
  222. ^o_n                    next_window
  223. ^o_o                    one_window
  224. ^o_p                    prev_window
  225. ^o_g                    grow_window
  226. ^o_r                    set_rmargin
  227. ^o_s                    shrink_window
  228. ^o_h                    horizontal_window
  229. ^o_w                    toggle_wordwrap
  230. ^o_z                    zoom_window
  231. ^p                      literal
  232. ^q_a                    find_replace
  233. ^q_b                    goto_block_beg
  234. ^q_c                    end_file
  235. ^q_d
  236. ^q_e
  237. ^q_f                    find
  238. ^q_i                    toggle_indent
  239. ^q_k                    goto_block_end
  240. ^q_l                    undo_cursorline
  241. ^q_p                    prev_position
  242. ^q_r                    beg_file
  243. ^q_s
  244. ^q_x
  245. ^q_y                    del_to_eol
  246. ^r                      page_up
  247. ^s                      cursor_left
  248. ^t                      del_rt_word
  249. ^u                      unkill
  250. ^v                      toggle_insert
  251. ^w                      scroll_up
  252. ^x                      cursor_down
  253. ^y                      del_line
  254. ^z                      scroll_down
  255.