[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree-i18n
Subject:    [I18n] Re: hebrew keyboard in Xfree
From:       Tzafrir Cohen <tzafrir () technion ! ac ! il>
Date:       2000-11-28 18:51:34
[Download RAW message or body]

Hi

I follow that to the whole list, if you don't mind...

On Tue, 28 Nov 2000, Ivan Pascal wrote:

> > But I would like to know if there is currently a hebrew (or
> > israeli) keyboard layout there:
> > * symbols/he (or il)
> There are 'il' and il_phonetic ("uses the phonetic layout from old Slackware
> il.map file").

Could anybody please reply to me if they know of anybody who actually uses
il_phonetic or any similar layout? 

> > * "he" (or "il" in keymaps//xfree86
> No.
> 
> > *some relevant rules
> 
> There is not (and is not necessary) special rule for 'il' map.
> Rules file have rules like
> ---
> ! model layout = symbols
> <model> * = en_US(<model>)+%l%(v)
> --
> that are suitable for most layouts.

But it is a bit problematic for layouts who use a second group:
en_US adds, among others, iso9995-3(basic101) which adds an alternate
mapping for the second group. This means that the added group has to
override each key in the second layout, which seems pointless to me.

I attach a modified "il" symbols file, which tries to override as less as
possible (please don't commit it or anything, I haven't tested it much).

is there any way to add a rule like:
! model layout = symbols
  *     il     = us(%m)+il

where %m would be substituted with the model name?

-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir

["il2.xkb.symbols" (TEXT/PLAIN)]

// $XConsortium: il /main/3 1997/12/18 12:40:12 rch $

partial default alphanumeric_keys 
xkb_symbols "basic" {

    // Describes the differences between a very simple us
    // keyboard and a very simple Israelian keyboard

    // uses the kbd layout in use in Israel.

    //name[Group1]= "US/ASCII";
    name[Group2]= "Israelian";


    key <TLDE> {[],	[ semicolon,	asciitilde	]	};

    key <AD01> {[],	[ slash,	Q		]	};
    key <AD02> {[],	[ apostrophe,	W		]	};
    key <AD03> {[],	[ hebrew_qoph,	E		]       };
    key <AD04> {[],	[ hebrew_resh,	R		]	};
    key <AD05> {[],	[ hebrew_aleph,	T		]       };
    key <AD06> {[],	[ hebrew_tet,	Y		]       };
    key <AD07> {[],	[ hebrew_waw,	U		]       };
    key <AD08> {[],	[ hebrew_finalnun,	I	]       };
    key <AD09> {[],	[ hebrew_finalmem,	O	]       };
    key <AD10> {[],	[ hebrew_pe,	P		]	};

    key <AC01> {[],	[ hebrew_shin,	A		]	};
    key <AC02> {[],	[ hebrew_dalet,	S		]       };
    key <AC03> {[],	[ hebrew_gimel,	D		]       };
    key <AC04> {[],	[ hebrew_kaph,	F		]	};
    key <AC05> {[],	[ hebrew_ayin,	G		]       };
    key <AC06> {[],	[ hebrew_yod,	H		]       };
    key <AC07> {[],	[ hebrew_chet,	J		]	};
    key <AC08> {[],	[ hebrew_lamed,	K		]	};
    key <AC09> {[],	[ hebrew_finalkaph,	L	]       };
    key <AC10> {[],	[ hebrew_finalpe,	colon	]       };
    key <AC11> {[],	[ comma,	quotedbl	]	};

    key <AB01> {[],	[ hebrew_zain,	Z		]       };
    key <AB02> {[],	[ hebrew_samech,	X	]       };
    key <AB03> {[],	[ hebrew_bet,	C		]       };
    key <AB04> {[],	[ hebrew_he,	V		]       };
    key <AB05> {[],	[ hebrew_nun,	B		]       };
    key <AB06> {[],	[ hebrew_mem,	N		]	};
    key <AB07> {[],	[ hebrew_zade,	M		]	};
    key <AB08> {[],	[ hebrew_taw,	less		]	};
    key <AB09> {[],	[ hebrew_finalzade,	greater	]	};
    key <AB10> {[],	[ period,	question	]	};

    // reverse parathensis:
    key <AE09> {[],	[ 9,		parenright	]	};
    key <AE10> {[],	[ 0,		parenleft	]	};
    key <AD11> {[],	[ bracketright,	braceright	]       };
    key <AD12> {[],	[ bracketleft,	braceleft	]       };
	
    // I'm not exactly familiar with the stuff from iso99995-3
    // I figured that the common modifiers was something worth adding
    // and that the additional group is definitly not needed.
    // I don't know what about the dead_keys. Since I'm not familiar
    // with those names I figure that they don't belong in my keyboard
    include "iso9995-3(full_common)"    
//    // 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 };
};



_______________________________________________
I18n mailing list
I18n@XFree86.Org
http://XFree86.Org/mailman/listinfo/i18n


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic