[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fixing backspace and delete



In article <[🔎] 98Apr21.103427gmt.19736@gateway.dhi.dk>, <anne@ibbnet.nl>
wrote:

> 	Problems like the one with info is what we can expect. Many 
> developers have found ingenious ways (or less ingenious...) to deal with
> linux's strange keymapping, which is quite different from the rest of
> the UNIX world (that I know of anyway): 
>  
>  KEY       linux    VT100  xterm    aixterm  sun  HP/ux  X
>  BackSpace C ?      C H    C H      C H     C H  C H    C H
>  Delete    E [ 3 ~  C ?    C ?      E [ P   C ?  C ?    C ?

Have you ever typed on a VT100? The "<-" key, which is in the same place
as "<- Backspace" on an MF2 keyboard, produces ^?. The "BS" key, which
produces ^H, is about where F9 is on an MF2.

             Linux    VT220    VT100        BSD pcvt  BSD syscons
             C ?      C ?      C ?          C ?       C H
             E [ 3 ~  E [ 3 ~  <none>       E [ 3 ~   C ?

> The bad news:
> Trying to fix everything will probably result in some apps to be broken

Indeed. There is too much breakage around.

> 1. Leaving the system keymaps alone (no remapping). This way I don't
> think we can get very far, I couldn't get xterm, joe and pico/pine to
> work at the same time, fixing one would brake the other (the apps I
> mention are examples, I expect there are more apps with similar
> problems).

Since I don't use these apps I can't really comment on those problems.
However, making xterm map <BackSpace> to ^? and <Delete> to ESC [ 3 ~
should bring them in line.

> 2. Remapping the keys. This will put the linux mapping in line with the
> rest of the world, and most apps can be configured correctly.

This is not in line with the DEC series of terminals which the Linux
console tries to emulate. It is also not in line with the rest of the
world, which is simply split on the issue.

> 	I think this is the way to go, there seem to be no serious
> immediate problems, and on the longer term I expect that all apps can
> be fixed completely (actually, the reason this approach works well in
> most cases is that the apps are supposed to work on other unices as
> well). 

I think VTxxx compatibility is the way to go, there seem to be no serious
immediate problems, and on the longer term I expect that all apps can
be fixed completely (actually, the reason this approach works well in
most cases is that the apps are supposed to work on other unices as well.


In case you haven't realized yet, this is a Holy War issue.

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de
  See another pointless homepage at <URL:http://home.pages.de/~naddy/>.


--
To UNSUBSCRIBE, email to debian-i18n-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: