On 2015/2/16 19:02, Gerd Hoffmann wrote:
> On Mo, 2015-02-16 at 13:27 +0300, Michael Tokarev wrote:
>> 16.02.2015 13:18, Gerd Hoffmann wrote:
>> []
>>> But the russian keymap needs numerosign only, right?
>>> Or does a russian keyboard have *both*?
>>
>> Now maybe I don't understand how keymap works.
>>
>> When switching my keyboard to russian (cyrillic) layout,
>> I can't type # without switching back to latin layout.
>> Both symbols are produced by the same key - it is key
>> with number 3 on it, when used with Shift. On latin
>> layout it produces #, on cyrillic layout it produces №.
>
> As the patch description suggests. Thanks for confirming.
>
>> Does it mean the layout does not have # key?
>
> It might be somewhere else, in theory. Seems not to be the case for the
> russian layout though.
>
> On a german keyboard shift-3 is '§', and the number sign is somewhere
> else. So I can get '#' with both 'us' and 'de' layouts, but I have to
> use different keys ...
>
I think the number sign(#) should be deleted from russian keymap file, for
the following reasons:
(1) In standard Russian keyboard layout we can not find key '#'[1][2];
(2) on the other hand, '№' is Russian number sign[3], so there is no need '#'
in Russian input mode.
[1] http://en.wikipedia.org/wiki/Keyboard_layout#Russian
[2] http://kbd-intl.narod.ru/english/layouts
[3] http://en.wikipedia.org/wiki/Numero_sign
Any thoughts?
Regards,
-Gonglei