home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:4697 comp.unix.shell:4714 comp.unix.misc:4173
- Path: sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!eff!sol.ctr.columbia.edu!spool.mu.edu!olivea!gossip.pyramid.com!pyramid!infmx!hartman
- From: hartman@informix.com (Robert Hartman)
- Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
- Subject: Re: The Problem with UNIX
- Message-ID: <1992Nov13.232927.2742@informix.com>
- Date: 13 Nov 92 23:29:27 GMT
- References: <1992Nov12.193707.27532@chpc.utexas.edu> <1992Nov13.104731.29328@aston.ac.uk>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 35
-
- In article <1992Nov13.104731.29328@aston.ac.uk> evansmp@uhura.aston.ac.uk (Mark Evans) writes:
- >michael@chpc.utexas.edu (Michael Lemke) writes:
- ...
- >: > ... My new shell keeps track of the user's command history in order to
- >: >make accurate corrections.
- >: >
- >: >I have no hopes to solve all of the shell user interface problems, but I do
- >: >hope to solve most of the common errors. Just by fixing obvious typos my shell
- >: >can fix 90% of the command line errors that I (and most people) make on a daily
- >: >basis.
- >: >
- >:
- >: Well, fixing typos is neat but it is not the essential problem. My
- >: main complaint about Unix on the user interface level is that there is
- >: no command line interpreter.
-
- [discussion of no standard options problem omitted for brevity]
-
- >: ... This would all be
- >: solved if there were *one* system function that is used by all programs
- >: instead of having every program duplicate more or less the same
- >: functionality with different success. And it would be great if you
- >: could abbreviate commands (command completion of some shells it neat
- >: but why is it neccessary in the first place?) and options (no need for
- >: dynamic chinese anymore).
-
- You know, I see merit in both of these approaches. The command line
- parser should be a library routine in stdio. The shell should use
- command and option completion prior to exec, and the command history to
- autocorrect typos when the parsing routine returns an error. This
- routine could perhaps be called by the shell as the last step prior to
- calling exec to save system overhead of having to create a process
- only to return an immediate error.
-
- -r
-