diff --git a/WHATSNEW.txt b/WHATSNEW.txt index cd4c492..13c1757 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -1,4 +1,4 @@ -$Id: WHATSNEW.txt,v 1.139 2004/03/11 07:50:12 tundra Exp $ +$Id: WHATSNEW.txt,v 1.140 2004/03/11 08:43:39 tundra Exp $ WHAT'S NEW @@ -22,6 +22,50 @@ NEW FEATURES +- The RUNCMD feature (default: Control-z) gives you to enter + commands "on-the-fly". It has always been possible to + make reference to built-in, user-defined, and environment + variables (via the "[vblname]" mechanism) when entering + commands manually. The most common use of this feature is + to include a reference to the current directory or item(s) + selected in the GUI as a part of the manual command. For + instance entering: + + less [DSELECTIONS] + + will let you page through all the files you currently have + selected. + + Since this is used fairly often, "shortcut" forms for many of the + builtins have been implemented. You can enter either the full + variable name reference or its shortcut when using RUNCMD. This is + ***only*** for RUNCMD. Configuration files still require the full + name to be used. This was an intentional design choice to keep the + configurations consistent and readable. + + Here are the new shortcuts you can use in RUNCMD: + + [D] for [DIR] + [DN] for [DSELECTION] + [DS] for [DSELECTIONS] + [SN] for [SELECTION] + [SS] for [SELECTIONS] + [1] for [MEM1] + [2] for [MEM2] + [3] for [MEM3] + [4] for [MEM4] + [5] for [MEM5] + [6] for [MEM6] + [7] for [MEM7] + [8] for [MEM8] + [9] for [MEM9] + [10] for [MEM10] + [11] for [MEM11] + [12] for [MEM12] + + + + - The TOGAUTO Key (Default: Control-o) has been added to allow you to toggle Autorefreshing on- and off. When working with very large/slow directory reads, it is handly to temporarily turn off diff --git a/twander.1 b/twander.1 index e1b1374..c0814ed 100644 --- a/twander.1 +++ b/twander.1 @@ -857,6 +857,39 @@ [$EDITOR] [SELECTIONS] .fi + +Built-in variables are most often used when manually entering commands +So, RUNCMD also understands some "shortcut" references to many of the +built-ins. You may use: + +.nf + [D] for [DIR] + [DN] for [DSELECTION] + [DS] for [DSELECTIONS] + [SN] for [SELECTION] + [SS] for [SELECTIONS] + [1] for [MEM1] + [2] for [MEM2] + [3] for [MEM3] + [4] for [MEM4] + [5] for [MEM5] + [6] for [MEM6] + [7] for [MEM7] + [8] for [MEM8] + [9] for [MEM9] + [10] for [MEM10] + [11] for [MEM11] + [12] for [MEM12] +.fi + +Of course, the full form is also fine as well. + +.B This "shortcut" feature is only supported in RUNCMD!!! +Configuration file entries must use the full form of all built-in +variables. This is a conscious design decision to help enforce +some consistency and clarity in the configuration files. + + Unless you have set the MAXMENU option to 0, RUNCMD keeps track of your last manually entered command and presents it as a default when you press RUNCMD again. You can then run the command again exactly