diff --git a/.twander b/.twander index 2de4626..34bd9a1 100644 --- a/.twander +++ b/.twander @@ -1,137 +1,137 @@ -# '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.36 2002/12/18 20:07:15 tundra Exp $ +// '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.37 2002/12/18 21:46:16 tundra Exp $ -##### -# Key Bindings -##### +////////// +// 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. +// 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 -##### +////////// +// 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 -# PGRT = # Move page right -# PGLFT = # Move page left -# -# Execute A Command -# -# RUNCMD = # Run arbitrary user command -# SELKEY = # Select item w/keyboard -# SELMOUSE = # Select item w/mouse +// 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 +// PGRT = // Move page right +// PGLFT = // Move page left +// +// Execute A Command +// +// RUNCMD = // Run arbitrary user command +// SELKEY = // Select item w/keyboard +// SELMOUSE = // Select item w/mouse -# End of Key Bindings +// End of Key Bindings -##### -# Example 'twander' Configuration For Unix -##### +////////// +// Example 'twander' Configuration For Unix +////////// -# User-defined variables make maintenance easier. -# Remember, that the variable name is case-sensitive. +// 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: -# -# 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 +// 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 +// = 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 -##### +////////// +// Example 'twander' Configuration For Win32 +////////// -#EDT = [$EDITOR] +// 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] +// a anycmd [PROMPT:Enter Command:] +// d del del /p [DSELECTIONS] +// e edit [EDT] [DSELECTIONS] +// V view [$PAGER] [DSELECTIONS] +// l ls dir [DIR] | [$PAGER]