drapeau@jessica.stanford.edu (George D. Drapeau) (05/05/89)
First of all, here's my environment: Sun4/110, SunOS4.0.1, X11R3 with patches 1-9 & Purdue speedups. What I'd like to know is, if I map keycode 107 (just an example) to the keysym "Ocircumflex", will programs that use the Athena text widget display the correct character? (Assuming of course that the current font being used has that character in its set). I tried an experiment to find out. Here's what I did: I ran 'xmodmap' on the following file: keycode 12 = Ccedilla keycode 13 = Egrave keycode 15 = Eacute keycode 17 = Ecircumflex keycode 19 = Ediaeresis keycode 21 = Igrave keycode 23 = Iacute keycode 24 = Icircumflex keycode 25 = Idiaeresis (On the Sun, those keycodes correspond to the F? keys) Then I ran 'xedit' and typed the keys bound to those keycodes. I did not get the characters represented by the corresponding keysyms. Next I ran 'xwebster' which uses the HP widgets. I typed the same keys and this time I *did* get the characters reppresented by the keysyms (in other words, I got E-circumflex, C-cedilla, etc.). This leads me to believe that the Athena Text Widget does not support diacriticals (I also tried using other programs that use the text widget with the same results). Am I wrong? If so, then how exactly do I get diacrticals to display within programs using the Text widget? I'd like to be able to use xedit as a simple editor for people wanting to do foreign language work, but it doesn't look good for now. Any help would be appreciated. If the support isn't there now, please take this posting as my begging for inclusion of such support in the future. Thanks in advance, George ______________________________________________________________________________ George D. Drapeau Internet: drapeau@jessica.stanford.edu Academic Information Resources Stanford University