From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQWHq-0001xI-P1 for qemu-devel@nongnu.org; Wed, 25 Feb 2015 02:21:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQWHp-0002TN-87 for qemu-devel@nongnu.org; Wed, 25 Feb 2015 02:21:38 -0500 Message-ID: <54ED77C0.7040402@huawei.com> Date: Wed, 25 Feb 2015 15:20:32 +0800 From: Gonglei MIME-Version: 1.0 References: <1424059258-11024-1-git-send-email-arei.gonglei@huawei.com> <1424059258-11024-3-git-send-email-arei.gonglei@huawei.com> <1424075329.3722.0.camel@nilsson.home.kraxel.org> <54E1AB64.3070303@msgid.tls.msk.ru> <54E1AFF2.2070706@huawei.com> <1424081886.3722.9.camel@nilsson.home.kraxel.org> <54E1C60F.2040602@msgid.tls.msk.ru> <1424084529.3722.20.camel@nilsson.home.kraxel.org> In-Reply-To: <1424084529.3722.20.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , Michael Tokarev Cc: qemu-trivial@nongnu.org, Wang Xin , qemu-devel@nongnu.org, peter.huangpeng@huawei.com 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