A gdzie klawiatura??

Bohdan R. Rau ethanak at polip.com
Fri Aug 29 11:02:42 CEST 2003


Może ja jestem za bardzo drobiazgowy, ale...

a) Może ktoś mi uprzejmie wyjaśni, w których czcionkach koi-8r
   (of koz w PLD) jest litera "yo" a w których jej nie ma?
   Czasem (szczególnie jak się tworzy cgi-ki dla Rosjanina)
   jakoś dziwnie bywa potrzebna...

b) Dlaczego do jasnej ch..ery w PLD kawiatura ru_yawerty
   to klawiatura BUŁGARSKA a nie rosyjska???????
   I dlaczego nie można jej włączyć w applecie przełącznika
   układu klawiatury?

   Plik ru-yawerty (nie ru_yawerty!!!) jest w paru miejscach na sieci,
   w razie czego załączam swój (drobna modyfikacja - połączone "basic",
   "_morze" i "_hardsign_yo", jako wariant "best_morze").

Pozdrawiam

ethanak

PS. "Powiedz-1.0" ma jeszcze tylko jeden mały błędzik który muszę znaleźć
    i będzie gotowy do publikowania. Współpracuje toto z artsem i esd
    oraz mbrolą. Chcecie?
-- 
Boże, użycz mi pogody ducha, abym godził się z tym, czego nie mogę
zmienić,  odwagi, abym zmieniał to, co mogę zmienić,  i szczęścia,
aby mi się jedno z drugim nie popieprzyło.
                                                      Stephen King

-------------- next part --------------
//
// yawerty russian standard keyboard 
// Eugene Byrganov <SkyMaster at inp.nsk.su>
//

