I've never had the slightest trouble with this in Debian. Are you using a non-standard keyboard, or is there anything unusual about your setup? If its just a Netwinder it should work. Make sure you have TERM=linux in your environment. Maybe try vim instead of nvi? Does it only misbehave when running X or does it do it at the console as well?
My XF86Config-4 contains:
Section "InputDevice" Identifier "Default Keyboard" Driver "Keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection
There is nothing really special here, just typical defaults.
Maybe make sure you have ncurses installed? I should think that you certainly would, but apps like vim use ncurses for their terminal drivers, so an incorrect TERM environment variable can cause strange behavior.
Thats all I can think of:
a. Problem w/ TERM environment var b. Bogus settings in XF86Config-4
- Doug
Patrice LaFlamme wrote:
Fun with terminal types 101. Getting it to work consistently in all apps under console, x, screen, is black magic. Shouldn't be, but it is :(
ugh.
Before I had debian it was all ok :(
Quick fix for misbehaving terminals: Type "stty erase <backspace>", which will probably print ^H instead... then it will work. Don't
that doesn't work
Patrix.