Subject: Re: 2.0 broke the delete key, but only in X11
To: None <netbsd-help@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 02/12/2005 00:49:05
In article <slrnd0o6fs.gb1.mason@g.primenet.com.au>,
	Geoff Wing <mason@primenet.com.au> writes:
> Dieter <netbsd@sopwith.solgatos.com> typed:
>: xev says:
>:     XLookupString gives 1 bytes: (7f) "_"
>: So xev is getting the correct value (7f), but other programs
>: are getting the ^[[3~ screwiness.
> 
> No, such programs are converting it themselves.
> 
>: PR 27256 implies that one can get the correct behavior with
>: something called "deleteIsDEL", but I grepped the man pages
>: for "deleteIsDEL" and got nothing.
> 
> man xterm

Besides "deleteIsDEL", there is "ptyInitialErase", and
"backArrowKeyIsErase". With those, you should be able to
make it do anything you probably think it should.

(On a PC "standard" keyboard, the "delete" key is a little key near
"insert" and "end", and the "backArrow" key is the big key in the
upper right hand corner, next to the "plus" sign. I believe you're
talking about the backArrow key, so "deleteIsDEL" wouldn't do anything
unless your keyboard mapping were messed up.)

What port are your running?  What was actually different in older
NetBSD, is that, lacking those options in xterm, there were various
hacks on various ports to accomplish the same things, just not
consistently or configurably. For example, mac68k was returning the
"Delete" keysym for the both the little "del" key, and the large
"Backspace" key (which is labeled "Delete" on Mac keyboard).  The
default xterm behaviour hasn't changed.

-- 
Frederick