Stefan Heine dixit:
> on pdksh, I get an output showing one multi-line entry:
>
> [...]
> 16 echo "
> foo
> bar"
That is not pdksh.
tg@blau:/tmp/p/pdksh-5.2.14 $ PS1='x ' pdksh
x echo "a
> b"
a
b
x set -o emacs
x history
1 echo "a
2 b"
3 set -o emacs
Another thing, multi-line editing is not doable portably
without involving some beast like libtermcap or terminfo
because you cannot portably go “one line up”. Although a
multi-line command line input editing mode is on even my
own wishlist for years I believe we will not do that.
bye,
//mirabilos
--
„Cool, /usr/share/doc/mksh/examples/uhr.gz ist ja ein Grund,
mksh auf jedem System zu installieren.“
-- XTaran auf der OpenRheinRuhr, ganz begeistert
(EN: “[…]uhr.gz is a reason to install mksh on every system.”)