<br><br><div><span class="gmail_quote">2008/3/20, Yoshiki Ohshima &lt;<a href="mailto:yoshiki@vpri.org">yoshiki@vpri.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&nbsp;&nbsp;José,<br> <br><br> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Everything, including accented character input with &quot;dead_keys&quot;?<br> &gt;&nbsp;&nbsp;&nbsp;&nbsp; Hmm.<br> &gt;<br> &gt; Yes, but there is one problem: clicking on the alt or arrow keys<br> &gt; raises a blank square.<br>
 <br> <br>&nbsp;&nbsp;The blank square problem is fixed in the OLPC version and should be<br> merged to the trunk version.</blockquote><div><br>Yes, but the olpc version misses the non-english &amp; non-dead-keys characters as ñ,ß, etc. and with the image patch that works.<br>
&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&nbsp;&nbsp;But, I&#39;m still puzzled to hear that dead<br> key works for you on the VM.&nbsp;&nbsp;My experimental Spanish setting on my<br>
 Fedora might be wrong, but here is my reasoning:<br> <br>&nbsp;&nbsp;With a dead key (&quot;&#39;&quot; for example), first time you pressed it, it<br> doesn&#39;t give you the character, right?&nbsp;&nbsp;Then, you can press &quot;e&quot; to get<br>
 e with accent, or you can press &quot;&#39;&quot; again to get a single &quot;&#39;&quot;.&nbsp;&nbsp;This<br> means that there should be a state kept in the VM to remember the<br> previous character, but before the patch, there was no such thing.<br>
 <br>&nbsp;&nbsp;Maybe there is some input method in front of the VM that processes<br> the keyboard input first (like Japanese have)?</blockquote><div><br><br>mmm, if you mean in the X libraries called by the vm, I think that&#39;s the case. In fact that works that way whenever you use x2sqKeyInput instead of&nbsp; x2sqKeyPlain at vm-display-X11/sqUnixX11.c. I.e.: if , calling the vm, you use -nointl or your locale is not UTF-8, you&#39;ll use&nbsp;&nbsp; x2sqKey= x2sqKeyPlain instead of x2sqKey= x2sqKeyInput, then you&#39;ll get the accent and the vowel separated. Using x2sqKeyInput you will only get one keycode. That&#39;s worked always that way, the problem was that the keycode was wrongly interpreted by the image because it was using the MacRomanInputInterpreter instead of the UTF32InputInterpreter class.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &gt;&nbsp;&nbsp;&nbsp;&nbsp; Actually, we should take care of the case when somebody trys to run<br> &gt;&nbsp;&nbsp;&nbsp;&nbsp; the new image on an old VM (UTF32InputInterpreter should look at the<br>
 &gt;&nbsp;&nbsp;&nbsp;&nbsp; third entry in the event array when sixth is zero...)<br> &gt;<br> &gt; Yes, but the alternative is worst, so I think that&#39;s the best solution.<br> <br> <br>&nbsp;&nbsp;Sorry but what was &quot;the alternative&quot;?</blockquote>
<div><br><br>Having a new&nbsp; vm that does not work correctly typing non-english texts with old and new images. With this change it will, at least, work typing using new images.<br></div></div><br>Regards.<br>José L.<br>