how can i map my <backspace> key to be <delete>?

how can i map my <backspace> key to be <delete>?

Post by Donald Bu » Sat, 15 Apr 1995 04:00:00



I'd like my <Backspace> key on my keyboard to become the <Delete> key.  
For example, when I'm entering a URL to jump to in either Netscape or
Mosaic, slapping <Backspace> to correct misteaks doesn't work -- I have
to hit <Ctrl><H> in order to get the cursor to backspace.

How can I do this on my Linux box running XF86 3.1.1?

Someone told me to create a file /usr/X11R6/lib/X11/xinit/.Xmodmap
to contain a line:  keysym BackSpace = Delete

I tried this, but it does not work... X complains that BackSpace is a
"bad keycode" or something like that.

How can I get this to work?  Please respond... thanks!
--
Donald Burr, ComSci major in training :-)  [by 6/95, we hope...]
POB 91212, Santa Barbara, CA 93190-1212 // tel: (805)564-1871 // fax: 564-2315

http://www.silcom.com/~picard    ** Uphold your right to privacy - Use PGP. **

 
 
 

how can i map my <backspace> key to be <delete>?

Post by Zenon Fortu » Tue, 18 Apr 1995 04:00:00



>I'd like my <Backspace> key on my keyboard to become the <Delete> key.  
>For example, when I'm entering a URL to jump to in either Netscape or
>Mosaic, slapping <Backspace> to correct misteaks doesn't work -- I have
>to hit <Ctrl><H> in order to get the cursor to backspace.

>How can I do this on my Linux box running XF86 3.1.1?

>Someone told me to create a file /usr/X11R6/lib/X11/xinit/.Xmodmap
>to contain a line:  keysym BackSpace = Delete

>I tried this, but it does not work... X complains that BackSpace is a
>"bad keycode" or something like that.

>How can I get this to work?  Please respond... thanks!
>--
>Donald Burr, ComSci major in training :-)  [by 6/95, we hope...]

I think you may find the answer in the Backspace-HOWTO by Stephen Lee.

You can get the copy from

        ftp.netcom.com:/pub/ze/zenon/linux/howto/Backspace-HOWTO

   Zenon.

 
 
 

how can i map my <backspace> key to be <delete>?

Post by Keith Bobit » Wed, 19 Apr 1995 04:00:00


Try placing the following line in your shell startup file; i.e .profile for
BASH, .cshrc for CSH, or .tcshrc for TCSH.

xmodmap -e "keycode 22 = BackSpace"

-------------------------------------------------------------------------------
Keith Bobitt                        Ph. 919-941-5740x4125    |X/MS Windows

Wandel & Goltermann Technologies    RTP, NC                  |Software Engineer

 
 
 

1. <Alt>+<key> = <Esc><key> ?

Hi,

How should I tell Xserver to treat simultaneous press (in editor) on
<Alt>+<E> as <Esc><E>, like under VC. Now it returns A with circle on
top.
Therefore, I want the same behaviour of Alt_L under X and console.

Best regards.

                Zlatko
______________________________________________________________________________

Dr. Zlatko Rek                          |     Phone: +386 61 1771 200
Faculty of Mechanical Engineering       |            +386 61 1771 150
Lab. for Fluid Dynamics and Thermodyn.  |       Fax: +386 61 218 567
Askerceva 6                             |    E-mail:

SI-1000 Ljubljana, SLOVENIA             |       WWW:
http://www2.ijs.si/~rek
______________________________________________________________________________

2. Redhat 6.0 installs Pentium kernel for 486

3. <><><> MOUNTING EXTENDED PARTITION <><><>

4. Installing from Orchid CDS-3110 CD. Help?

5. Wanted: <><><> Unix Specialist <><><>

6. Nixpub Listing

7. LILO help <><><><><><>

8. xev in Solaris

9. <<->> x-server and backspace: help needed please <<->>

10. How to map <tab> to <sp><sp><sp>?

11. <ctrl><alt><backspace>: Conflict!

12. *{<><>}*Linux*Screen*Difficulties*{<><>}*

13. << <<anyone using dyn-html?>> >>