* csh vs sh
@ 1995-06-29 4:00 Don Wilkerson
1995-06-30 4:00 ` oberman
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Don Wilkerson @ 1995-06-29 4:00 UTC (permalink / raw)
Just interested in y'alls thoughts. When setting up users I know you can
choose which shell to use. I was wondering what do you think would be the
better shell /bin/csh or /bin/sh and why?
Thanks for the responses!!
Don Wilkerson
TriPath Network
don@colosys.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: csh vs sh
1995-06-29 4:00 csh vs sh Don Wilkerson
1995-06-30 4:00 ` oberman
@ 1995-06-30 4:00 ` Mariano Goluboff
1995-06-30 4:00 ` Peter Schmitzberger
` (2 more replies)
1995-06-30 4:00 ` Daniel S. Riley
1995-07-01 4:00 ` Harald Fuchs
3 siblings, 3 replies; 13+ messages in thread
From: Mariano Goluboff @ 1995-06-30 4:00 UTC (permalink / raw)
don@tripath.colosys.net (Don Wilkerson) writes:
>Just interested in y'alls thoughts. When setting up users I know you can
>choose which shell to use. I was wondering what do you think would be the
>better shell /bin/csh or /bin/sh and why?
Well, I think there is no question that for the users csh is much better
than sh. The reason I say this is because csh has all the features that
sh has, plus more. Of course, I would rather use tcsh (I don't think
plain csh gives the up-arrow thingy that lets you repeat commands).
Cheers,
--
--
Mariano Goluboff
"The above is solely my opinion, not that of any part of the University
of Colorado. DUH!!". USE PGP!!! PGP public key available in WWW:
http://hep-www.Colorado.EDU/~goluboff
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: csh vs sh
1995-06-30 4:00 ` Mariano Goluboff
@ 1995-06-30 4:00 ` Peter Schmitzberger
1995-06-30 4:00 ` Werner Hort
1995-07-13 4:00 ` "Mark Jeffery"
2 siblings, 0 replies; 13+ messages in thread
From: Peter Schmitzberger @ 1995-06-30 4:00 UTC (permalink / raw)
: don@tripath.colosys.net (Don Wilkerson) writes:
:
: Of course, I would rather use tcsh (I don't think
: plain csh gives the up-arrow thingy that lets you repeat commands).
csh gives you the up-arrow thingy too. You just have to
set editmode=emacs (or vi)
see cmdetid(1) for details
cheers
Peter
--
| Peter Schmitzberger, Univ. of Salzburg, Austria | R I S T + + |
| http://www.coma.sbg.ac.at/~schmitz/ | schmitz@coma.sbg.ac.at |
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: csh vs sh
1995-06-29 4:00 csh vs sh Don Wilkerson
1995-06-30 4:00 ` oberman
1995-06-30 4:00 ` Mariano Goluboff
@ 1995-06-30 4:00 ` Daniel S. Riley
1995-07-01 4:00 ` Harald Fuchs
3 siblings, 0 replies; 13+ messages in thread
From: Daniel S. Riley @ 1995-06-30 4:00 UTC (permalink / raw)
In article <don.47.00CE0E50@tripath.colosys.net>,
don@tripath.colosys.net (Don Wilkerson) writes:
don> Just interested in y'alls thoughts. When setting up users I know
don> you can choose which shell to use. I was wondering what do you
don> think would be the better shell /bin/csh or /bin/sh and why?
Definitely not /bin/sh -- it just doesn't have the features users
expect in an interactive shell: no history, no command line editing,
no job control.
If you are limiting yourself to software provided with the system, the
real choice is between /bin/csh and /bin/ksh. My sympathies are with
/bin/ksh -- it provides just about all the functionality csh does, it
has the cleaner Bourne shell command language (csh control constructs
are much uglier), and it is very close to the POSIX 1003.2 standard
shell, so something reasonably similar should exist on any 1003.2
compliant system.
Around here, the actual choice is tcsh or bash, where tcsh is a more
featureful csh and bash is a more featureful ksh, both freely
distributable. Our default is tcsh, partly due to inertia and partly
because most of the introductory documentation around here (esp. "Unix
for VMS users", which used to be an important doc for us) is csh
oriented. Among experienced users, it is probably about 50/50
tcsh/bash.
--
Dan Riley Internet: dsr@lns598.lns.cornell.edu
Wilson Lab, Cornell University HEPNET/SPAN: lns598::dsr (44630::dsr)
"Distance means nothing/To me." -Kate Bush
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: csh vs sh
1995-06-29 4:00 csh vs sh Don Wilkerson
@ 1995-06-30 4:00 ` oberman
1995-06-30 4:00 ` Daryl Morse
1995-07-07 4:00 ` Juergen Fuhrmann
1995-06-30 4:00 ` Mariano Goluboff
` (2 subsequent siblings)
3 siblings, 2 replies; 13+ messages in thread
From: oberman @ 1995-06-30 4:00 UTC (permalink / raw)
In Article <don.47.00CE0E50@tripath.colosys.net>
don@tripath.colosys.net (Don Wilkerson) writes:
>Just interested in y'alls thoughts. When setting up users I know you can
>choose which shell to use. I was wondering what do you think would be the
>better shell /bin/csh or /bin/sh and why?
sh is the most basic of the shells, but has very few features and is not very
user friendly, IMHO. I use it to write scripts, but that's about it. csh is
much nicer, but still lacks many useful features. I would suggest tcsh. It is a
superset of csh so the users .cshrc and .login files still work, but it has a
huge number of added features including on-screen command line editing, command
and filename completion, idle terminal logout, and much more flexible prompts.
I hold the belief that the only reason all users don't run tcsh is that they
are not aware of its existence.
R. Kevin Oberman
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov +1 510-422-6955
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: csh vs sh
1995-06-30 4:00 ` oberman
@ 1995-06-30 4:00 ` Daryl Morse
1995-07-01 4:00 ` Juergen Schroeder
1995-07-07 4:00 ` Juergen Fuhrmann
1 sibling, 1 reply; 13+ messages in thread
From: Daryl Morse @ 1995-06-30 4:00 UTC (permalink / raw)
In article <3t13mj$2em@lll-winken.llnl.gov>, oberman@icaen.llnl.gov writes:
> In Article <don.47.00CE0E50@tripath.colosys.net>
> don@tripath.colosys.net (Don Wilkerson) writes:
>> Just interested in y'alls thoughts. When setting up users I know
>> you can choose which shell to use. I was wondering what do you
>> think would be the better shell /bin/csh or /bin/sh and why?
[comments about tcsh deleted...]
> I hold the belief that the only reason all users don't run tcsh is
> that they are not aware of its existence.
I second this. I've been using tcsh for several years now and am very
pleased with it.
--
Daryl Morse | Voice : (604) 293-5476
MPR Teltech Ltd. | Fax : (604) 293-5787
8999 Nelson Way, Burnaby, BC | E-Mail : morse@mpr.ca
Canada, V5A 4B5 | URL : http://www.mpr.ca/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: csh vs sh
1995-06-30 4:00 ` Mariano Goluboff
1995-06-30 4:00 ` Peter Schmitzberger
@ 1995-06-30 4:00 ` Werner Hort
1995-07-13 4:00 ` "Mark Jeffery"
2 siblings, 0 replies; 13+ messages in thread
From: Werner Hort @ 1995-06-30 4:00 UTC (permalink / raw)
goluboff@rmchep.Colorado.EDU (Mariano Goluboff) wrote:
>
>Well, I think there is no question that for the users csh is much better
>than sh. The reason I say this is because csh has all the features that
>sh has, plus more. Of course, I would rather use tcsh (I don't think
>plain csh gives the up-arrow thingy that lets you repeat commands).
^^^^^^^^
try 'set editmode = emacs'
werner
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: csh vs sh
1995-06-30 4:00 ` Daryl Morse
@ 1995-07-01 4:00 ` Juergen Schroeder
0 siblings, 0 replies; 13+ messages in thread
From: Juergen Schroeder @ 1995-07-01 4:00 UTC (permalink / raw)
Daryl Morse (morse@quark.mpr.ca) wrote:
: In article <3t13mj$2em@lll-winken.llnl.gov>, oberman@icaen.llnl.gov writes:
: [comments about tcsh deleted...]
: > I hold the belief that the only reason all users don't run tcsh is
: > that they are not aware of its existence.
: I second this. I've been using tcsh for several years now and am very
: pleased with it.
Metoo, I like the tcsh but there are also user friendly shells like the
zshell or bash. They are compatible to sh and ksh.
Juergen
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: csh vs sh
1995-06-29 4:00 csh vs sh Don Wilkerson
` (2 preceding siblings ...)
1995-06-30 4:00 ` Daniel S. Riley
@ 1995-07-01 4:00 ` Harald Fuchs
1995-07-03 4:00 ` Stephen Mullin
3 siblings, 1 reply; 13+ messages in thread
From: Harald Fuchs @ 1995-07-01 4:00 UTC (permalink / raw)
oberman@icaen.llnl.gov writes:
> I hold the belief that the only reason all users don't run tcsh is that they
> are not aware of its existence.
There's another reason: tcsh is a C-shell - and many people think that
csh *as a scripting language* is inferior to a Bourne shell. I prefer
using the same language interactively and for writing scripts; thus I
stick to an enhanced Bourne shell (zsh in my case).
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: RE: csh vs sh
1995-07-01 4:00 ` Harald Fuchs
@ 1995-07-03 4:00 ` Stephen Mullin
1995-07-06 4:00 ` Stefan Dalibor
0 siblings, 1 reply; 13+ messages in thread
From: Stephen Mullin @ 1995-07-03 4:00 UTC (permalink / raw)
To: hf
Nobodys metioned the filename completion and tree walking features
in tcsh. All the other stuff can mostly be had out of a csh. Most of
my scripts have been to address management issues and I've prefered
to write them in Borne. But on the fly and interactive work well...tcsh.
Been using it since '86 I think. (BSD 4.2 ish)
If you like csh..you'll LOVE tcsh
If you like ksh..you've never seen the features of tcsh!
-Stephen
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: RE: csh vs sh
1995-07-03 4:00 ` Stephen Mullin
@ 1995-07-06 4:00 ` Stefan Dalibor
0 siblings, 0 replies; 13+ messages in thread
From: Stefan Dalibor @ 1995-07-06 4:00 UTC (permalink / raw)
In article <3t9923$fj6@usenet.pa.dec.com>,
Stephen Mullin <mullin@decatl.alf.dec.com> wrote:
>Nobodys metioned the filename completion and tree walking features
>in tcsh. All the other stuff can mostly be had out of a csh. Most of
>my scripts have been to address management issues and I've prefered
>to write them in Borne. But on the fly and interactive work well...tcsh.
>Been using it since '86 I think. (BSD 4.2 ish)
IMHO it's time to evaluate what has been developed since then...
I see (t)csh as a dead sideline of shell evolution.
>If you like csh..you'll LOVE tcsh
>If you like ksh..you've never seen the features of tcsh!
Have you ever seen the features of zsh? Including compatibility to
the Bourne/Korn-Shell refering the programming constructs, zsh offers
really impressive interactive features (nearly completely program-
mable completion, builtin full-screen editor etc.).
(t)csh is good for hammering simple commands to the keyboard sequen-
tially without too much learning/thinking, but one should anticipate
getting more experienced and having to do more complex tasks
(or having to complete current tasks with much higher productivity)
- and the (t)csh model of shells is by far too primitive for such
things.
Check out comp.unix.shells; there are regularly posted documents
describing the weaknesses of (t)csh and the differences between
current shell designs in detail.
Stefan
---
Stefan Dalibor dalibor@immd3.informatik.uni-erlangen.de
http://faui30t.informatik.uni-erlangen.de:1200/Staff/dalibor/dalibor.html
"My vision thing come... slamming through." -- SoM
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: csh vs sh
1995-06-30 4:00 ` oberman
1995-06-30 4:00 ` Daryl Morse
@ 1995-07-07 4:00 ` Juergen Fuhrmann
1 sibling, 0 replies; 13+ messages in thread
From: Juergen Fuhrmann @ 1995-07-07 4:00 UTC (permalink / raw)
>>>>> "Harald" == Harald Fuchs <hf@colibri.de> writes:
Harald>
oberman@icaen.llnl.gov writes:
>> I hold the belief that the only reason all users don't run tcsh
>> is that they are not aware of its existence.
Harald> There's another reason: tcsh is a C-shell - and many
Harald> people think that csh *as a scripting language* is
Harald> inferior to a Bourne shell. I prefer using the same
Harald> language interactively and for writing scripts; thus I
Harald> stick to an enhanced Bourne shell (zsh in my case).
This ist the main reason for me too to use a Bourne oriented sh - in my
case bash. Another reason is that bash (from the GNU warehose)
installed much more easily and smoothly (make config; make; make test; make install
- on SunOS, Irix and OSF1 without _any_ problems) than tcsh.
I don't know much about zsh. I'm trusting the GNU software a lot, so
I guess I will stick to it for a longer period...
Juergen
--
Juergen Fuhrmann fuhrmann@wias-berlin.de
Weierstrass Institute for Applied Analysis and Stochastics (WIAS)
Mohrenstrasse 39 D-10117 Berlin, Germany
phone: (49) 030 20377 560 fax: (49) 030 2044975
* Bad News is No News *
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: csh vs sh
1995-06-30 4:00 ` Mariano Goluboff
1995-06-30 4:00 ` Peter Schmitzberger
1995-06-30 4:00 ` Werner Hort
@ 1995-07-13 4:00 ` "Mark Jeffery"
2 siblings, 0 replies; 13+ messages in thread
From: "Mark Jeffery" @ 1995-07-13 4:00 UTC (permalink / raw)
normal csh gives you the up arrow editing, just do:
set editmode=emacs
set filec
set history=100
Brilliant!
Mark Jeffery
Westek UK
Phone: +44 1734 880230
FAX: +44 1734 880360
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~1995-07-13 4:00 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-29 4:00 csh vs sh Don Wilkerson
1995-06-30 4:00 ` oberman
1995-06-30 4:00 ` Daryl Morse
1995-07-01 4:00 ` Juergen Schroeder
1995-07-07 4:00 ` Juergen Fuhrmann
1995-06-30 4:00 ` Mariano Goluboff
1995-06-30 4:00 ` Peter Schmitzberger
1995-06-30 4:00 ` Werner Hort
1995-07-13 4:00 ` "Mark Jeffery"
1995-06-30 4:00 ` Daniel S. Riley
1995-07-01 4:00 ` Harald Fuchs
1995-07-03 4:00 ` Stephen Mullin
1995-07-06 4:00 ` Stefan Dalibor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox