WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Enable uppercase letters to be entered in QEMU m

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Enable uppercase letters to be entered in QEMU monitor terminal
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Wed, 29 Nov 2006 12:04:29 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Nov 2006 04:04:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C193236E.536F%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20061128225047.GL24746@xxxxxxxxxx> <C193236E.536F%keir@xxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Wed, Nov 29, 2006 at 11:45:50AM +0000, Keir Fraser wrote:
> On 28/11/06 22:50, "Daniel P. Berrange" <berrange@xxxxxxxxxx> 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  -=| 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel