delete is backspace!

delete is backspace!

Post by Jeff Week » Tue, 30 Jul 1996 04:00:00



I've got a really anoying problem in X-Windows.  Whenever I hit delete
is does what backspace is supposed to do!  Is this normal?  Also in all
the X editors I have whenever I hit end or home is goes to the end or
start of the document not the line.  Can this be changed or is it
probably hard-coded into the editor?


Jeff

 
 
 

delete is backspace!

Post by Graham Swall » Tue, 30 Jul 1996 04:00:00


        Jeff, try reading this, to see how it matches your situation:
        http://beyond.malmo.lth.se/~gps/Raven/SSR02/ssr02_03_backspace.html


--
        -----------------------------------
        http://www.users.dircon.co.uk/~trix   <-- Linux Info Pages
        http://trix.dircon.co.uk/ (dial-up)   <-- Raven Kept Here
        -----------------------------------


> I've got a really anoying problem in X-Windows.  Whenever I hit delete
> is does what backspace is supposed to do!  Is this normal?  Also in all
> the X editors I have whenever I hit end or home is goes to the end or
> start of the document not the line.  Can this be changed or is it
> probably hard-coded into the editor?


 
 
 

delete is backspace!

Post by Thomas Horste » Wed, 31 Jul 1996 04:00:00



> I've got a really anoying problem in X-Windows.  Whenever I hit delete
> is does what backspace is supposed to do!  Is this normal?  Also in all
> the X editors I have whenever I hit end or home is goes to the end or
> start of the document not the line.  Can this be changed or is it
> probably hard-coded into the editor?


> Jeff

I am not 100% sure that I've made the solution "the right way" (I doubt
that I have), but here's what I've done (I'm using Danish keyboard so
the procedure might not be correct).

I simply made the Backspace send a ^H in the keymap I load at boottime.
This works great in X. To make it work in the text-consoles as well you
have to make modifications to some other files, I don't remember exactly
where because it's been some time since I did it.

Regards, Thomas

 
 
 

delete is backspace!

Post by Marc MERL » Sun, 04 Aug 1996 04:00:00




Quote:>I've got a really anoying problem in X-Windows.  Whenever I hit delete
>is does what backspace is supposed to do!  Is this normal?  Also in all

I had this problem with the French keymap a while ago. Basically, all I had
to do is edit fr-latin1.map and notice that the backspace key was assigned
the delete value :-(

moremagic:/etc/sysconfig$ diff -uN fr-latin1.map{.orig,}
--- fr-latin1.map.orig  Sat Jan  6 11:16:26 1996

        alt     keycode  12 = Meta_minus
 keycode  13 = equal            plus             braceright
        alt     keycode  13 = Meta_equal
-keycode  14 = Delete           Delete
+keycode  14 = BackSpace           BackSpace
        alt     keycode  14 = Meta_Delete
 keycode  15 = Tab              Tab
        alt     keycode  15 = Meta_Tab

Maybe there is a similar problem for your keymap (BTW, it's supposed to be
in /usr/lib/kbd/keymaps, but I like to have the right keymap when I boot in
single user and don't have /usr mounted :-)

Best,
Marc
--
Home page: http://www.efrei.fr/~merlin/ (browser friendly)