Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Bob Harris <harris@zk3.dec.com>
To: tyson@ona.gov.au
Subject: Re: Applixware, Netscape & Backspace on DEC Unix
Date: 1999/03/05	[thread overview]
Message-ID: <050319991023277339%harris@zk3.dec.com> (raw)
In-Reply-To: 7bmvv8$6ad$1@nnrp1.dejanews.com

[[ This message was both posted and mailed: see
   the "To," "Cc," and "Newsgroups" headers for details. ]]

In article <7bmvv8$6ad$1@nnrp1.dejanews.com>, <tyson@ona.gov.au> wrote:

>For anyone having problems with handling the BackSpace key correctly on
>Digital Unix 4.0d in the default X11/CDE environment and in particular
>getting it to work consistently in multiple applications such as Netscape
>Navigator 4.5, Applixware 4.41, tcl/tk apps etc then cop this!
>
>xmodmap -e "keysym BackSpace = BackSpace Delete"
>
>If you place this wherever you want it eg
>/etc/dt/config/Xsession.d/{scriptname} then all users will benefit upon next
>login.  I got the inspiration for this from a Linux newsgroup where the guy
>said it worked for him the other way around ie Delete before BackSpace and he
>used keycodes instead of keysyms but I couldn't get it working in my
>environment until I swapped the BackSpace and Delete references as above. 
>Now all apps responds correctly to BackSpace and Applixware has even learned
>how to correctly handle the Del key (but only in the Send Mail window!!).

I _DO_ _NOT_ pretend to understand what I'm about to say, but it does
seem to work for me :-)

I added the following to my .Xdefaults file

!-----------------------------------------------
*defaultVirtualBindings:\n\
        osfBackSpace    :       <key>Delete\n
!-----------------------------------------------

This seems to do the trick for me in all X-Windows apps so far.

I also included the following to get the arrow keys to work in edit
boxes

!-----------------------------------------------------
*defaultVirtualBindings:\n\
        osfBackSpace    :       <key>Delete     \n\
        osfLeft         :       <key>Left       \n\
        osfRight        :       <key>Right      \n\
        osfUp           :       <key>Up         \n\
        osfDown         :       <key>Down       \n
!-----------------------------------------------------

Again, this is just some stuff that I either learned from someone else,
or I experimented with it until it did what I wanted for me.  Maybe it
will do similar things for someone else.



      reply	other threads:[~1999-03-05  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-04  5:00 Applixware, Netscape & Backspace on DEC Unix tyson
1999-03-05  5:00 ` Bob Harris [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox