From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: [PATCH] Enable uppercase letters to be entered in QEMU monitor terminal Date: Wed, 29 Nov 2006 12:04:29 +0000 Message-ID: <20061129120429.GB10275@redhat.com> References: <20061128225047.GL24746@redhat.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Nov 29, 2006 at 11:45:50AM +0000, Keir Fraser wrote: > On 28/11/06 22:50, "Daniel P. Berrange" wrote: > > > In the spirit of the original patch in changeset 10742, the attached patch > > is the simplest solution to make shift keys work - it tracks the shift key > > and caps lock key state. If both are active, or both inactive, then no > > transform is made; If either one, or the other (but not both) are active, > > then the letters a-z are transformed to A-Z, and vica-verca. > > Doesn't this eat the shift/caps key events even when not in qemu monitor > mode? What if the guest has shortcut key combos involving those keys, for > example? Opps, yes, the shift/caps bits need to be protected by a conditional on !is_graphics_console(). Will redo the patch to fix that. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|