partial alphanumeric_keys
xkb_symbols "basic" {

    // Describes the differences between a very simple en_US
    // keyboard and a very simple Russian keybaord


    name	[ Group1 ]= "English";
    name	[ Group2 ]= "Russian";

// restore after iso9995-3 & etc

    key <AE01> { 	[ 1, exclam ],
			[ 1, exclam ] };
    key <AE02> { 	[ 2, at ],
			[ 2, at ] };
    key <AE03> { 	[ 3, numbersign ],
			[ 3, numbersign ] };
    key <AE04> { 	[ 4, dollar ],
			[ 4, dollar ] };
    key <AE05> { 	[ 5, percent ],
			[ 5, percent ] };
    key <AE06> { 	[ 6, asciicircum ],
			[ 6, asciicircum ] };
    key <AE07> { 	[ 7, ampersand ],
			[ 7, ampersand ] };
    key <AE08> { 	[ 8, asterisk ],
			[ 8, asterisk ] };
    key <AE09> { 	[ 9, parenleft ],
			[ 9, parenleft ] };
    key <AE10> { 	[ 0, parenright ],
			[ 0, parenright ] };
    key <AE11> { 	[ minus, underscore ],
			[ minus, underscore ] };
    key <AC10> { 	[ semicolon, colon ],
			[ semicolon, colon ] };
    key <AC11> { 	[ apostrophe, quotedbl ],
			[ apostrophe, quotedbl ] };
    key <AB08> { 	[ comma, less ],
			[ comma, less ] };
    key <AB09> { 	[ period, greater ],
			[ period, greater ] };
    key <AB10> { 	[ slash, question ],
			[ slash, question ] };

// more or less std.

    key <AD01> { 	[ q, Q ],
			[ Cyrillic_ya, Cyrillic_YA ] };
    key <AD02> { 	[ w, W ],
			[ Cyrillic_zhe, Cyrillic_ZHE ] };
    key <AD03> { 	[ e, E ],
			[ Cyrillic_ie, Cyrillic_IE ] };
    key <AD04> { 	[ r, R ],
			[ Cyrillic_er, Cyrillic_ER ] };
    key <AD05> { 	[ t, T ],
			[ Cyrillic_te, Cyrillic_TE ] };
    key <AD06> { 	[ y, Y ],
			[ Cyrillic_yeru, Cyrillic_YERU ] };
    key <AD07> { 	[ u, U ],
			[ Cyrillic_u, Cyrillic_U ] };
    key <AD08> { 	[ i, I ],
			[ Cyrillic_i, Cyrillic_I ] };
    key <AD09> { 	[ o, O ],
			[ Cyrillic_o, Cyrillic_O ] };
    key <AD10> { 	[ p, P ],
			[ Cyrillic_pe, Cyrillic_PE ] };
    key <AD11> { 	[ bracketleft, braceleft ],
			[ Cyrillic_sha, Cyrillic_SHA ] };
    key <AD12> { 	[ bracketright, braceright ],
			[ Cyrillic_shcha, Cyrillic_SHCHA ] };
    key <AC01> { 	[ a, A ],
			[ Cyrillic_a, Cyrillic_A ] };
    key <AC02> { 	[ s, S ],
			[ Cyrillic_es, Cyrillic_ES ] };
    key <AC03> { 	[ d, D ],
			[ Cyrillic_de, Cyrillic_DE ] };
    key <AC04> { 	[ f, F ],
			[ Cyrillic_ef, Cyrillic_EF ] };
    key <AC05> { 	[ g, G ],
			[ Cyrillic_ghe, Cyrillic_GHE ] };
    key <AC06> { 	[ h, H ],
			[ Cyrillic_ha, Cyrillic_HA ] };
    key <AC07> { 	[ j, J ],
			[ Cyrillic_shorti, Cyrillic_SHORTI ] };
    key <AC08> { 	[ k, K ],
			[ Cyrillic_ka, Cyrillic_KA ] };
    key <AC09> { 	[ l, L ],
			[ Cyrillic_el, Cyrillic_EL ] };
    key <AB01> { 	[ z, Z ],
			[ Cyrillic_ze, Cyrillic_ZE ] };
    key <AB02> { 	[ x, X ],
			[ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
    key <AB03> { 	[ c, C ],
			[ Cyrillic_tse, Cyrillic_TSE ] };
    key <AB04> { 	[ v, V ],
			[ Cyrillic_ve, Cyrillic_VE ] };
    key <AB05> { 	[ b, B ],
			[ Cyrillic_be, Cyrillic_BE ] };
    key <AB06> { 	[ n, N ],
			[ Cyrillic_en, Cyrillic_EN ] };
    key <AB07> { 	[ m, M ],
			[ Cyrillic_em, Cyrillic_EM ] };


    // first variant
    key <TLDE> { 	[ grave, asciitilde ],
			[ Cyrillic_che, Cyrillic_CHE ] };
    key <BKSL> { 	[ backslash, bar ],
			[ Cyrillic_yu, Cyrillic_YU ] };
    key <AE12> { 	[ equal, plus ],
			[ Cyrillic_e, Cyrillic_E ] };

    // End alphanumeric section

    // Begin modifier mappings

    modifier_map Shift  { Shift_L  };
    modifier_map Lock   { Caps_Lock, ISO_Lock  };
    modifier_map Control{ Control_L  };
    modifier_map Mod3   { Mode_switch  };

 };

partial alphanumeric_keys
xkb_symbols "I" {    
    // first variant - dubl2
    include "ru-yawerty(basic)"
    key <TLDE> { 	[ grave, asciitilde ],
			[ Cyrillic_che, Cyrillic_CHE ] };
    key <BKSL> { 	[ backslash, bar ],
			[ Cyrillic_yu, Cyrillic_YU ] };
    key <AE12> { 	[ equal, plus ],
			[ Cyrillic_e, Cyrillic_E ] };

 };

partial alphanumeric_keys
xkb_symbols "II" {    
    include "ru-yawerty(basic)"

    // second variant

    key <TLDE> { 	[ grave, asciitilde ],
			[ Cyrillic_yu, Cyrillic_YU ] };
    key <BKSL> { 	[ backslash, bar ],
			[ Cyrillic_e, Cyrillic_E ] };
    key <AE12> { 	[ equal, plus ],
			[ Cyrillic_che, Cyrillic_CHE ] };

 };

hidden alphanumeric_keys
xkb_symbols "_hardsign_yo" { 

// if no compose for this keys  

    key <AE03> { 	[ 3, numbersign ],
			[ 3, Cyrillic_hardsign ] };
    key <AE04> { 	[ 4, dollar ],
			[ 4, Cyrillic_HARDSIGN ] };
    key <AE05> { 	[ 5, percent ],
			[ 5, Cyrillic_io ] };
    key <AE06> { 	[ 6, asciicircum ],
			[ 6, Cyrillic_IO ] };

 };


hidden alphanumeric_keys
xkb_symbols "_morze" {

// Azbuka Morze ?

    key <AD02> { 	[ w, W ],
			[ Cyrillic_ve, Cyrillic_VE ] };
    key <AB04> { 	[ v, V ],
			[ Cyrillic_zhe, Cyrillic_ZHE ] };

 };

hidden alphanumeric_keys
xkb_symbols "_yz" {

// deutchs keyboad
    key <AB01> { 	[ y, Y ],
			[ Cyrillic_yeru, Cyrillic_YERU ] };
    key <AD06> { 	[ z, Z ],
			[ Cyrillic_ze, Cyrillic_ZE ] };

 };


partial default alphanumeric_keys
xkb_symbols "best" {
    include "ru-yawerty(basic)"
 };

partial default alphanumeric_keys
xkb_symbols "best_morze" {
    include "ru-yawerty(basic)"
    include "ru-yawerty(_morze)"
    include "ru-yawerty(_hardsign_yo)"
 };

partial alphanumeric_keys
xkb_symbols "best_hardsign_yo" {
    include "ru-yawerty(basic)"
    include "ru-yawerty(_hardsign_yo)"
    
 };

partial alphanumeric_keys
xkb_symbols "best_de" {
    include "ru-yawerty(basic)"
    include "ru-yawerty(_yz)"
    
 };

partial alphanumeric_keys
xkb_symbols "old" {
    include "ru-yawerty(II)"
    include "ru-yawerty(_morze)"
 };

partial alphanumeric_keys
xkb_symbols "old_hardsign_yo" {
    include "ru-yawerty(II)"
    include "ru-yawerty(_morze)"
    include "ru-yawerty(_hardsign_yo)"
 };



hidden alphanumeric_keys
xkb_symbols "alex" { 
    include "ru-yawerty(best_hardsign_yo)"
	
    key <AB02> { 	[ x, X ],
			[ Cyrillic_che, Cyrillic_CHE ] };
    key <TLDE> { 	[ grave, asciitilde ],
			[ Cyrillic_yu, Cyrillic_YU ] };
    key <BKSL> { 	[ backslash, bar ],
			[ Cyrillic_e, Cyrillic_E ] };
    key <AE12> { 	[ equal, plus ],
			[ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
 };


hidden alphanumeric_keys
xkb_symbols "ak" { 
    include "ru-yawerty(basic)"
	
    key <AB02> { 	[ x, X ],
			[ Cyrillic_che, Cyrillic_CHE ] };
    key <TLDE> { 	[ grave, asciitilde ],
			[ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
    key <AD02> { 	[ w, W ],
			[ Cyrillic_e, Cyrillic_E ] };
    key <BKSL> { 	[ backslash, bar ],
			[ Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
    key <AE12> { 	[ equal, plus ],
			[ equal, plus ] };
    key <AC07> { 	[ j, J ],
			[ Cyrillic_zhe, Cyrillic_ZHE ] };
    key <AC11> { 	[ apostrophe, quotedbl ],
			[ Cyrillic_shorti, Cyrillic_SHORTI ] };
    key <AB10> { 	[ slash, question ],
			[ Cyrillic_yu, Cyrillic_YU ] };
    key <AE06> { 	[ 6, asciicircum ],
			[ 6, Cyrillic_io ] };
    key <AE07> { 	[ 7, ampersand ],
			[ 7, Cyrillic_IO ] };
    key <AE08> { 	[ 8, asterisk ],
			[ 8, question ] };
 };




More information about the feedback mailing list