diff --git a/.twander b/.twander index ba58cb2..72535f5 100644 --- a/.twander +++ b/.twander @@ -1,5 +1,5 @@ # 'twander' Configuration File Example -# $Id: .twander,v 1.69 2005/02/18 09:23:57 tundra Exp $ +# $Id: .twander,v 1.70 2006/12/14 08:40:34 tundra Exp $ # # Contains list of all possible variables (and defaults, if any) for: # @@ -14,6 +14,7 @@ # Wildcards # Command Definitions # Conditional Expressions +# Execution Variables # # THIS ENTIRE FILE IS COMMENTED OUT. COPY WHAT YOU WANT TO # CHANGE AND EDIT TO TASTE. THAT WAY YOU STILL WILL HAVE @@ -34,6 +35,7 @@ # AFTERWAIT = 1 # Wait time (sec) after forced refresh # AUTOREFRESH = True # Automatically reread current directory periodically # BCOLOR = black # Main window background color +# CMDMENUSORT = False # Sort command menu? # CMDSHELL = # Command to use when spawning shell commands # DEBUGLEVEL = 0 # Level of debug output desired # DEFAULTSEP = ===> # Default separator string in PROMPT and YESNO constructs @@ -189,6 +191,22 @@ # KDIRSC12 = +# Set Directory Shortcuts # Override Directory Shortcut w/Current Directory + +# KSETSC1 = '' +# KSETSC2 = '' +# KSETSC3 = '' +# KSETSC4 = '' +# KSETSC5 = '' +# KSETSC6 = '' +# KSETSC7 = '' +# KSETSC8 = '' +# KSETSC9 = '' +# KSETSC10 = '' +# KSETSC11 = '' +# KSETSC12 = '' + + # Program Memories # MEMCLR1 = # Clear Individual Program Memory @@ -400,7 +418,7 @@ #-# # 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 +#-# # (which is always seen as a comment delimiter). #-# #-# #-# # Some commands run anywhere @@ -437,4 +455,39 @@ #-# .endif #-# #-# + +#-# # Execution variables allow you to run a *program* and have its +#-# # text output assigned to a 'twander' configuration variable. +#-# # Note that they are delimited with backticks: +#-# +#-# D showdate [VSHELL] 'echo [`date`] | [PAGER]' +#-# +#-# +#-# # If the execution variable you want to run produces +#-# # multiple lines of text, you may need to quote it +#-# # to get things to work properly: +#-# +#-# D showfiles [VSHELL] 'echo "[`ls`]" | [PAGER]' +#-# +#-# +#-# # You can also force 'twander' to strip the newlines out of +#-# # multiline output from an execution variable by inserting +#-# # a '-' at the beginning of the command name: +#-# +#-# D showfiles [VSHELL] 'echo "[`-ls`]" | [PAGER]' +#-# +#-# # Execution variables are evaluated at the time the +#-# # they are actually *used* in a command invocation, +#-# # NOT when the configuration file is being read in. +#-# # This is true even if you first assign them to +#-# # a variable: +#-# +#-# CURRENTDATE = [`date`] +#-# D showcurrentdate [VSHELL] 'echo [CURRENTDATE] | [PAGER]' +#-# +#-# # Each time 'showcurrentdate' gets run, the CURRENTDATE +#-# # variable will be set to the output of the 'date' command. +#-# # This is unlike most variables used in 'twander' that are +#-# # evaluated once when the configuration file is first read in. + #-# # End of sample twander configuration