0N/A<html>
0N/A<!--
0N/A @test
0N/A @bug 4490692
0N/A @author Naoto Sato
0N/A @ignore The fix for this problem was backed out for 5057184. Remove this "ignore" tag when it is fixed again.
0N/A @run applet/manual=yesno bug4490692.html
0N/A-->
0N/A <head>
0N/A <title>Test for KEY_PRESS event for accented characters</title>
0N/A </head>
0N/A
0N/A <body>
0N/A <h1>Test for KEY_PRESS event for accented characters: Bug id 4490692</h1>
0N/A
0N/AThis test is for unix platforms only. Press OK if you are not
0N/Atesting on those platforms.
0N/A
0N/ABefore the test, you need to modify the keyboard mapping for X by issueing
0N/Athe following command:
0N/A
0N/Axmodmap -e 'keycode 60 = aacute' (this is for Solaris Sparc keyboard)
0N/Axmodmap -e 'keycode 23 = aacute' (this is for Linux PC keyboard)
0N/A
0N/AThis command lets you type 'a with acute' character when you press 'Tab' keytop. <b>Please
0N/Ado not fail to restore the original key mapping by doing the following after the test</b>
0N/A
0N/Axmodmap -e 'keycode 60 = Tab' (this is for Solaris Sparc keyboard)
0N/Axmodmap -e 'keycode 23 = Tab' (this is for Linux PC keyboard)
0N/A
0N/AConfirm the following two behaviors:
0N/A
0N/A "KEYPRESS received for aacute" is displayed when you press 'Tab' keytop.
0N/A On Solaris Sparc keyboard, The key sequence ("Compose", "a", "'") generates a-acute character in en_US locale
0N/A
0N/A<APPLET CODE="bug4490692.class" WIDTH=0 HEIGHT=0></APPLET>
0N/A</body>
0N/A</html>
0N/A
0N/A