From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59007 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7tXw-00051R-IZ for qemu-devel@nongnu.org; Mon, 18 Oct 2010 13:30:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7tXv-0003jw-Kf for qemu-devel@nongnu.org; Mon, 18 Oct 2010 13:30:52 -0400 Received: from [93.153.226.188] (port=58024 helo=mail.linux-ink.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7tXv-0003jl-Eo for qemu-devel@nongnu.org; Mon, 18 Oct 2010 13:30:51 -0400 Subject: Re: Testing of russian keymap (was Re: [Qemu-devel] [PATCH] fix '/' and '|' on russian keymap) From: Oleg Sadov In-Reply-To: <4CAD4EC8.5070402@msgid.tls.msk.ru> References: <20101001181428.GA18421@blackpad.lan.raisama.net> <20101006195607.GB20664@blackpad.lan.raisama.net> <4CAD4EC8.5070402@msgid.tls.msk.ru> Content-Type: text/plain Date: Mon, 18 Oct 2010 21:30:46 +0400 Message-Id: <1287423046.6764.69.camel@sadov-t.linux-ink.vo> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: qemu-devel@nongnu.org Sorry for delay with answer -- vacations time without e-mail account access. 07/10/2010 08:38 +0400, Michael Tokarev wrote: > 06.10.2010 23:56, Eduardo Habkost wrote: > > > > Anybody using a russian keyboard layout who can test this change and > > confirm it works as expected? > > I can perform such a testing - in theory. But in practice, I was never > able to figure out this -k $lang stuff, -- neither in qemu nor in other > apps like rdesktop and the like. > > What I usually do is to explicitly set en-us keyboard for applications > that are "too smart" and tries to guess "right" keyboard from env. > variables such as $LANG. > > The reason is that after specifying "ru" keyboard, I can't use latin > chars anymore, and can type only using cyrillic. Since cyrillic > layout does not have any latin char, imagine how to type, say, a > path name (even "C:" drive in windows). > > All modern OSes nowadays have a way to switch between keyboard layouts > dynamically - this is done internally in the operating system. So, > basically, I've no idea what this -k $foo stuff is used for to start > with ;) > > Care to explain please? Oleg? :) I don't understand reasons for such locale-default keyboard settings for qemu too, but may be it's useful for someone... > Thanks! > > /mjt Regards! --Oleg