Subject: Re: ESC in vi & related binding issues
To: Adrian Rollett <acrollet+@andrew.cmu.edu>
From: Paul Ripke <stixpjr@ozemail.com.au>
List: port-mac68k
Date: 09/29/1998 22:59:52
>On Mon, 28 Sep 1998, Steve Revilak wrote:
>
>* >hrmm thanks! now if I can only get VI to edit my rc.conf! my mac keyboard
>* >is
>* >one of those compact ones like 3in tall and a foot and a half wide so it's
>* >not what you'd call a big keyboard... and what's the equivelant of a mac
>* >"Esc" key in netbsd? I always used esc,esc to get into the command line of
>* >vi what is it for netbsd?
>*
>* Er, I always used the ESC key...top left one on the keyboard.
>*
>
>some keyboards don't have an escape key... i've also found ^C to work...

Try ^3 (that's control-3). It should generate the right ASCII code... I use
it all the time on old DEC terminals. You can also use that trick for F-keys.
F1 = ESC 1, or ^3 1 (control-3 then 1). Comes in rather handy.

Cheers,

--
Paul Ripke
BHP Information Technology
OpenVMS & UNIX (AIX, Digital, SunOS, Solaris, DG/UX) Sysadmin
Computer Centre,  Five Islands Rd,  Port Kembla,  NSW 2505,   AUSTRALIA
   ripke.paul.pr@bhp.com.au pjr02@uow.edu.au stixpjr@ozemail.com.au
        Anyone wishing to lay claim to the opinions expressed
                  herein, do so at their own risk.