Newer
Older
twander / .twander
  1. # 'twander' Configuration File Example
  2. # $Id: .twander,v 1.50 2003/02/25 07:13:19 tundra Exp $
  3. #
  4. # Contains list of all possible variables (and defaults, if any) for:
  5. #
  6. # Program Options
  7. # Key Bindings
  8. # Directory Shortcuts
  9. #
  10. # Contains examples of:
  11. #
  12. # Variable Definitions
  13. # Command Definitions
  14. #
  15. # EVERYTHING HERE IS COMMENTED OUT. COPY WHAT YOU WANT TO
  16. # CHANGE AND EDIT TO TASTE. THAT WAY YOU STILL WILL HAVE
  17. # THE ORIGINAL FILE CONTENT AS A REFERENCE FROM WHICH TO WORK.
  18.  
  19.  
  20.  
  21. ##############################################################################
  22.  
  23. #####
  24. # Program Option Statements
  25. #####
  26.  
  27. # AUTOREFRESH = True
  28. # BCOLOR = black
  29. # CMDSHELL =
  30. # DEBUGLEVEL = 0
  31. # FCOLOR = green
  32. # FNAME = Courier
  33. # FSZ = 12
  34. # FWT = bold
  35. # HBCOLOR = lightgreen
  36. # HEIGHT = 600
  37. # HFCOLOR = black
  38. # HFNAME = Courier
  39. # HFSZ = 10
  40. # HFWT = italic
  41. # MAXMENU = 32
  42. # MAXMENUBUF = 250
  43. # MAXNESTING = 32
  44. # MBARCOL = beige
  45. # MBCOLOR = beige
  46. # MFCOLOR = black
  47. # MFNAME = Courier
  48. # MFSZ = 12
  49. # MFWT = bold
  50. # NODETAILS = False
  51. # NONAVIGATE = False
  52. # QUOTECHAR = "
  53. # REFRESHINT = 3000
  54. # STARTDIR = Defaults To Wherever Program Was Started
  55. # STARTX = 0
  56. # STARTY = 0
  57. # USETHREADS = True
  58. # USEWIN32ALL = True
  59. # WARN = True
  60. # WIDTH = 800
  61.  
  62.  
  63. ##############################################################################
  64.  
  65.  
  66. #####
  67. # Key Binding Statements
  68. #####
  69.  
  70. # The default key bindings are shown in the comments below. To
  71. # change a binding from its default value, conform to the following
  72. # rules:
  73. #
  74. # 1) Only change the right side of the assignment. The left side
  75. # is a variable name which is significant to twander and may
  76. # not be changed.
  77. #
  78. # 2) Follow the Tkinter conventions for key naming. This should
  79. # be pretty easy to do - just use the defaults below as a guide.
  80. # Do *not* quote the key names. Just use the <...> naming
  81. # convention as you see it below.
  82. #
  83. # 3) It is best if keyboard commands are all Control or Function keys.
  84. # If you assign anything to a simple key it may conflict with a user-
  85. # defined command. If you assign anything to a keypad/special
  86. # key it may conflict with that key's normal GUI behavior.
  87. #
  88. # 4) The Program Function Names (the left side of the assignments)
  89. # are RESERVED and may not be used as names for your own user-
  90. # defined variables elsewhere in the configuration file.
  91. #
  92. # 5) When you're done with your changes make sure to uncomment
  93. # them so twander can read them it and override its defaults.
  94. # Then either restart the program or reload the configuration
  95. # file to assign the new bindings.
  96. #
  97. # 6) Note that you CANNOT change the bindings for Mouse Buttons.
  98. # They are documented below for completeness sake, but any
  99. # attempt to change them will cause \'twander\' to present
  100. # a warning message and ignore that line. If you attempt
  101. # to even just uncomment them below, you will get an error
  102. # because 'twander' thinks you are trying to redefine them.
  103.  
  104.  
  105. # General Program Commands
  106. #
  107. # CLRHIST = <Control-y> # Clear Command History
  108. # FONTDECR = <Control-bracketleft> # Decrease Font Size
  109. # FONTINCR = <Control-bracketright> # Increase Font Size
  110. # MOUSECTX = <ButtonRelease-3> # Invoke context menu
  111. # MOUSEDIR = <Shift-ButtonRelease-3> # Display the directory menu
  112. # QUITPROG = <Control-q> # Quit the program
  113. # READCONF = <Control-r> # Re-read the configuration file
  114. # REFRESH = <Control-l> # Refresh screen
  115. # TOGDETAIL = <Control-t> # Toggle detail view
  116. # TOGWIN32ALL = <Control-w> # Toggle win32all Features, If Available
  117. #
  118. # Directory Navigation
  119. #
  120. # CHANGEDIR = <Control-x> # Enter a new path
  121. # DIRHOME = <Control-h> # Goto $HOME
  122. # DIRBACK = <Control-b> # Goto previous directory
  123. # DIRROOT = <Control-j> # Goto root directory
  124. # DIRSTART = <Control-s> # Goto starting directory
  125. # DIRUP = <Control-u> # Go up one directory level
  126. # DRIVELIST = <Control-k> # On Win32, display Drive List View if possible
  127. # MOUSEBACK = <Control-Double-ButtonRelease-1> # Go back one directory with mouse
  128. # MOUSEUP = <Control-Double-ButtonRelease-3> # Go up one directory with mouse
  129. #
  130. # Selection Keys
  131. #
  132. # SELALL = <Control-comma> # Select all items
  133. # SELINV = <Control-i> # Select all items
  134. # SELNONE = <Control-period> # Unselect all items
  135. # SELNEXT = <Control-n> # Select next item
  136. # SELPREV = <Control-p> # Select previous item
  137. # SELEND = <Control-e> # Select bottom item
  138. # SELTOP = <Control-a> # Select top item
  139. # SELWILD = <Control-backslash> # Select using wildcards
  140. #
  141. # Scrolling Commands
  142. #
  143. # PGDN = <Control-v> # Move page down
  144. # PGUP = <Control-c> # Move page up
  145. # PGRT = <Control-g> # Move page right
  146. # PGLFT = <Control-f> # Move page left
  147. #
  148. # Execute Commands
  149. #
  150. # RUNCMD = <Control-z> # Run arbitrary user command
  151. # SELKEY = <Return> # Select item w/keyboard
  152. # MOUSESEL = <Double-ButtonRelease-1> # Select item w/mouse
  153.  
  154. # Directory Shortcuts
  155.  
  156. # KDIRSC1 = <F1> # Go To Specified Directory
  157. # KDIRSC2 = <F2>
  158. # KDIRSC3 = <F3>
  159. # KDIRSC4 = <F4>
  160. # KDIRSC5 = <F5>
  161. # KDIRSC6 = <F6>
  162. # KDIRSC7 = <F7>
  163. # KDIRSC8 = <F8>
  164. # KDIRSC9 = <F9>
  165. # KDIRSC10 = <F10>
  166. # KDIRSC11 = <F11>
  167. # KDIRSC12 = <F12>
  168.  
  169.  
  170. # Program Memories
  171.  
  172. # MEMCLR1 = <Control-F1> # Clear Individual Program Memory
  173. # MEMCLR2 = <Control-F2>
  174. # MEMCLR3 = <Control-F3>
  175. # MEMCLR4 = <Control-F4>
  176. # MEMCLR5 = <Control-F5>
  177. # MEMCLR6 = <Control-F6>
  178. # MEMCLR7 = <Control-F7>
  179. # MEMCLR8 = <Control-F8>
  180. # MEMCLR9 = <Control-F9>
  181. # MEMCLR10 = <Control-F10>
  182. # MEMCLR11 = <Control-F11>
  183. # MEMCLR12 = <Control-F12>
  184.  
  185. # MEMCLRALL = <Control-m> # Clear All Program Memories
  186.  
  187. # MEMSET1 = <Alt-F1> # Set Individual Program Memory
  188. # MEMSET2 = <Alt-F2>
  189. # MEMSET3 = <Alt-F3>
  190. # MEMSET4 = <Alt-F4>
  191. # MEMSET5 = <Alt-F5>
  192. # MEMSET6 = <Alt-F6>
  193. # MEMSET7 = <Alt-F7>
  194. # MEMSET8 = <Alt-F8>
  195. # MEMSET9 = <Alt-F9>
  196. # MEMSET10 = <Alt-F10>
  197. # MEMSET11 = <Alt-F11>
  198. # MEMSET12 = <Alt-F12>
  199.  
  200.  
  201. ##############################################################################
  202.  
  203.  
  204. #####
  205. # Directory Shortcut Statements
  206. #
  207. # Enter Any Valid Path To The Right Of The Equals Sign
  208. # To Associate A Function Key With That Directory Path
  209. #
  210. #####
  211.  
  212. # DIRSC1 = /path/to/a/directory/or/drive
  213. # DIRSC2 = /path/to/a/directory/or/drive
  214. # DIRSC3 = /path/to/a/directory/or/drive
  215. # DIRSC4 = /path/to/a/directory/or/drive
  216. # DIRSC5 = /path/to/a/directory/or/drive
  217. # DIRSC6 = /path/to/a/directory/or/drive
  218. # DIRSC7 = /path/to/a/directory/or/drive
  219. # DIRSC8 = /path/to/a/directory/or/drive
  220. # DIRSC9 = /path/to/a/directory/or/drive
  221. # DIRSC10 = /path/to/a/directory/or/drive
  222. # DIRSC11 = /path/to/a/directory/or/drive
  223. # DIRSC12 = /path/to/a/directory/or/drive
  224.  
  225.  
  226. ##############################################################################
  227.  
  228.  
  229. #####
  230. # Examples Of Variables And Command Definitions
  231. #####
  232.  
  233. #####
  234. # Example 'twander' Configuration For Unix
  235. #####
  236.  
  237.  
  238. # User-defined variables make maintenance easier.
  239. # Remember, that the variable name is case-sensitive.
  240.  
  241. # SHELL = bash -c
  242. # VSHELL = [XTERM] [SHELL]
  243. # XTERM = xterm -fn 9x15 -l -e
  244.  
  245. # Command definitions are in the general format:
  246. #
  247. # command-key command-name command-string
  248. #
  249. # command-keys are case sensitive. Any single
  250. # character which can be typed from the keyboard can
  251. # be used as a command key, *except* the '#' character
  252. # (which is always seen as a comment delimiter) and
  253.  
  254.  
  255. # = dd [VSHELL] 'dd if=[PROMPT:In File?] of=[PROMPT:Out File?] | [$PAGER]'
  256. # V view [XTERM] [$PAGER] [DSELECTIONS]
  257. # d delete [XTERM] rm -i [DSELECTIONS]
  258. # e edit [$EDITOR] [DSELECTIONS] # Use this version for GUI-aware editors (like emacs)
  259. # e edit [XTERM] [$EDITOR] [DSELECTIONS] # Use this version non-GUI editors (like vi)
  260. # l ls [VSHELL] '/bin/ls -al ./ | [$PAGER]'
  261. # p print lpr [DSELECTIONS] &
  262. # s showselected [XTERM] bash -c 'echo [DIR] "--->" [DSELECTION] "--->" [DSELECTIONS] "--->" [SELECTION] "--->" [SELECTIONS] | [$PAGER] '
  263. # t xterm xterm -fn 10x20 -l -fb black -bg lightgreen
  264.  
  265.  
  266. #----------------------------------------------------------------------#
  267.  
  268.  
  269. #####
  270. # Example 'twander' Configuration For Win32
  271. #####
  272.  
  273. # EDT = [$EDITOR]
  274.  
  275. # a anycmd [PROMPT:Enter Command:]
  276. # d del del /p [DSELECTIONS]
  277. # e edit [EDT] [DSELECTIONS]
  278. # V view [$PAGER] [DSELECTIONS]
  279. # l ls dir [DIR] | [$PAGER]
  280.  
  281.