From owner-freebsd-arch Fri Apr 7 0:39:43 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 86B2937BF2C for ; Fri, 7 Apr 2000 00:39:41 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id JAA18300 for ; Fri, 7 Apr 2000 09:43:15 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id JAA35830 for freebsd-arch@freebsd.org; Fri, 7 Apr 2000 09:39:39 +0200 (CEST) Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id BA5A637BF2C for ; Fri, 7 Apr 2000 00:39:28 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id AAA39984; Fri, 7 Apr 2000 00:39:24 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200004070739.AAA39984@gndrsh.dnsmgr.net> Subject: Re: Import of tcsh into src/contrib/, replacing src/usr.bin/csh In-Reply-To: <200004070701.BAA98243@harmony.village.org> from Warner Losh at "Apr 7, 2000 01:01:45 am" To: imp@village.org (Warner Losh) Date: Fri, 7 Apr 2000 00:39:23 -0700 (PDT) Cc: arch@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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