Re: getting 'Delete' to forward-delete - oops
Re: getting 'Delete' to forward-delete - oops
- Subject: Re: getting 'Delete' to forward-delete - oops
- From: email@hidden (Dushan Mitrovich)
- Date: Mon, 07 Apr 2008 13:08:09 -0700
"Ambrose Li" <email@hidden> wrote:
>On 03/04/2008, Dushan Mitrovich <email@hidden> wrote:
>> I do notice, tho, that the gnuplot window has - and always had - a dif-
>> ferent font and size than the xterm window. But in neither one does
>> the Delete key do a forward delete.
>
> Getting all apps to forward delete is very tricky. The problem is that
> there never was a tradition of distinguishing between forward and
> backward deletes, and the app will decide if pressing the Delete key
> means forward or backward (most apps say backward, only a few ancient
> apps do forward deletes when the delete key is pressed).
>
> If the app in question runs in a terminal (gnuplot, the shell in the
> xterm, etc.), it will also depend on how the app will "know" what a
> forward delete key is (there is no concept of a forward delete in tra-
> ditional terminal-based apps, all deletes are backwards). For apps
> using GNU readline, you might be able to actually do this by mapping
> the Delete key to Control-D, but I don't really recommend this since
> that would be kind of dangerous.
Ambrose, thanks for this interesting background information. I must say
I find this persistent relic behavior of 'Delete' quite dismaying. I had
thought that each key had a unique keycode that it was a simple matter of
intercepting, interpreting, and implementing. It sounds as thought some
apps simply never bother with distinguishing in the interpretation step.
- Dushan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden