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