Closed
Bug 135869
Opened 23 years ago
Closed 22 years ago
Unable to display "@" character in mozilla using "Alt-q" with german keyboards
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: atarango, Assigned: martinlawyer)
References
Details
The only platform that I've been able to reproduce it is HPUX11.0 so far. Linux
works fine, and Jay Yan is investigating Solaris.
This behavior is seen in mozilla and netscape 6. In German keyboards the "@"
character is assigned to the "Alt-q" key sequence, and in US keyboards is
assigned to the "Shift-2", but it can be configured to use "Alt-2" with xmodmap.
In US keyboards you can also configure HPUX to load a german keyboard layout if
you want to display the "@" character using "Alt-q". Here's the test cases to
reproduce problem:
Note for all the test cases involving HPUX 11.0, a Hewellet Packard keyboard was
used, and the testing was done in the local machine.
1. In HPUX11.0 install mozilla/netscape 6 latest version. Make sure that the US
keyboard layout is loaded by looking at the /etc/kbdlang file(It should have
something like USB_PS2_DIN_US_English. Also make sure that you're able to type
the "@" character using "Alt-2" in the terminal window. If the "@" character
doesn't show up, then at the command prompt type the following:
$ xmodmap -e "keycode 39 = 2 at at at"
Next launch mozilla/netscape 6 and try to type the "@" character using "Alt-2"
anywhere in the location bar, composer window, or mail window When attempting
to type the "@" character nothing is displayed.
2. In HPUX11.0 install mozilla/netscape 6 latest version. Make sure that the
German keyboard layout is loaded by looking at the /etc/kbdlang file(It should
have something like USB_PS2_DIN_German). If not then edit the file and type it
in, then reboot machine (Make sure that the german layout is part of the X11
keymap database). Also make sure that you're able to type the "@" character
using "Alt-q" in the terminal window. If the "@" character doesn't show up,
then at the command prompt type the following:
$ xmodmap -e "keycode 31 = q Q at"
Next launch mozilla/netscape 6 and try to type the "@" character using "Alt-q"
anywhere in the location bar, composer window, or mail window. When attempting
to type the "@" character nothing is displayed.
The next test case was done from a remote location using a Linux machine running
Red Hat 7.0. A Dell Quietkey US keyboard was used with a us keyboard layout.
The keyboard layout was configured so that "Alt-2" is mapped to the "@"
character, and the AltGr keysymbol mapped to the Mode_switch modifier. Here's
how to do it,
$ xmodmap -e "keycode 11 = 2 at at"
$ xmodmap -e "keycode 113 = Mode_switch"
1. In the Linux machine, bring up a terminal and make sure that you're able to
type the "@" character using "Alt-2", if not then try following the steps I
mentioned above. Next, telnet to the hpux11.0 machine and make sure that you're
still able to type the "@" character. Next, launch mozilla/netscape and try
typing the "@" character anywhere on the location bar, composer window, or mail
window. The "@" character should be displayed correctly.
2. In the HPUX11.0 machine, bring up a terminal and make sure that you're able
to type the "@" character using "Alt-2". Next, telnet to the Linux machine, and
make sure that you're still able to type the "@" character. Next, launch
mozilla/netscape and try typing the "@" character anywhere on the location bar,
composer window, or mail window. The "@" character is not displayed.
From the results obtained, it looks like the "@" is displayed only when mozilla
(Either the HPUX11.0 or Linux executable) is ran using the Linux X server.
Shanjian suspects that it might be a HPUX bug, possibly a GTK/GDK problem. I've
tried testing several GTK applications, but they all use the gtk+ 1.2.7 version
(For this version, the behavior in each app was the same as mozilla/netscape 6),
and don't work with GTK+ 1.2.10, which is what mozilla/netscape 6 use. I will
try to find apps that use version 1.2.10 and verify if this is a GTK problem or not.
I tried it on my sparc machine. Enviroment of my machine is
Solaris 9
GTK1.2.6
US layout keyboard
xmodmap -e "keycode 39 = 2 at at at" in my machine is convert to convert key "3"
not "2", after I run this command, AltGraph+3 can input @ at mozilla including
input field, composer, mail.
So does ' xmodmap -e "keycode 31 = q Q at" '
My conclusion is that this bug does not happen on Solaris.
Jay
Comment 4•22 years ago
|
||
>In German keyboards the "@"
>character is assigned to the "Alt-q" key sequence
No. @ is assigned to AltGr+Q. Marking INVALID.
if HP-UX is so strange that @ is indeed Alt+Q there, feel free to reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Comment 5•22 years ago
|
||
The problem here is that the alt keys aren't confiqured correctly. To configure
the right Alt key (Alt_R) to work properly, you use the following commands:
xmodmap -e "remove Mod1 = Alt_R Mode_switch"
xmodmap -e "keysym Mode_switch = NoSymbol"
xmodmap -e "keysym Alt_R = Mode_switch"
xmodmap -e "add Mod2 = Mode_switch"
After configuring Alt_R this way, Alt_R-2 results in the "@" symbol being
displayed. Alt_R-q also generates the "@" symbol, if I map the "q" key with the
command:
xmodmap -e "keycode 30 = q Q at"
This is all done with a US keyboard, since I don't have access to a german
keyboard. I expect that with a german keyboard the keycode for remapping the "q"
key will match the 31 mentioned earlier in this bug instead of 30 used on the US
keyboard.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•