Newer
Older
twander / .twander
# 'twander' configuration file example
# 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.38 2002/12/18 22:49:24 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  = <Control-q>                       # Quit the program
# READCONF  = <Control-r>                       # Re-read the configuration file
# REFRESH   = <Control-l>                       # Refresh screen
# TOGDETAIL = <Control-t>                       # Toggle detail view
# 
# Directory Navigation
# 
# CHANGEDIR = <Control-x>                       # Enter a new path
# DIRHOME   = <Control-h>                       # Goto $HOME
# DIRBACK   = <Control-b>                       # Goto previous directory
# DIRSTART  = <Control-s>                       # Goto starting directory
# DIRUP     = <Control-u>                       # Go up one directory level
# 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
# 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
# 
# 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 A Command
# 
# RUNCMD    = <Control-z>                       # Run arbitrary user command
# SELKEY    = <Control-space>                   # Select item w/keyboard
# SELMOUSE  = <Double-ButtonRelease-1>          # Select item w/mouse

# End of Key Bindings



#####
# 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]
# 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 


#----------------------------------------------------------------------#


#####
# 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]