Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 1999 15:11:01 +1100
From:      David Dawes <dawes@rf900.physics.usyd.edu.au>
To:        Chris Csanady <ccsanady@friley-185-205.res.iastate.edu>, freebsd-current@FreeBSD.ORG
Subject:   Re: How many people use VI?  This is unbelievable..
Message-ID:  <19990204151101.K28430@rf900.physics.usyd.edu.au>
In-Reply-To: <19990204035306.EEA306@friley-185-205.res.iastate.edu>; from Chris Csanady on Wed, Feb 03, 1999 at 09:53:05PM -0600
References:  <19990204035306.EEA306@friley-185-205.res.iastate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 03, 1999 at 09:53:05PM -0600, Chris Csanady wrote:
>I unfortunately have a lot of data to type in, and to my surprise
>the keypad is unuseable in vi.  It doesn't even work in vim.  Thank
>god it works on Irix--I thought I would be using ee.
>
>Anyways, here is what happens when I type the digits 1-9 on the
>keypad while in insert mode..
>
>y
>x
>w
>v
>u
>t
>s
>r
>q

You don't say what terminal emulator you're using, but with xterm, the
"application keypad" option gets enabled when entering vi, which prevents
the keypad from generating numbers.  You can change it once in vi with
the <Ctrl>+left-button menu.  I haven't looked into this sufficiently
to know the direct cause of this behaviour.  Maybe it could be avoided
by tuning the termcap entry?  Maybe 'vi' (as the application) should
interpret the sequences in the correct way?

David

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990204151101.K28430>