separate the command language and interactive she
Hans Mulder
hansm at cs.kun.nl
Thu May 2 03:17:28 AEST 1991
In <2509 at optima.cs.arizona.edu> gudeman at cs.arizona.edu (David Gudeman) writes:
>Just to clarify my terms: I would call sh a command language and csh a
>combination of command language and interactive shell. I wasn't
>suggesting a completely different type of command language like those
>mentioned above (although I think it is a good idea). My suggestion
>was just to separate the interactive part of the unix shell from the
>command part. You would run the interactive shell of your choice with
>the interactive command language of your choice; for example you could
>run an interactive shell that implements the csh history mechanism
>with sh as your command language.
>(In the following, an interactive shell is an ish and a command
>language is a clang.)
Sorry for injection some facts into an otherwise useful theoretical
discussion, but in 1987 (according to the copyright notice) Kazumasa
Utashiro of Software Research Associates, Inc. wrote a nice "ish"
called "fep" (for Front End Processor). It's invocation is
fep [-emacs|-vi] clang
The option indicates which flavor of key bindings you want to use for
editing the history. As you would expect, "fep sh" gives you a Korn
shell emulation, of sorts.
Conclusions:
1. It Can Be Done.
2. The clang doesn't have to know about the ish.
--
Have a nice day,
Hans Mulder hansm at cs.kun.nl
More information about the Comp.unix.shell
mailing list