* Thorsten Glaser <[email protected]> [2013-11-26 22:26]:
> Guido Berhoerster dixit:
> 
> >Not being able to edit a multi-line command in the builtin editor
> >is not a big deal (and the same in ksh93 and ksh88), however
> >storing each line as a separate history entry is IMHO broken
> >because such history entries become essentially useless as they
> >cannot be re-input.
> 
> They can, ^O is your friend.

OK, I have to correct myself then, it's not broken only ugly
because it treats a single command as several separate entries ;)

> >Could you modify the history code to store multiple lines as a
> >single item? I just checked and that is the behavior of the
> 
> That would break the format *and* prevent reentry of old history
> lines (except with a multi-line FCEDIT).

I guess the format is a deal breaker, the latter has always been
the case with original ksh, that is the inline editor only allows
modification of the last line of a multi-line command, otherwise
you need to use FCEDIT.
-- 
Guido Berhoerster

Reply via email to