Ksh cursor keys (Was: who uses which shells)

Dave Hammond daveh at marob.MASA.COM
Wed Jun 1 10:06:53 AEST 1988


In article <1887 at mhres.mh.nl> jv at mhres.mh.nl (Johan Vromans) writes:
>
>Okay fellows, ksh is wonderfull. One of its most powerfull features is
>command line editing. You can use your familiar editor-style to edit them.
>
>But WHY does ksh not allow cursor (=arrow) keys to be used? Vi does. Emacs
>does. Even VMS does it.

Ksh does not make use of any terminal-independent characteristics, such as
cursor-keys. External editors are emulated using only newlines, returns
and spaces to modify the edit line. Making use of cursor-keys also requires
parsing multiple character sequences which would add some overhead.


Dave Hammond
UUCP:   ...!marob!daveh
--------------------------------



More information about the Comp.unix.wizards mailing list