[patch] ru(typewriter) layout does not conform to the actual layout

Vasily Korytov vasily at korytov.pp.ru
Sat Sep 6 10:36:58 PDT 2008


`Russian Typewriter' keyboard is a big mess: out there are several
incompatible implementations of it.

Although, is seems, there WAS a standard:
http://www.artlebedev.com/mandership/105/layout1971w.gif

(http://www.artlebedev.com/mandership/105/ is an article about Russian
keyboard layouts.)

But AFAIU, it's common for the computer layout to replace `§' key with `|'
one. Like in http://ourworld.compuserve.com/homepages/paulGor/screen_e.htm

The layout, that currently exists in Xorg 1.5.0 RC 5 is some variation,
probably, borrowed from some of MS-DOS unofficial layouts.

Attaching a patch to make ru(typewriter) behave like an actual typewriter
keyboard (except fot `§').

-- 
    DESKPOT-RIPN
-------------- next part --------------
--- xkb/symbols/ru~	2008-04-15 06:53:53.000000000 +0400
+++ xkb/symbols/ru	2008-09-06 20:22:09.000000000 +0400
@@ -106,18 +106,21 @@
 xkb_symbols "typewriter" {
     include "ru(basic)"
     name[Group1]= "Russia - Typewriter";
-    key	<TLDE> {	[      apostrophe,	  quotedbl	] 	};
-    key	<AE01> {	[	   exclam,		 1 	]	};
-    key	<AE02> {	[      numerosign,		 2	]	};
+    key	<TLDE> {	[	      bar,	      plus	] 	};
+    key	<AE01> {	[      numerosign,		 1 	]	};
+    key	<AE02> {	[           minus,		 2	]	};
     key	<AE03> {	[	    slash,		 3	]	};
-    key	<AE04> {	[	semicolon,		 4	]	};
+    key	<AE04> {	[	 quotedbl,		 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	<BKSL> {	[	parenleft,	parenright	]	};
+    key	<AE11> {	[	   exclam,	     equal	]	};
+    key	<AE12> {	[       semicolon,	 backslash	]	};
+
+    key	<BKSL> {	[	parenright,	 parenleft	]	};
 
     key	<AD12> {	[Cyrillic_hardsign,Cyrillic_HARDSIGN	]	};
     key	<AB10> {	[     Cyrillic_io,     Cyrillic_IO	]	};


More information about the xorg mailing list