All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gonglei <arei.gonglei@huawei.com>
To: Gerd Hoffmann <kraxel@redhat.com>, Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-trivial@nongnu.org, Wang Xin <wangxinxin.wang@huawei.com>,
	qemu-devel@nongnu.org, peter.huangpeng@huawei.com
Subject: Re: [Qemu-trivial] [PATCH 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap
Date: Wed, 25 Feb 2015 15:20:32 +0800	[thread overview]
Message-ID: <54ED77C0.7040402@huawei.com> (raw)
In-Reply-To: <1424084529.3722.20.camel@nilsson.home.kraxel.org>

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




WARNING: multiple messages have this Message-ID (diff)
From: Gonglei <arei.gonglei@huawei.com>
To: Gerd Hoffmann <kraxel@redhat.com>, Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-trivial@nongnu.org, Wang Xin <wangxinxin.wang@huawei.com>,
	qemu-devel@nongnu.org, peter.huangpeng@huawei.com
Subject: Re: [Qemu-devel] [PATCH 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap
Date: Wed, 25 Feb 2015 15:20:32 +0800	[thread overview]
Message-ID: <54ED77C0.7040402@huawei.com> (raw)
In-Reply-To: <1424084529.3722.20.camel@nilsson.home.kraxel.org>

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

  reply	other threads:[~2015-02-25  7:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-16  4:00 [Qemu-trivial] [PATCH 0/2] Fix key 'numerosign' missing in Russian keyboard arei.gonglei
2015-02-16  4:00 ` [Qemu-devel] " arei.gonglei
2015-02-16  4:00 ` [Qemu-trivial] [PATCH 1/2] qemu-char: add cyrillic characters 'numerosign' to VNC keysyms arei.gonglei
2015-02-16  4:00   ` [Qemu-devel] " arei.gonglei
2015-02-16  4:00 ` [Qemu-trivial] [PATCH 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap arei.gonglei
2015-02-16  4:00   ` [Qemu-devel] " arei.gonglei
2015-02-16  8:28   ` [Qemu-trivial] " Gerd Hoffmann
2015-02-16  8:28     ` [Qemu-devel] " Gerd Hoffmann
2015-02-16  8:33     ` [Qemu-trivial] " Michael Tokarev
2015-02-16  8:33       ` [Qemu-devel] " Michael Tokarev
2015-02-16  8:53       ` [Qemu-trivial] " Gonglei
2015-02-16  8:53         ` [Qemu-devel] " Gonglei
2015-02-16  9:12         ` [Qemu-trivial] " Michael Tokarev
2015-02-16  9:12           ` [Qemu-devel] " Michael Tokarev
2015-02-16 10:18         ` [Qemu-trivial] " Gerd Hoffmann
2015-02-16 10:18           ` [Qemu-devel] " Gerd Hoffmann
2015-02-16 10:27           ` [Qemu-trivial] " Michael Tokarev
2015-02-16 10:27             ` [Qemu-devel] " Michael Tokarev
2015-02-16 11:02             ` [Qemu-trivial] " Gerd Hoffmann
2015-02-16 11:02               ` [Qemu-devel] " Gerd Hoffmann
2015-02-25  7:20               ` Gonglei [this message]
2015-02-25  7:20                 ` Gonglei

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=54ED77C0.7040402@huawei.com \
    --to=arei.gonglei@huawei.com \
    --cc=kraxel@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=peter.huangpeng@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=wangxinxin.wang@huawei.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.