From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=33547 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORF2u-0001Wm-N6 for qemu-devel@nongnu.org; Tue, 22 Jun 2010 21:46:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ORF2t-0006aR-D3 for qemu-devel@nongnu.org; Tue, 22 Jun 2010 21:46:32 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:42271) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORF2t-0006aK-An for qemu-devel@nongnu.org; Tue, 22 Jun 2010 21:46:31 -0400 Received: by gwb19 with SMTP id 19so1123099gwb.4 for ; Tue, 22 Jun 2010 18:46:30 -0700 (PDT) Message-ID: <4C216774.8080607@codemonkey.ws> Date: Tue, 22 Jun 2010 20:46:28 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Extra scan codes for missing keys References: <4C05638A.9060405@codemonkey.ws> <1275449550-19250-1-git-send-email-qemudevbmw@lsmod.de> In-Reply-To: <1275449550-19250-1-git-send-email-qemudevbmw@lsmod.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Bernhard M. Wiedemann" Cc: qemu-devel@nongnu.org On 06/01/2010 10:32 PM, Bernhard M. Wiedemann wrote: > The code comes from > http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02788.html > > Without this patch it is not possible to send at least 10 special > characters (\|'"`~:;[]{}) via the monitor sendkey command. > > Signed-off-by: Bernhard M. Wiedemann > Applied. Thanks. Regards, Anthony Liguori > --- > monitor.c | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/monitor.c b/monitor.c > index 15b53b9..1635040 100644 > --- a/monitor.c > +++ b/monitor.c > @@ -1563,7 +1563,8 @@ static const KeyDef key_defs[] = { > { 0x17, "i" }, > { 0x18, "o" }, > { 0x19, "p" }, > - > + { 0x1a, "bracket_left" }, > + { 0x1b, "bracket_right" }, > { 0x1c, "ret" }, > > { 0x1e, "a" }, > @@ -1575,7 +1576,11 @@ static const KeyDef key_defs[] = { > { 0x24, "j" }, > { 0x25, "k" }, > { 0x26, "l" }, > + { 0x27, "semicolon" }, > + { 0x28, "apostrophe" }, > + { 0x29, "grave_accent" }, > > + { 0x2b, "backslash" }, > { 0x2c, "z" }, > { 0x2d, "x" }, > { 0x2e, "c" }, >