Xt translation tables don't work for the backslash key

Bug #528613 reported by Paul Mattes
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux Mint
Triaged
Undecided
Clement Lefebvre

Bug Description

I maintain x3270, and one of my users reported this issue. I isolated it to somewhere in the X11 libraries, and it does not happen on the latest Ubuntu.

When you create an Xt translation table that tries to map the 'backslash' key, it doesn't work -- the entry is simply ignored. Other entries in the same table work just fine.

Here is an example:
     xterm -xrm '*VT100*translations: #override <Key>a: string(foo)\n<Key>backslash: string(bar)'

If I run this on Ubuntu, then when I press "a", I get the string "foo", and when I press "\", I get the string "bar". But when I run this on Linux Mint, the backslash mapping does not work -- when I press "\", I just get "\".

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I see this bug here using Mint 8 Helena x64 using x3270.

Revision history for this message
Husse (husse) wrote :

This may be because we kept the ctr+alt+backslash to restart x
I did not manage to execute the command so I can't reproduce it

Changed in linuxmint:
assignee: nobody → Clement Lefebvre (clementlefebvre)
status: New → Triaged
Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I tried the example provided by Paul and see it here as well on Mint 8 Helena x64.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Is there any progress in this? Without this being corrected I cannot use x3270 to access my mainframe, requiring me to use another platform for access. I tested it again today on my up-to-date Mint 8 Helena x64 system and it is still present.

Dave

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Hi,

Can you reproduce this problem on:
- Linux Mint 10?
- Ubuntu 10.10?
- Ubuntu 9.10 (amd64)?

As my friend Husse (RIP) indicated, it could be something to do with the fact that CTL_ALT_BACKSPACE is used to restart X in Linux Mint, while it isn't in Ubuntu. First thing to do is to test it on the latest releases of both distribution, and also on Ubuntu 9.10 to make sure it's specific to Mint.

Revision history for this message
Paul Mattes (paul-mattes) wrote : Re: [Bug 528613] Re: Xt translation tables don't work for the backslash key

The problem is no longer present on Linux Mint 10 (amd64), nor is it
present in Ubuntu 10.10 (amd64). I don't have an Ubuntu 9.10 system
handy, but I'm fairly certain that was what I was running when this was
originally reported and it was not present there.

On 11/10/2010 6:22 AM, Clement Lefebvre wrote:
> Hi,
>
> Can you reproduce this problem on:
> - Linux Mint 10?
> - Ubuntu 10.10?
> - Ubuntu 9.10 (amd64)?
>
> As my friend Husse (RIP) indicated, it could be something to do with the
> fact that CTL_ALT_BACKSPACE is used to restart X in Linux Mint, while it
> isn't in Ubuntu. First thing to do is to test it on the latest releases
> of both distribution, and also on Ubuntu 9.10 to make sure it's specific
> to Mint.
>

--
/pdm/

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Interesting! So whatever causes this problem has been fixed between mint 8 x64 and mint 10 x64. Hopefully this gives someone a lead into how to fix it for mint 8 x64 as well.

Dave

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.