Subject: Re: another newbie question
To: Michael Peters <sailor@oro.net>
From: Scott Reynolds <scottr@og.org>
List: port-mac68k
Date: 12/14/1996 13:55:56
(Note: port-m68k@NetBSD.ORG, and its alias m68k@NetBSD.ORG, are not
Mac-specific lists, but rather Motorola 680x0 NetBSD lists in general. A
number of other NetBSD ports have the Motorola MPUs in them.)
On Fri, 13 Dec 1996, Michael Peters wrote:
> Is there anyway to remap the keyboard so vi will accept the arrow keys
> for what they are, instead of almost-beeps and a B+newline?
Yes; the vi/ex `map' command can do this. Typically, in vi you would
(for example) type
:map <ctrl-V><up_arrow> k
:map <ctrl-V><down_arrow> j
and so on. You can put these commands in $HOME/.exrc, as well, to get
them each time.
I'm surprised there is a problem but it may be due to the keyboard you
have. Is it an Apple Extended Keyboard (or Extended Keyboard II), or one
of the standard or compact models?
--scott