Link to home
Start Free TrialLog in
Avatar of im
im

asked on

Strange keyboard behaviour

I have this rather strange thing with my keyboard...
I have suddenly my backspace key changing function in different programs. In shell, emacs, and most other programs it works as usual, deleting the character to the left of my cursor. But in netscape it works as the delete key erasing the character to the right... Also in xfmail it behaves strange. It is ok in the subject and to: fields but in the
message area it changes to delete.
The only things I have done lately on the box is installing Afterstep, removing it from the startx "script" to start fvwm95 instead. I unhooked the HD and plugged another in for a quick nfs setup for another box, replugged the original and rebooted again... Somewhere along that the strangeness have developed... As far as i can see no "system" files have been altered lately.
Does Afterstep ad something strange?
I tried to reinstall the fi-latin1 keyboard as i use that
That file is changed for swedish comlience by removing the "dead" from a few keys... But everything have worked without any flaws up till the other day.
PLEASE help! I go crazy on this...

/Rikard Johnels
/im@hem.passagen.se
Avatar of poke
poke

Atleast for shell sessions you can type:
stty erase <TYPE ERASE KEY HERE>

This will make the typed key the backspace key. Hope that helps just a little bit :-)
The xkeycaps program that comes with common Linux distribution can set your keyboard behaviour. Is an X application, has a nice interface and supports lots of keboard types.
Even without it you can set your backspace key in the following files:

Slackware: /var/X11R6/lib/xinit/.Xmodmap
RedHat: /etc/X11/xinit/.Xmodmap

by adding the following line:

keycode 0x16 =  BackSpace


Avatar of im

ASKER

That would change the behaviour everywhere.
And this problem is just in a few places...

ASKER CERTIFIED SOLUTION
Avatar of nuno
nuno

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial