blob: 9be80563814e2c2d74595142844529486e7c9069 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001<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
16This test is for unix platforms only. Press OK if you are not
17testing on those platforms.
18
19Before the test, you need to modify the keyboard mapping for X by issueing
20the following command:
21
22xmodmap -e 'keycode 60 = aacute' (this is for Solaris Sparc keyboard)
23xmodmap -e 'keycode 23 = aacute' (this is for Linux PC keyboard)
24
25This command lets you type 'a with acute' character when you press 'Tab' keytop. <b>Please
26do not fail to restore the original key mapping by doing the following after the test</b>
27
28xmodmap -e 'keycode 60 = Tab' (this is for Solaris Sparc keyboard)
29xmodmap -e 'keycode 23 = Tab' (this is for Linux PC keyboard)
30
31Confirm 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