[Om2008.9] Spanish Illume keyboard (was: Call for Illume keyboardsand keyboard icons)

Matthias Apitz guru at unixarea.de
Fri Jan 2 11:18:48 CET 2009


El día Friday, January 02, 2009 a las 09:00:36PM +1100, Carsten Haitzler escribió:

> On Fri, 2 Jan 2009 07:21:52 +0100 Matthias Apitz <guru at unixarea.de> babbled:
> 
> ok for some bizarre reason.. you've hit on some sscanf parsing bug. either i
> need a spank for not understanding it... or it has problems with utf8 char
> sequences that it didnt have with the numbers.kbd. as soon as it sees the
> accute accent chars it doesnt bother doing anything right.
> 
>              if (sscanf(buf, "%*s %4000s", label) != 1) continue;
> 
> skips the "normal/shift/capslock" identifier and goes to find the label string
> - skipping whitespace between. or it SHOULD and scan up to 4000chars (silly
> high limit) for the label  it gets even this wrong and starts to return garbage
> strings like delete char. all in all it ends up producing some nasty garbage
> that then gets fed into the stringshare db... and its only on the keys you
> added. the rest parses fine (the Numbers.kbd). despite this also having utf8
> char sequences. so right now.. i really am a bit baffled as to why - but there
> is some parsing/sscanf issue i have to hunt down - or work around.
> 
> (yes - i used scanf to parse... i was feeling lazy!). but as such your extra
> keys on top SHOULD look like this:
> 
> key  45    0  30  30
>   normal   ¿  "¿"
>   shift    ¿  "¿"
>   capslock ¿  "¿"
> key  75    0  30  30
>   normal   á  "á"
>   shift    Á  "Á"
>   capslock Á  "Á"

...

putting the chars into "" quotes has the side effect that if you hit the
char in the keyboard it is selected and printed above the top row of the
keyboard and waiting for completion as a word; even the capitals are
correctly printed on this line; but if you then touch the char (or word)
to confirm it, it gets moved above wrong, as small letter for example;

I also don't want that behaviour, they should be moved directly to the
messages and not waiting for further assembling/completion; isn't this
caused by the "" as I understand some comment in Numbers.kbd?

Thx

	matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/

SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen
>From: -40 % die Neujahrsaktion <GabrielleKelley at grungecafe.com>




More information about the community mailing list