diff --git a/.twander b/.twander index 64163d0..72e9bed 100644 --- a/.twander +++ b/.twander @@ -1,5 +1,88 @@ # 'twander' configuration file example -# $Id: .twander,v 1.33 2002/12/12 17:51:52 tundra Exp $ +# Unless you want to change key bindings, skip the first +# section. Uncomment either the Unix or Win32 examples +# as appropriate for your system. +# +# $Id: .twander,v 1.34 2002/12/15 22:49:03 tundra Exp $ + + + + +##### +# Key Bindings +##### + +# 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 key binding variables (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. + +##### +# Key Bindings Begin Here +##### + +# General Program Commands +# +# QUITPROG = # Quit the program +# READCONF = # Re-read the configuration file +# REFRESH = # Refresh screen +# TOGDETAIL = # Toggle detail view +# +# Directory Navigation +# +# CHANGEDIR = # Enter a new path +# DIRHOME = # Goto $HOME +# DIRBACK = # Goto previous directory +# DIRSTART = # Goto starting directory +# DIRUP = # Go up one directory level +# MOUSEBACK = # Go back one directory with mouse +# MOUSEUP = # Go up one directory with mouse +# +# Selection Keys +# +# SELALL = # Select all items +# SELNONE = # Unselect all items +# SELNEXT = # Select next item +# SELPREV = # Select previous item +# SELEND = # Select bottom item +# SELTOP = # Select top item +# +# Scrolling Commands +# +# PGDN = # Move page down +# PGUP = # Move page up +# +# Execute A Command +# +# RUNCMD = # Run arbitrary user command +# SELKEY = # Select item w/keyboard +# SELMOUSE = # Select item w/mouse + +# End of Key Bindings + + ##### # Example 'twander' Configuration For Unix @@ -9,9 +92,9 @@ # 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 +# SHELL = bash -c +# VSHELL = [XTERM] [SHELL] +# XTERM = xterm -fn 9x15 -l -e # Command definitions are in the general format: # @@ -20,18 +103,18 @@ # 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. +# (which is always seen as a comment delimiter) and -D dd [VSHELL] 'dd if=[PROMPT:In File?] of=[PROMPT:Out File?] | [$PAGER]' -V view [XTERM] [$PAGER] [DSELECTIONS] & -a any-command [VSHELL] '[PROMPT:Enter Command] [PROMPT:Enter Command Arguments] | [$PAGER]'& -d delete [XTERM] rm -i [DSELECTIONS] & -e edit [$EDITOR] [DSELECTIONS] & -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 & +# = dd [VSHELL] 'dd if=[PROMPT:In File?] of=[PROMPT:Out File?] | [$PAGER]' +# V view [XTERM] [$PAGER] [DSELECTIONS] +# a any-command [VSHELL] '[PROMPT:Enter Command] [PROMPT:Enter Command Arguments] | [$PAGER]' +#d delete [XTERM] rm -i [DSELECTIONS] +# e edit [$EDITOR] [DSELECTIONS] +# 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 #----------------------------------------------------------------------# @@ -45,8 +128,8 @@ #a anycmd [PROMPT:Enter Command:] #d del del /p [DSELECTIONS] -#e edit [EDT] [DSELECTIONS] & -#V view [$PAGER] [DSELECTIONS] & +#e edit [EDT] [DSELECTIONS] +#V view [$PAGER] [DSELECTIONS] #l ls dir [DIR] | [$PAGER]