- # 'twander' Configuration File Example
- # $Id: .twander,v 1.50 2003/02/25 07:13:19 tundra Exp $
- #
- # Contains list of all possible variables (and defaults, if any) for:
- #
- # Program Options
- # Key Bindings
- # Directory Shortcuts
- #
- # Contains examples of:
- #
- # Variable Definitions
- # Command Definitions
- #
- # EVERYTHING HERE IS COMMENTED OUT. COPY WHAT YOU WANT TO
- # CHANGE AND EDIT TO TASTE. THAT WAY YOU STILL WILL HAVE
- # THE ORIGINAL FILE CONTENT AS A REFERENCE FROM WHICH TO WORK.
- ##############################################################################
- #####
- # Program Option Statements
- #####
- # AUTOREFRESH = True
- # BCOLOR = black
- # CMDSHELL =
- # DEBUGLEVEL = 0
- # FCOLOR = green
- # FNAME = Courier
- # FSZ = 12
- # FWT = bold
- # HBCOLOR = lightgreen
- # HEIGHT = 600
- # HFCOLOR = black
- # HFNAME = Courier
- # HFSZ = 10
- # HFWT = italic
- # MAXMENU = 32
- # MAXMENUBUF = 250
- # MAXNESTING = 32
- # MBARCOL = beige
- # MBCOLOR = beige
- # MFCOLOR = black
- # MFNAME = Courier
- # MFSZ = 12
- # MFWT = bold
- # NODETAILS = False
- # NONAVIGATE = False
- # QUOTECHAR = "
- # REFRESHINT = 3000
- # STARTDIR = Defaults To Wherever Program Was Started
- # STARTX = 0
- # STARTY = 0
- # USETHREADS = True
- # USEWIN32ALL = True
- # WARN = True
- # WIDTH = 800
- ##############################################################################
- #####
- # Key Binding Statements
- #####
- # The default key bindings are shown in the comments below. To
- # change a binding from its default value, conform to the following
- # rules:
- #
- # 1) Only change the right side of the assignment. The left side
- # is a variable name which is significant to twander and may
- # not be changed.
- #
- # 2) Follow the Tkinter conventions for key naming. This should
- # be pretty easy to do - just use the defaults below as a guide.
- # Do *not* quote the key names. Just use the <...> naming
- # convention as you see it below.
- #
- # 3) It is best if keyboard commands are all Control or Function keys.
- # If you assign anything to a simple key it may conflict with a user-
- # defined command. If you assign anything to a keypad/special
- # key it may conflict with that key's normal GUI behavior.
- #
- # 4) The Program Function Names (the left side of the assignments)
- # are RESERVED and may not be used as names for your own user-
- # defined variables elsewhere in the configuration file.
- #
- # 5) When you're done with your changes make sure to uncomment
- # them so twander can read them it and override its defaults.
- # Then either restart the program or reload the configuration
- # file to assign the new bindings.
- #
- # 6) Note that you CANNOT change the bindings for Mouse Buttons.
- # They are documented below for completeness sake, but any
- # attempt to change them will cause \'twander\' to present
- # a warning message and ignore that line. If you attempt
- # to even just uncomment them below, you will get an error
- # because 'twander' thinks you are trying to redefine them.
- # General Program Commands
- #
- # CLRHIST = <Control-y> # Clear Command History
- # FONTDECR = <Control-bracketleft> # Decrease Font Size
- # FONTINCR = <Control-bracketright> # Increase Font Size
- # MOUSECTX = <ButtonRelease-3> # Invoke context menu
- # MOUSEDIR = <Shift-ButtonRelease-3> # Display the directory menu
- # QUITPROG = <Control-q> # Quit the program
- # READCONF = <Control-r> # Re-read the configuration file
- # REFRESH = <Control-l> # Refresh screen
- # TOGDETAIL = <Control-t> # Toggle detail view
- # TOGWIN32ALL = <Control-w> # Toggle win32all Features, If Available
- #
- # Directory Navigation
- #
- # CHANGEDIR = <Control-x> # Enter a new path
- # DIRHOME = <Control-h> # Goto $HOME
- # DIRBACK = <Control-b> # Goto previous directory
- # DIRROOT = <Control-j> # Goto root directory
- # DIRSTART = <Control-s> # Goto starting directory
- # DIRUP = <Control-u> # Go up one directory level
- # DRIVELIST = <Control-k> # On Win32, display Drive List View if possible
- # MOUSEBACK = <Control-Double-ButtonRelease-1> # Go back one directory with mouse
- # MOUSEUP = <Control-Double-ButtonRelease-3> # Go up one directory with mouse
- #
- # Selection Keys
- #
- # SELALL = <Control-comma> # Select all items
- # SELINV = <Control-i> # Select all items
- # SELNONE = <Control-period> # Unselect all items
- # SELNEXT = <Control-n> # Select next item
- # SELPREV = <Control-p> # Select previous item
- # SELEND = <Control-e> # Select bottom item
- # SELTOP = <Control-a> # Select top item
- # SELWILD = <Control-backslash> # Select using wildcards
- #
- # Scrolling Commands
- #
- # PGDN = <Control-v> # Move page down
- # PGUP = <Control-c> # Move page up
- # PGRT = <Control-g> # Move page right
- # PGLFT = <Control-f> # Move page left
- #
- # Execute Commands
- #
- # RUNCMD = <Control-z> # Run arbitrary user command
- # SELKEY = <Return> # Select item w/keyboard
- # MOUSESEL = <Double-ButtonRelease-1> # Select item w/mouse
- # Directory Shortcuts
- # KDIRSC1 = <F1> # Go To Specified Directory
- # KDIRSC2 = <F2>
- # KDIRSC3 = <F3>
- # KDIRSC4 = <F4>
- # KDIRSC5 = <F5>
- # KDIRSC6 = <F6>
- # KDIRSC7 = <F7>
- # KDIRSC8 = <F8>
- # KDIRSC9 = <F9>
- # KDIRSC10 = <F10>
- # KDIRSC11 = <F11>
- # KDIRSC12 = <F12>
- # Program Memories
- # MEMCLR1 = <Control-F1> # Clear Individual Program Memory
- # MEMCLR2 = <Control-F2>
- # MEMCLR3 = <Control-F3>
- # MEMCLR4 = <Control-F4>
- # MEMCLR5 = <Control-F5>
- # MEMCLR6 = <Control-F6>
- # MEMCLR7 = <Control-F7>
- # MEMCLR8 = <Control-F8>
- # MEMCLR9 = <Control-F9>
- # MEMCLR10 = <Control-F10>
- # MEMCLR11 = <Control-F11>
- # MEMCLR12 = <Control-F12>
- # MEMCLRALL = <Control-m> # Clear All Program Memories
- # MEMSET1 = <Alt-F1> # Set Individual Program Memory
- # MEMSET2 = <Alt-F2>
- # MEMSET3 = <Alt-F3>
- # MEMSET4 = <Alt-F4>
- # MEMSET5 = <Alt-F5>
- # MEMSET6 = <Alt-F6>
- # MEMSET7 = <Alt-F7>
- # MEMSET8 = <Alt-F8>
- # MEMSET9 = <Alt-F9>
- # MEMSET10 = <Alt-F10>
- # MEMSET11 = <Alt-F11>
- # MEMSET12 = <Alt-F12>
- ##############################################################################
- #####
- # Directory Shortcut Statements
- #
- # Enter Any Valid Path To The Right Of The Equals Sign
- # To Associate A Function Key With That Directory Path
- #
- #####
- # DIRSC1 = /path/to/a/directory/or/drive
- # DIRSC2 = /path/to/a/directory/or/drive
- # DIRSC3 = /path/to/a/directory/or/drive
- # DIRSC4 = /path/to/a/directory/or/drive
- # DIRSC5 = /path/to/a/directory/or/drive
- # DIRSC6 = /path/to/a/directory/or/drive
- # DIRSC7 = /path/to/a/directory/or/drive
- # DIRSC8 = /path/to/a/directory/or/drive
- # DIRSC9 = /path/to/a/directory/or/drive
- # DIRSC10 = /path/to/a/directory/or/drive
- # DIRSC11 = /path/to/a/directory/or/drive
- # DIRSC12 = /path/to/a/directory/or/drive
- ##############################################################################
- #####
- # Examples Of Variables And Command Definitions
- #####
- #####
- # Example 'twander' Configuration For Unix
- #####
- # User-defined variables make maintenance easier.
- # Remember, that the variable name is case-sensitive.
- # SHELL = bash -c
- # VSHELL = [XTERM] [SHELL]
- # XTERM = xterm -fn 9x15 -l -e
- # Command definitions are in the general format:
- #
- # command-key command-name command-string
- #
- # command-keys are case sensitive. Any single
- # character which can be typed from the keyboard can
- # be used as a command key, *except* the '#' character
- # (which is always seen as a comment delimiter) and
- # = dd [VSHELL] 'dd if=[PROMPT:In File?] of=[PROMPT:Out File?] | [$PAGER]'
- # V view [XTERM] [$PAGER] [DSELECTIONS]
- # d delete [XTERM] rm -i [DSELECTIONS]
- # e edit [$EDITOR] [DSELECTIONS] # Use this version for GUI-aware editors (like emacs)
- # e edit [XTERM] [$EDITOR] [DSELECTIONS] # Use this version non-GUI editors (like vi)
- # l ls [VSHELL] '/bin/ls -al ./ | [$PAGER]'
- # p print lpr [DSELECTIONS] &
- # s showselected [XTERM] bash -c 'echo [DIR] "--->" [DSELECTION] "--->" [DSELECTIONS] "--->" [SELECTION] "--->" [SELECTIONS] | [$PAGER] '
- # t xterm xterm -fn 10x20 -l -fb black -bg lightgreen
- #----------------------------------------------------------------------#
- #####
- # Example 'twander' Configuration For Win32
- #####
- # EDT = [$EDITOR]
- # a anycmd [PROMPT:Enter Command:]
- # d del del /p [DSELECTIONS]
- # e edit [EDT] [DSELECTIONS]
- # V view [$PAGER] [DSELECTIONS]
- # l ls dir [DIR] | [$PAGER]