Article View: comp.sys.apple2.gno
Article #215Re: Why csh? (Re: unshar needed & sh dis...)
From: Jawaid Bazyar
Date: Fri, 25 Dec 1992 13:47
Date: Fri, 25 Dec 1992 13:47
34 lines
2369 bytes
2369 bytes
jpenne@ee.ualberta.ca (Jerry Penner) writes: >Just a question (as the subject line says), why did you go with 'csh' >compatibility in the first place? Unix csh is broken (as far as >programming the thing goes. Its command line interface works fine, >except that it lacks command line editing and most versions I've >played with don't have filename completion working). The other >shells like ksh, bash, etc are better... Of course, this is just an >interest-based question since you're obviously not going to change it >now. gsh takes a lot of inspiration from tcsh, the modern derivative of csh, which provides command-line editing, smarter path handling, and filename and command completion. We never studied a whole lot on any aspect of why csh's script language might be considered 'broken'. Can you provide some examples? >I don't own GNO so I'm also wondering how tightly coupled is the GNO >kernel to the 'gsh' shell? Can it be replaced with something else or >would you have to start up another shell from inside it. It would be >cool to have 'chsh /bin/ksh' work in GNO. gsh is completely (100%) decoupled from the kernel. We did it just like Unix because, well, Unix did it right :) chsh .. is trivial, but right now gsh is the only shell we've got. I expect this to change in the future. gsh also provides some IIgs-specific support that the Unix based shells cannot (like AppleWorks _and_ emacs style command line editing). -- Jawaid Bazyar | Ask me about the GNO Multitasking Environment Procyon, Inc. | for the Apple IIgs! bazyar@cs.uiuc.edu | P.O Box 620334 --Apple II Forever!-- | Littleton, CO 80162-0334 (303) 933-4649
Technical Details
Message-ID:
<bazyar.725291247@teal>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!purdue!yuma!csn!teal!bazyarReferences:
<behrenss.724869178@hphalle6> <1992Dec21.160930.1472@r-node.gts.org> <1h5c80INN9ba@charnel.ecst.csuchico.edu> <1992Dec22.120955.13131@quando.quantum.de> <bazyar.725048507@teal> <jpenne.725237760@ee.ualberta.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.apple2.gno Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!purdue!yuma!csn!teal!bazyar From: bazyar@teal.csn.org (Jawaid Bazyar) Subject: Re: Why csh? (Re: unshar needed & sh dis...) Message-ID: <bazyar.725291247@teal> Sender: news@csn.org (news) Nntp-Posting-Host: teal.csn.org Organization: Colorado SuperNet, Inc. References: <behrenss.724869178@hphalle6> <1992Dec21.160930.1472@r-node.gts.org> <1h5c80INN9ba@charnel.ecst.csuchico.edu> <1992Dec22.120955.13131@quando.quantum.de> <bazyar.725048507@teal> <jpenne.725237760@ee.ualberta.ca> Date: Fri, 25 Dec 1992 13:47:27 GMT Lines: 34