ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Yury Umanets <torque@ukrpost.net>
To: devel@altlinux.ru
Subject: [devel] Тройная англо-русско-украинская раскладка
Date: Sun, 17 Mar 2002 16:11:31 +0200
Message-ID: <3C94A413.1080902@ukrpost.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

Всем привет!
Я тут соорудил группу 3 для русской расскладки (то есть украинскую 
группу) на основе us-ua раскладки из последних Х. Патчик в атачменте.


Заводить так:

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option      "XkbKeymap"     "xfree86(ru_ua)"
EndSection

-- 
Yury Umanets,
ALT Linux Team


[-- Attachment #2: xkb-ru_group3.patch --]
[-- Type: text/plain, Size: 9727 bytes --]

diff -rupN xkb.orig/keymap/xfree86 xkb/keymap/xfree86
--- xkb.orig/keymap/xfree86	Sun Mar 17 16:00:59 2002
+++ xkb/keymap/xfree86	Fri Feb 22 16:34:54 2002
@@ -180,6 +180,13 @@ xkb_keymap "ru"	{
     xkb_symbols		{ include "en_US(pc105)+ru(winkeys)+group(alt_shift_toggle)"	};
     xkb_geometry 	{ include "pc(pc102)"		};
 };
+xkb_keymap "ru_ua"	{
+    xkb_keycodes	{ include "xfree86"		};
+    xkb_types		{ include "default"		};
+    xkb_compatibility	{ include "default"		};
+    xkb_symbols		{ include "en_US(pc105)+ru(winkeys)+ru_group3(winkeys)+group(alt_shift_toggle)"	};
+    xkb_geometry 	{ include "pc(pc102)"		};
+};
 xkb_keymap "se_FI"	{
     xkb_keycodes	{ include "xfree86"		};
     xkb_types		{ include "default"		};
diff -rupN xkb.orig/keymap.dir xkb/keymap.dir
--- xkb.orig/keymap.dir	Sun Mar 17 16:00:44 2002
+++ xkb/keymap.dir	Fri Feb 22 16:35:53 2002
@@ -201,6 +201,7 @@
 -------- -------- xfree86(pl)
 -------- -------- xfree86(pt)
 -------- -------- xfree86(ru)
+-------- -------- xfree86(ru_ua)
 -------- -------- xfree86(se_FI)
 -------- -------- xfree86(se_SE)
 -------- -------- xfree86(th)
diff -rupN xkb.orig/symbols/ru_group3 xkb/symbols/ru_group3
--- xkb.orig/symbols/ru_group3	Thu Jan  1 03:00:00 1970
+++ xkb/symbols/ru_group3	Sun Mar 17 15:57:32 2002
@@ -0,0 +1,153 @@
+// ukrainian group3 keyboard 
+// based on xc/programs/xkbcomp/symbols/ua by
+// AEN <aen@logic.ru>, Leon Kanter <leon@geon.donetsk.ua>, 
+// Andriy Rysin <arysin@yahoo.com>, Yury Umanets (Banshee) <umka@altlinux.ru>
+
+// $XFree86: xc/programs/xkbcomp/symbols/ru_group3,v 0.2 2002/03/17 15:54:13
+
+partial hidden alphanumeric_keys modifier_keys
+xkb_symbols "basic" {
+
+    name[Group3]= "Ukrainian";
+
+    key	<TLDE> {	[], [], [	apostrophe,	asciitilde	]	};
+    key	<AE01> {	[], [], [		1,    	exclam 		]	};
+    key	<AE02> {	[], [], [		2,        quotedbl	]	};
+    key	<AE03> {	[], [], [		3,      numbersign	]	};
+    key	<AE04> {	[], [], [		4,        asterisk	]	};
+    key	<AE05> {	[], [], [		5,	     colon	]	};
+    key	<AE06> {	[], [], [		6,	     comma	]	};
+    key	<AE07> {	[], [], [		7,	    period	]	};
+    key	<AE08> {	[], [], [		8,	 semicolon	]	};
+    key	<AE09> {	[], [], [		9,	 parenleft	]	};
+    key	<AE10> {	[], [], [		0,	parenright	]	};
+    key	<AE11> {	[], [], [	    minus,	underscore	]	};
+    key	<AE12> {	[], [], [	    equal,	      plus	]	};
+
+    key	<AD01> {	[], [], [ Cyrillic_shorti, Cyrillic_SHORTI	]	};
+    key	<AD02> {	[], [], [    Cyrillic_tse,    Cyrillic_TSE	]	};
+    key	<AD03> {	[], [], [      Cyrillic_u,	Cyrillic_U	]	};
+    key	<AD04> {	[], [], [     Cyrillic_ka,     Cyrillic_KA	]	};
+    key	<AD05> {	[], [], [     Cyrillic_ie,     Cyrillic_IE	]	};
+    key	<AD06> {	[], [], [     Cyrillic_en,     Cyrillic_EN	]	};
+    key	<AD07> {	[], [], [    Cyrillic_ghe,    Cyrillic_GHE	]	};
+    key	<AD08> {	[], [], [    Cyrillic_sha,    Cyrillic_SHA	]	};
+    key	<AD09> {	[], [], [  Cyrillic_shcha,  Cyrillic_SHCHA	]	};
+    key	<AD10> {	[], [], [     Cyrillic_ze,     Cyrillic_ZE	]	};
+    key	<AD11> {	[], [], [     Cyrillic_ha,     Cyrillic_HA	]	};
+    key	<AD12> {	[], [], [    Ukrainian_yi,    Ukrainian_YI	]	};
+    key	<BKSL> {	[], [], [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
+
+    key	<AC01> {	[], [], [     Cyrillic_ef,     Cyrillic_EF	]	};
+    key	<AC02> {	[], [], [     Ukrainian_i,     Ukrainian_I	]	};
+    key	<AC03> {	[], [], [     Cyrillic_ve,     Cyrillic_VE	]	};
+    key	<AC04> {	[], [], [      Cyrillic_a,	Cyrillic_A	]	};
+    key	<AC05> {	[], [], [     Cyrillic_pe,     Cyrillic_PE	]	};
+    key	<AC06> {	[], [], [     Cyrillic_er,     Cyrillic_ER	]	};
+    key	<AC07> {	[], [], [      Cyrillic_o,	Cyrillic_O	]	};
+    key	<AC08> {	[], [], [     Cyrillic_el,     Cyrillic_EL	]	};
+    key	<AC09> {	[], [], [     Cyrillic_de,     Cyrillic_DE	]	};
+    key	<AC10> {	[], [], [    Cyrillic_zhe,    Cyrillic_ZHE	]	};
+    key	<AC11> {	[], [], [    Ukrainian_ie,    Ukrainian_IE	]	};
+
+    key	<AB01> {	[], [], [     Cyrillic_ya,     Cyrillic_YA	]	};
+    key	<AB02> {	[], [], [    Cyrillic_che,    Cyrillic_CHE	]	};
+    key	<AB03> {	[], [], [     Cyrillic_es,     Cyrillic_ES	]	};
+    key	<AB04> {	[], [], [     Cyrillic_em,     Cyrillic_EM	]	};
+    key	<AB06> {	[], [], [     Cyrillic_te,     Cyrillic_TE	]	};
+    key	<AB05> {	[], [], [      Cyrillic_i,	Cyrillic_I	]	};
+    key	<AB07> {	[], [], [Cyrillic_softsign,Cyrillic_SOFTSIGN	]	};
+    key	<AB08> {	[], [], [     Cyrillic_be,     Cyrillic_BE	]	};
+    key	<AB09> {	[], [], [     Cyrillic_yu,     Cyrillic_YU	]	};
+    key	<AB10> {	[], [], [	    slash,	  question	]	};
+
+    key <LSGT> {        [], [], [           slash,             bar      ]       };
+    // 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 "winkeys" {
+    include "ru_group3(basic)"
+    key <AE03> {        [], [], [               3,      numerosign      ]       };
+    key <AE04> {        [], [], [               4,       semicolon      ]       };
+    key <AE05> {        [], [], [               5,         percent      ]       };
+    key <AE06> {        [], [], [               6,           colon      ]       };
+    key <AE07> {        [], [], [               7,        question      ]       };
+    key <AE08> {        [], [], [               8,        asterisk      ]       };
+    key <AB10> {        [], [], [          period,           comma      ]       };
+};
+
+partial alphanumeric_keys
+xkb_symbols "typewriter" {
+    include "ru_group3(basic)"
+    key	<TLDE> {	[], [], [      apostrophe,	  quotedbl	] 	};
+    key	<AE01> {	[], [], [	   exclam,		 1 	]	};
+    key	<AE02> {	[], [], [      numerosign,		 2	]	};
+    key	<AE03> {	[], [], [	    slash,		 3	]	};
+    key	<AE04> {	[], [], [	semicolon,		 4	]	};
+    key	<AE05> {	[], [], [	    colon,		 5	]	};
+    key	<AE06> {	[], [], [	    comma,		 6	]	};
+    key	<AE07> {	[], [], [	   period,		 7	]	};
+    key	<AE08> {	[], [], [      underscore,		 8	]	};
+    key	<AE09> {	[], [], [	 question,		 9	]	};
+    key	<AE10> {	[], [], [	  percent,		 0	]	};
+
+    key	<AD12> {	[], [], [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
+
+    key	<AC02> {	[], [], [      Cyrillic_i,	Cyrillic_I	]	};
+
+    key	<AB05> {	[], [], [     Ukrainian_i,     Ukrainian_I	]	};
+
+    key	<AB10> {	[], [], [    Ukrainian_yi,    Ukrainian_YI	]	};
+
+    key	<BKSL> {	[], [], [	parenleft,	parenright	]	};
+};
+
+partial alphanumeric_keys
+xkb_symbols "phonetic" {
+  include "ru_group3(basic)"
+  
+  key <AD01> {   [], [], [ Cyrillic_ya,       Cyrillic_YA         ]    };
+  key <AD02> {   [], [], [ Cyrillic_ve,       Cyrillic_VE         ]    };
+  key <AD03> {   [], [], [ Cyrillic_ie,       Cyrillic_IE         ]    };
+  key <AD04> {   [], [], [ Cyrillic_er,       Cyrillic_ER         ]    };
+  key <AD05> {   [], [], [ Cyrillic_te,       Cyrillic_TE         ]    };
+  key <AD06> {   [], [], [ Cyrillic_i,        Cyrillic_i          ]    };
+  key <AD07> {   [], [], [ Cyrillic_u,        Cyrillic_U          ]    };
+  key <AD08> {   [], [], [ Ukrainian_i,       Ukrainian_I         ]    };
+  key <AD09> {   [], [], [ Cyrillic_o,        Cyrillic_O          ]    };
+  key <AD10> {   [], [], [ Cyrillic_pe,       Cyrillic_PE         ]    };
+  key <AD11> {   [], [], [ Cyrillic_sha,      Cyrillic_SHA        ]    };
+  key <AD12> {   [], [], [ Cyrillic_shcha,    Cyrillic_SHCHA      ]    };
+
+  key <AC01> {   [], [], [ Cyrillic_a,        Cyrillic_A          ]    };
+  key <AC02> {   [], [], [ Cyrillic_es,       Cyrillic_ES         ]    };
+  key <AC03> {   [], [], [ Cyrillic_de,       Cyrillic_DE         ]    };
+  key <AC04> {   [], [], [ Cyrillic_ef,       Cyrillic_EF         ]    };
+  key <AC05> {   [], [], [ Cyrillic_ghe,      Cyrillic_GHE        ]    };
+  key <AC06> {   [], [], [ Cyrillic_ha,       Cyrillic_HA         ]    };
+  key <AC07> {   [], [], [ Cyrillic_shorti,   Cyrillic_SHORTI     ]    };
+  key <AC08> {   [], [], [ Cyrillic_ka,       Cyrillic_KA         ]    };
+  key <AC09> {   [], [], [ Cyrillic_el,       Cyrillic_EL         ]    };
+  key <AC10> {   [], [], [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
+  key <AC11> {   [], [], [ quoteright,        quotedbl            ]    };
+  key <BKSL> {   [], [], [ Cyrillic_yu,       Cyrillic_YU         ]    };
+
+  key <AB01> {   [], [], [ Cyrillic_ze,       Cyrillic_ZE         ]    };
+  key <AB02> {   [], [], [ Cyrillic_softsign, Cyrillic_SOFTSIGN   ]    };
+  key <AB03> {   [], [], [ Cyrillic_tse,      Cyrillic_TSE        ]    };
+  key <AB04> {   [], [], [ Cyrillic_zhe,      Cyrillic_ZHE        ]    };
+  key <AB05> {   [], [], [ Cyrillic_be,       Cyrillic_BE         ]    };
+  key <AB06> {   [], [], [ Cyrillic_en,       Cyrillic_EN         ]    };
+  key <AB07> {   [], [], [ Cyrillic_em,       Cyrillic_EM         ]    };
+  key <AB08> {   [], [], [ comma,             less                ]    };
+  key <AB09> {   [], [], [ period,            greater             ]    };
+  key <AB10> {   [], [], [ slash,             question            ]    };
+};
diff -rupN xkb.orig/symbols.dir xkb/symbols.dir
--- xkb.orig/symbols.dir	Sun Mar 17 16:01:15 2002
+++ xkb/symbols.dir	Fri Feb 22 16:33:43 2002
@@ -153,6 +153,8 @@ h-p----- am------ hu(def_common)
 -dp----- a------- si(basic)
 -dp----- a------- ru(basic)
 --p----- a------- ru(winkeys)
+-dp----- a------- ru_group3(basic)
+--p----- a------- ru_group3(winkeys)
 --p----- a------- ru(typewriter)
 --p----- a------- ru(phonetic)
 --p----- a------- sk(basic)

             reply	other threads:[~2002-03-17 14:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-17 14:11 Yury Umanets [this message]
2002-03-17 14:39 ` Aleksey Novodvorsky
2002-03-17 14:32   ` Yury Umanets
2002-03-17 15:04     ` Aleksey Novodvorsky
2002-03-17 14:49       ` Yury Umanets
2002-03-17 15:18         ` Aleksey Novodvorsky
2002-03-17 15:03           ` Yury Umanets
2002-03-17 15:37             ` Aleksey Novodvorsky
2002-03-18 12:03   ` [devel] " Michael Shigorin
2002-03-18 17:43   ` [devel] " Konstantin Volckov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C94A413.1080902@ukrpost.net \
    --to=torque@ukrpost.net \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git