🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #192

Re: tcsh in the future - what should it be like?

#192
From: Stephen Riehm
Date: Wed, 29 Jul 1992 14:12
61 lines
3193 bytes
Harald.Eikrem@delab.sintef.no writes:

>! I'd like to see a history mechanism that works like VMS' RECALL, i.e. 
>! type something like !vi .cs  and get the last vi command that edits 
>! .cshrc.  Simple, powerful concept; only a single command to learn. 

>It's there.  You just need to try.

care to enlighten us?? or are you still telling failed entrepreneurs
that there is a pot of gold at the end of every rainbow?

>! Also, the history list should save a command only if it is different 
>! from the last one.

>No way.  You will be able to reach the next *different* command in the

DISAGREE!
if you are developing something, and you get into a debug mode, the
usual sequence of commands goes something like:
    edit
    compile
    run ( or debug )
    edit
    compile
    ... ( ad infinitum )

if after doing this 30 times, the last 100 entries in your history are
the same three commands over and over, what if you then want to do
that really complicated sequence of commands which sets up a real
input file for this program, which has just been booted out of the
history list because you filled it up with the same commands repeated
n times. since most people I know ( myself EXcluded ) seem to have
histories of 50 commands, it doesn't give you much of a 'history' does
it? ( my history sits at around 250 at the moment, there are times
when I really want to boot it up to 500 too! )

Also, I would really love a 'merge_histories' feature, this is relevant
only if you have many tcsh's running at the same time, because when I
quit my XWindows session, by dumb luck or whatever, the last tcsh to
save the history seems to be the one I used the least, with all the
most boring, and least used commands in the history, any solutions?
anyone come up with some sort of .logout hack?

>! If both these questions have solutions already it only shows that tcsh 
>! has too many features.  I can't remember them so I don't use them.

>You have probably never made the attempt to find out.

it has been scientifically proven that the human mind can only comfortably
cope with between 5 and 7 things at one time ( under good stress free
situations, add stress it goes down to about .5 ), this being the case,
it is not a simply matter of reading the tcsh manual to find all the
features, I have read it many times, and i still find new things every
time, such is the price for not having hard disks in our heads!

catchya

-----------------------------------------------------------------
Stephen Riehm				   smr@pki-nbg.philips.de
PS: I know my From: line is wrong, but I don't know WHY!
"I used to be apathetic, but now i just don't care anymore" - me
Technical Details
Message-ID: <smr.712419130@hitkw14>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!unido!pki-nbg!hitkw14!smr
References: <yeates.711122638@beryl17> <1992Jul16.153506.24366@bmerh85.bnr.ca> <1992Jul27.031238.10376@chpc.utexas.edu> <1992Jul27.215202*Harald.Eikrem@delab.sintef.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!unido!pki-nbg!hitkw14!smr
From: smr@iti.org (Stephen Riehm)
Newsgroups: comp.unix.shell
Subject: Re: tcsh in the future - what should it be like?
Message-ID: <smr.712419130@hitkw14>
Date: 29 Jul 92 14:12:10 GMT
References: <yeates.711122638@beryl17> <1992Jul16.153506.24366@bmerh85.bnr.ca>  <1992Jul27.031238.10376@chpc.utexas.edu> <1992Jul27.215202*Harald.Eikrem@delab.sintef.no>
Sender: news@pki-nbg.philips.de
Lines: 61