Kaixo! I see keyboard topics are being discussed right now... there is long standing problem with the CapsLock and turkish keyboard that would be nice to have fixed.
The problem is that when CapsLock is set, XFree86 does an uppercasing
of the letters, so typing 'a' with CapsLock set gives 'A' etc.
*BUT* in Turkish (and Azeri too), the 'I' is not the uppercase of the 'i'.
In fact in Turkish there are two kind of "i", one with dot (with a *dotted*
uppercase letter) and one without dot (with 'I' as uppercase, and a dotless
lowercase one).
The turkish keyboard has:
key <AD08> { [ idotless, I ] };
key <AC11> { [ i, Iabovedot ] };
it works well, except for the CapsLock mode.
In previous versions of XFree86, it was somewhat bypassed by redfining
CapsLock to some group switching function and tweaking the groups, eg:
key <CAPS> { [ ISO_Next_Group, ISO_Next_Group], [ ISO_Prev_Group, ISO_Prev_Group ] };
...
key <AD01> { [ q, Q ], [ Q, q ] };
...
key <AD08> { [ idotless, I ], [ I, idotless ] };
key <AC11> { [ i, Iabovedot ], [ Iabovedot, i ] };
...
key <AB10> { [ period, colon ], [ period, colon ] };
you get the idea.
But of course it was an ugly hack, and it doesn't work anymore with the
new version of XFree86...
Imho it should be fixed at the right place: where XFree86 does ther current
uppercasing.
With a new keyboard to tell that a given keyboard layout wants to use the
Turkish uppercasing scheme (there are three layouts that would use
it; "tr Q" (modern turkish), "tr F" (traditional turkish) and "az" (Azeri))
so the layout remains simple:
key <AD08> { [ idotless, I ] };
key <AC11> { [ i, Iabovedot ] };
without tricks; and in config file, some special option tells
that the turkish casing scheme iswanted; eg: "case:turkish" or something
like that.
Or maybe (better imho) defining that in the layout file itself;
something like:
key <AD01> { [ q, Q ] };
...
key <AD08> { type[group1] = "TURKISH", [ idotless, I ] };
key <AC11> { type[group1] = "TURKISH", [ i, Iabovedot ] };
Thanks
--
Ki �a vos v�ye b�n,
Pablo Saratxaga
http://chanae.walon.org/pablo/ PGP Key available, key ID: 0xD9B85466
[you can write me in Walloon, Spanish, French, English, Italian or Portuguese]
pgp00000.pgp
Description: PGP signature
