🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ca.unix
Article #1086

Re: tcsh

#1086
From: Charles Fu
Date: Sun, 18 Sep 1994 19:42
32 lines
1974 bytes
In article <CutEGJ.GM3@nsc.nsc.com>,
Glenn Newell <glenn@lightning.nsc.com> wrote:
>In article K77@netcom.com,  moriarty@netcom.com (Neal Riemer) writes:
>>So, my question is: can I change to tcsh and still just use the
>>basic stuff the same as in csh.

Same basic stuff.

>Tcsh is a superset of csh. Everything is the same except file name
>completion is on the tab key instead of the escape key.

It's not a strict superset, but comes close.  Some advanced stuff
(like quoting rules, modifiers on variable names, and so forth) are
slightly different, which might break your csh scripts but shouldn't
have a great impact on interactive use.  (Not that you should be
writing many csh scripts.)  The built-in echo and ls are also slightly
different.

One thing to watch out for is that on a number of systems, tcsh has a
race condition which will cause pipelines to occasionally lock up.
cd's through symbolic links can be substantially different, depending
on your defaults.

Oh, and the completion key is customizable.

>Asumming you have a compiled version of tcsh in /bin you just change your
>shell in /etc/passwd form /bin/csh to /bin/tcsh. On some systems you can
>do this with the yppasswd -s command.

Make sure it's listed in /etc/shells, too.

-ccwf
Technical Details
Message-ID: <35i56h$nf@gap.cco.caltech.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!ludwig.klab.caltech.edu!ccwf
References: <moriartyCuppo5.K77@netcom.com> <CutEGJ.GM3@nsc.nsc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10183f,6ed3413a0c78b423
X-Google-Attributes: gid10183f,public
X-Google-ArrivalTime: 1994-09-19 07:07:10 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!ludwig.klab.caltech.edu!ccwf
From: ccwf@ludwig.klab.caltech.edu (Charles Fu)
Newsgroups: ca.unix
Subject: Re: tcsh
Date: 18 Sep 1994 19:42:09 GMT
Organization: California Institute of Technology, Pasadena
Lines: 32
Message-ID: <35i56h$nf@gap.cco.caltech.edu>
References: <moriartyCuppo5.K77@netcom.com> <CutEGJ.GM3@nsc.nsc.com>
NNTP-Posting-Host: ludwig.klab.caltech.edu