On Fri, 20 Aug 1999, Jeff Burdges wrote:
> > Just wondering if someone uses Hugs for writing Unix-Shell Scripts. Or
> > what would you think about a Haskell-Shell. SCSH (a Scheme-Shell)
> > brought me on that idea. Don't you think that would be a nice thing?
>
> Yes, it would be a wonderful idea.. but Hugs would need to be madified since
> a) it has no history, tab compleation, or other nifty interactive features,
I want comment on (a).
Hugs has [optional] support of readline library for history and
line editing. And yes, history is not saved in a history
file, but this can be done by an external wrapper.
For example, there is a program called ledit
(http://caml.inria.fr/some/where/) that can
add a line editing and history facility to any
program that waits for commands from stdin and print results
to stdout. You just write `ledit program' and
program gets this facility.
=== Grigoriy Strokin, Lomonosov University (MGU), Moscow ===
=== contact info: http://isabase.philol.msu.ru/~grg/ ===