Subject: Re: Command line editing in ksh
To: None <port-arm32@NetBSD.ORG>
From: Tony Houghton <tonyh@tcp.co.uk>
List: port-arm32
Date: 03/19/1998 23:34:42
In message <NjaE1Encm@desktop-nc187.client.nc.com>
          Paul Wain <pwain@nc.com> wrote:

> Tony Houghton wrote on , 19 Mar 1998 15:17:24 GMT:
>
> > I heard that ksh and even Bourne sh can do bash-style command-line
> > editing. How can I set this up, or would I be better off running
> > bash anyway (on 1.3 release)?
>
> For vi style editing:
>
>      set -o vi
>
> For emacs style editing
>
>      set -o emacs

Well yes, but with bash (or at least the version I saw in my brief
flirtation with ARMLinux [1]) all you have to do is press the cursor
keys and you're editing the command line - very nice :-). So is it
possible to get ksh to do that, either by binding keys in vi or emacs or
by some other method?

[1] I couldn't get the keyboard working properly and there isn't nearly
so much help available on its mailing list as "ours".

-- 
  \_________________
                    \  http://homepages.tcp.co.uk/~tonyh/
   The Curling Pages \ The home of WinEd, Bombz and NewsFind for RISC OS