Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Feedback on prototype reorganized Zsh website



2024-10-27 11:46:22 -0700, Bart Schaefer:
> On Sun, Oct 27, 2024 at 11:43 AM Stephane Chazelas
> <stephane@xxxxxxxxxxxx> wrote:
> >
> > >  Many of the useful features of bash, ksh, and tcsh were incorporated into zsh
> >
> > Which got me wondering what "useful features of bash" zsh has
> > incorporated.
> 
> IIRC at the time zsh was introduced, bash already had readline for
> command editing, but ksh did not yet have an equivalent.  So the
> reference to "features of bash" likely means ZLE.

I remember looking into that: https://unix.stackexchange.com/questions/277789/why-cant-korn-shell-do-ctrl-r/277800#277800

ksh has had a vi and emacs line editor since 1983, long before
bash (though of course you could say the "features" themselves
come from vi and emacs), you can see that where tcsh and ksh
differ, readline's interface usually follows ksh so that's likely
where it got its inspiration.

It's true though (and as noted at the link above) that zsh 1.0
in 1990 was *using* readline with a note in the announcement
that it would change in 2.0 (which it did the next year). I
don't think we can say the line editor feature comes from bash.

Cheers,
Stephane




Messages sorted by: Reverse Date, Date, Thread, Author