Add the debian lenny repositories to your ubuntu installation, and install using apt-get or synaptic the package etoys .<br>You'll also get the squeak-vm package. <br>WIth both packages you'll have it working as Bert has explained.<br>
Don't use the squeak-vm package from Ubuntu as it doesn't support dead keys.<br><br>Cheers<br>José L.<br><br><div class="gmail_quote">2008/10/24 Bert Freudenberg <span dir="ltr"><<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Am 24.10.2008 um 14:27 schrieb Casimiro de Almeida Barreto:<div><div></div><div class="Wj3C7c"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Mariano Martinez Peck escreveu:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Casimiro: Many thanks for the help. Ï did all you said I now I get "a?" "e?" "u?" and so on instead of "´a" "´e"....however, I didn't get "á", "é" and "ú". Any ideas? Ahh which would be the correct value for LC_CTYPE for english? "pt_EN" ???<br>
<br>
Katerina: I test the etoys image you said with the normal vm (not etoys vm) and there they work perfect the keys! What could be the difference? The problem is I would like to use Demian image, not etoys. So, the only thing I could do is the link you told me about the<br>
russian support ?<br>
<br>
many thanks for the help,<br>
<br>
Mariano<br>
<br>
<br>
<br>
<br>
<br>
On Wed, Oct 22, 2008 at 6:39 PM, Katerina Barone-Adesi <<a href="mailto:katerinab@gmail.com" target="_blank">katerinab@gmail.com</a>> wrote:<br>
> Hi everybody! I am using Ubuntu 8.04, latin american keyboard, squeak 3.9<br>
> vm, squeak 3.10.2 of Damien Cassou. The problem is that I cannot type<br>
> symbols like: "á" , "ó", "ú" and so on....If I press the keys for those<br>
> symbols I get "´a" "´o" and "´u" respectively. So, I guess it can be a<br>
> problem with UTF8.<br>
><br>
> Does some know how can I fix this? is there somewhere in the squeak image I<br>
> have to set the encoder ?<br>
<br>
Given that you get ´a, etc, I assume you're using deadkeys. The only<br>
way I know of to get deadkeys to work under Squeak is to use the OLPC<br>
image; unfortunately, they don't appear to work in any of the<br>
<a href="http://squeak.org" target="_blank">squeak.org</a> images (3.9 or 3.10), or Damien Cassou's. You can get it<br>
from <a href="http://etoys.laptop.org/src/etoys-image-and-pr.zip" target="_blank">http://etoys.laptop.org/src/etoys-image-and-pr.zip</a> . I forget if<br>
you need to use the OLPC vm too or not;<br>
<a href="http://wiki.laptop.org/go/Etoys#Method_3_-_Install_RPMs_or_.deb.27s_.28Linux_Only.29" target="_blank">http://wiki.laptop.org/go/Etoys#Method_3_-_Install_RPMs_or_.deb.27s_.28Linux_Only.29</a><br>
has instructions if just using the image with your current VM isn't<br>
enough.<br>
<br>
If you're not using deadkeys, the above should still work, but you<br>
also have an alternative: following the instructions at<br>
<a href="http://wiki.squeak.org/squeak/5773" target="_blank">http://wiki.squeak.org/squeak/5773</a> . The page focuses on Russian<br>
support, but the image that results from following it also works for<br>
Spanish. If you really want to use something based on Damien Cassou's<br>
image and don't need deadkeys, try this (and tell me if it works for<br>
you, and if not, what's wrong); otherwise, the OLPC instructions above<br>
should be easier.<br>
<br>
I hope this helps.<br>
Regards;<br>
Katerina Barone-Adesi<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
Ops...<br>
<br>
I guess that unsing LC_CTYPE="en" will just kill your dead-letters. I'm using a US keyboard (no ç or anything like that in the keyboard) and I use the LC_CTYPE="pt_BR" for the sake of composing ' + c = ç and ' + a = á. So I think you should try LC_CTYPE="es". I agree about the strageness of using a pt_BR (should be a pt_EN). BTW, in Linux my keyboard is configured as : "USA Alternative international (former us_intl) (gnome preferences menu). Besides, the system language is set to Portuguese (Brasil) (Administration menu, Language settings. Must have root access).<br>
<br>
As you are having trouble, perhaps your system idiom is not set to Spanish... or the system encoding is not set to UTF-8 (that should be the default). You can try to change SQUEAK_ENCODING and TEXTENC to "latin9" or "latin1" or ISO8859-1... Anyways, I think that character selection is something that must be perfected in squeak :(<br>
<br>
BTW, I'm using Fedora rel 9. But my configuration should be the same to work in Ubuntu.<br>
<br>
Abraços,<br>
<br>
Casimiro<br>
</blockquote>
<br>
<br></div></div>
I'm not entirely sure what LC_CTYPE does. But on the OLPC no LC_* variable was set, only LANG (e.g,, pt_BR.utf8 or en_EN.utf8). To have composite input working correctly we now set LC_ALL to $LANG, too.<br><font color="#888888">
<br>
- Bert -<br>
<br>
<br>
</font></blockquote></div><br>