Backspacing in an xterm and in Netscape

Backspacing in an xterm and in Netscape

Post by James V. Silvert » Wed, 27 Mar 1996 04:00:00



I have become thoroughly confused by the argument about backspacing in
Netscape. There seem to be remarkably different opinions and observations
and we are now arguing about the "right thing to do".

I have not knowingly run xmodmap when I log on and
I find that when I run "xmodmap -pk", that both keycode 22 and keycode
107 are set to 0xffff (Delete). With this, both the
backspace and the delete keys produce a deleting backspace at the shell
level in the xterm. (IMHO this is right and proper!!)

However, when running Netscape, backspace and delete both delete the
character to the right of the cursor and this is something different
and I find  it unnnatural.

 After    xmodmap -e "keycode 22 = BackSpace"

there is no change in the xterm but now in Netscape,
delete removes the character to the right and backspace that to the left.
As far as I am concerned, backspace is correct but delete is not.

Paul Stoffregen's modification (as below) does what I want, deleting the
character to left of the cursor and moving the cursor left (a deleting
backspace) in a Netscape window.

*XmText.translations: #override\n\
        <Key>osfDelete: delete-previous-character()\n\
        <Key>osfBackSpace: delete-next-character()\n

*XmTextField.translations: #override\n\
         <Key>osfDelete: delete-previous-character()\n\
        <Key>osfBackSpace: delete-next-character()\n

Can anyone tell me the most economical way to do what I want:
i.e., both Backspace and Delete producing a deleting backspace
in the xterm and in Netscape if Paul's modification is "not the right way"?

Jim.

--

                   301-496-1515 (OFFICE)    301-402-3404 (FAX)
    NHLBI/LBC, 10/7N-307, 10 CENTER DR MSC 1676, BETHESDA MD 20892-1676  

 
 
 

1. netscape-i686-pc-linux-gnu-installer.tar.gz for Netscape 6.1 ppc?

Netscape was inviting me to download
what they called
Netscape 6.1 English language, X11 Linux 2.2.18-4hpmac ppc.

What eventually came down the line was
netscape-i686-pc-linux-gnu-installer.tar.gz.

Which I stopped very quickly.

Any comments?

Heinz

2. GDBdemangle-style for Forte C++

3. In search of Solaris 2.5 Netscape Navigator 3.0 plug ins

4. Where is TIA

5. Netscape plug-ins on AIX 4

6. network card

7. plug-ins netscape

8. Linux Partitions

9. Netscape helpers and plug-ins, also java help

10. List of plug-ins for linux/netscape please!

11. Netscape and Plug-ins

12. Netscape plug-ins

13. Acrobat Reader 4.0 MIME Type for Netscape plug-ins