[Info-vax] Unix and DCL shells
chrisq
devzero at nospam.com
Mon Jan 8 15:10:09 EST 2024
On 1/8/24 19:02, mjos_examine wrote:
> On 2024-01-08 9:38 a.m., Arne Vajhøj wrote:
>>> On 2024-01-08 9:21 a.m., Simon Clubley wrote:
>>> >> Synchronised permanent storage of command history across sessions.
>>> Supports
>>> using multiple sessions at the same time and only writes the changes
>>> from
>>> that session to the history file.
>>
>> I usually just write a COM file if I want to preserve my commands.
>>
>> But other may like the history you propose.
>
> I have to agree that being able to up-arrow through commands done during
> my last session, whether 5 minutes, or 5 days, or 5 months later, can be
> very useful and convenient.
>
> Couple that with the sister-feature of being able to back-scroll through
> all the terminal output from the last session, and now you are really
> talking useful and convenient.
>
>
>
>
One of the most irritating things about working on terminal
based systems was the lack of command line recall. To be fair
though, early unix systems with csh or sh lacked that as well.
Solution here was to select tcsh, which did have command line recall
capability, even back in the early 1990's
Not a problem now, bash, csh and perhaps others. all support command
line recall, with cmdline buffer length a terminal setup parameter.
history (aliased h), shows the whole list, with !<line number>,
selecting and running any item.
Can be a steep learning curve, and easily forgotten without use,
but so much workflow power in the unix shell...
Chris
More information about the Info-vax
mailing list