Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2000 00:39:23 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        imp@village.org (Warner Losh)
Cc:        arch@freebsd.org
Subject:   Re: Import of tcsh into src/contrib/, replacing src/usr.bin/csh
Message-ID:  <200004070739.AAA39984@gndrsh.dnsmgr.net>
In-Reply-To: <200004070701.BAA98243@harmony.village.org> from Warner Losh at "Apr 7, 2000 01:01:45 am"

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> In message <200004070625.XAA39745@gndrsh.dnsmgr.net> "Rodney W. Grimes" writes:
> : [CC trimmed back to -arch]
> : > David O'Brien wrote:
> : > > 
> : > > On Thu, Apr 06, 2000 at 03:50:49PM -0600, Nate Williams wrote:
> : > > > > I don't want a fully functional workstation.  I want a root account that
> : > > > > is useful.
> : > > >
> : > > > It's completely useful.  It has everything you need.  What does tcsh
> : > > > provide you that csh doesn't provide you that is needed for root?
> : > > 
-----
> : > > Command line completion, and something other than bazzar "!^?-" history
> : > > substitution.  Shell evolution (and other command line tools) have shown
> : > > that either Emacs or Vi -style line editing is the way to go.  No one has
> : > > adopted the bazzar Csh history substitution syntax.
-----
The above ----- mark what has now been shown to be FUD and should be
taken with a grain of salt.  I still haven't figured out the command
line completion part of that statement.  Is this just folks not knowing 
how to ``set filec'' and use the escape/^D keys??   After all BSD csh is the
grandfather of the filename completion concept... 

If I do recall correctly tcsh's filename completion is quite different,
that might drive me and others nuts :-(.

> : > 
> : > ^No one^Only Wes^
> : ^s^s and Rod^,
> ^Rod^and imp
> 
> I regularly use things like "rm !ls:$" or "cvs commit !vi:*" in my
> everyday world of tcsh.  I can't type into a ksh window and my
> coworkers make fun of me for it :-).
> 
> rm foo.{a,b,c,d}{a,b,c,d}
Ahh... rm foo.[ad][ad] your wasting key strokes, especially them
damn shifted op's doing the {} thing :-)

> cvs !!
> cvs commit !!:2-$
> 
> also has been known to cross the tips fo my fingers.  And on Rare
> Occasions, oddities such as 
> 	!!:s/foo/bar/g
> 	!ls:1-3:s/.c/.cc/

These are not odd in my book at all... and when csh's :s op is too
limited it becomes a echo !! | sed sequence...

> But I've never quite got the knack for using the "basename" of a file
> since I trouble recalling the exact syntax.

Well, it depends on what your calling basename.  There are actually 4
csh substitution modifiers to deal with that stuff, hret, which are
head, root, extenion and tail respectfully.  And thats just how I
remeber which one does what...

> And all of this in tcsh, where I also do unnatural things with my
> command line history.
> 
> Warner
> 
> 


-- 
Rod Grimes - KD7CAX @ CN85sl - (RWG25)               rgrimes@gndrsh.dnsmgr.net




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200004070739.AAA39984>