VI arrow keys behaviour

Lea Gris lea.gris at
Thu Aug 16 15:02:20 UTC 2007

Paul Varjak a écrit :
> Hello.
> When I'm editing a file with vi under ubuntu 7.04 and I'm in insert
> mode, if I try to move around with the arrow keys before pressing
> ESCAPE every press of an arrow key makes appear a strange char into my
> file.

Arrow keys are implemented in vim (vi improved), not in the basic vi.
Though the devault vi in Ubuntu is vim.

What may cause arrow keys not working is the terminal information
terminfo not beying present on the accessed host

Look at what tells the $TERM environment and ensure there is a
corresponding named terminfo file on the host you are using vi.

     Léa Gris -
()   Campagne du ruban texte brut contre les courriels en HTML,
/\   contre les pièces jointes dans un format propriétaire.
     Contre les DRMs appelez le : 09f911029d74e35bd84156c5635688c0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the kubuntu-users mailing list