home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / apple2 / gno / 711 < prev    next >
Encoding:
Text File  |  1992-12-25  |  2.3 KB  |  47 lines

  1. Newsgroups: comp.sys.apple2.gno
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!purdue!yuma!csn!teal!bazyar
  3. From: bazyar@teal.csn.org (Jawaid Bazyar)
  4. Subject: Re: Why csh? (Re: unshar needed & sh dis...)
  5. Message-ID: <bazyar.725291247@teal>
  6. Sender: news@csn.org (news)
  7. Nntp-Posting-Host: teal.csn.org
  8. Organization: Colorado SuperNet, Inc.
  9. 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>
  10. Date: Fri, 25 Dec 1992 13:47:27 GMT
  11. Lines: 34
  12.  
  13. jpenne@ee.ualberta.ca (Jerry Penner) writes:
  14.  
  15. >Just a question (as the subject line says), why did you go with 'csh'
  16. >compatibility in the first place?  Unix csh is broken (as far as
  17. >programming the thing goes.  Its command line interface works fine,
  18. >except that it lacks command line editing and most versions I've
  19. >played with don't have filename completion working).  The other
  20. >shells like ksh, bash, etc are better...  Of course, this is just an
  21. >interest-based question since you're obviously not going to change it
  22. >now.
  23.  
  24.   gsh takes a lot of inspiration from tcsh, the modern derivative of
  25. csh, which provides command-line editing, smarter path handling,
  26. and filename and command completion.
  27.   We never studied a whole lot on any aspect of why csh's script
  28. language might be considered 'broken'.  Can you provide some examples?
  29.  
  30. >I don't own GNO so I'm also wondering how tightly coupled is the GNO
  31. >kernel to the 'gsh' shell?  Can it be replaced with something else or
  32. >would you have to start up another shell from inside it.  It would be
  33. >cool to have 'chsh /bin/ksh' work in GNO.
  34.  
  35.   gsh is completely (100%) decoupled from the kernel.  We did it just
  36. like Unix because, well, Unix did it right :)  chsh .. is trivial,
  37. but right now gsh is the only shell we've got.  I expect this to
  38. change in the future.  gsh also provides some IIgs-specific
  39. support that the Unix based shells cannot (like AppleWorks _and_ emacs
  40. style command line editing).
  41.  
  42. -- 
  43.  Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
  44.  Procyon, Inc.              |   for the Apple IIgs!   
  45.  bazyar@cs.uiuc.edu         |   P.O Box 620334
  46.  --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649
  47.