2
|
1 |
<html>
|
|
2 |
<!--
|
|
3 |
@test
|
|
4 |
@bug 4490692
|
|
5 |
@author Naoto Sato
|
|
6 |
@ignore The fix for this problem was backed out for 5057184. Remove this "ignore" tag when it is fixed again.
|
|
7 |
@run applet/manual=yesno bug4490692.html
|
|
8 |
-->
|
|
9 |
<head>
|
|
10 |
<title>Test for KEY_PRESS event for accented characters</title>
|
|
11 |
</head>
|
|
12 |
|
|
13 |
<body>
|
|
14 |
<h1>Test for KEY_PRESS event for accented characters: Bug id 4490692</h1>
|
|
15 |
|
|
16 |
This test is for unix platforms only. Press OK if you are not
|
|
17 |
testing on those platforms.
|
|
18 |
|
|
19 |
Before the test, you need to modify the keyboard mapping for X by issueing
|
|
20 |
the following command:
|
|
21 |
|
|
22 |
xmodmap -e 'keycode 60 = aacute' (this is for Solaris Sparc keyboard)
|
|
23 |
xmodmap -e 'keycode 23 = aacute' (this is for Linux PC keyboard)
|
|
24 |
|
|
25 |
This command lets you type 'a with acute' character when you press 'Tab' keytop. <b>Please
|
|
26 |
do not fail to restore the original key mapping by doing the following after the test</b>
|
|
27 |
|
|
28 |
xmodmap -e 'keycode 60 = Tab' (this is for Solaris Sparc keyboard)
|
|
29 |
xmodmap -e 'keycode 23 = Tab' (this is for Linux PC keyboard)
|
|
30 |
|
|
31 |
Confirm the following two behaviors:
|
|
32 |
|
|
33 |
"KEYPRESS received for aacute" is displayed when you press 'Tab' keytop.
|
|
34 |
On Solaris Sparc keyboard, The key sequence ("Compose", "a", "'") generates a-acute character in en_US locale
|
|
35 |
|
|
36 |
<APPLET CODE="bug4490692.class" WIDTH=0 HEIGHT=0></APPLET>
|
|
37 |
</body>
|
|
38 |
</html>
|
|
39 |
|
|
40 |
|