[Info-vax] Still no DIR/SORT_BY_TIME
George Cornelius
cornelius at eisner.decus.org
Sun Aug 16 16:47:41 EDT 2015
In article <mqqpdi$eq6$1 at dont-email.me>, Stephen Hoffman <seaohveh at hoffmanlabs.invalid> writes:
> On 2015-08-16 19:00:40 +0000, AEF said:
>
>> (OTOH, running !<n> to run the command with that number runs it
>> immediately instead of just putting it on the command line where you
>> can edit it. MS-DOS is better at this!)
>
> Close:
>
> !cmd:p
>
> ^cmd^othercmd
>
> There are other editing options.
I use
set -o vi
giving me vi editing along with
<ESC>/match string
for calling up prior commands.
For some reason I use fc for looking through the command history
and sometimes for bringing back and editing command lines:
fc -l -55 # list last 55 lines
fc 123 # edit a command (FCEDIT environment variable selects editor)
I believe fc applies in a few more contexts than ! and related
history manipulation functions.
With regard to command editing, yes it is nice that all these things work
with regard to multiline commands.
Now if they would just set up the *nix environments to actually accept
vt300 or vt400 as a terminal type instead of considering it to be a
broken terminal.
George
More information about the Info-vax
mailing list