Date: Thu, 18 Nov 2010 15:24:39 +0300 From: "Alexander Zagrebin" <alexz@visp.ru> To: <freebsd-emulation@freebsd.org> Subject: VirtualBox's VNC code incorrectly maps "," to "`" Message-ID: <20BE609613B9438AB2FA386563A9C64A@vosz.local>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_2CB5_01CB8734.B763EEE0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit I'm using VirtualBox in the headless mode with VNC support. I have noticed that when pressing "," key in the vnc client, the guest operating system receives a "`". The reason is in bug in the FramebufferVNC.cpp Tha attached patch fixes this issue. -- Alexander Zagrebin ------=_NextPart_000_2CB5_01CB8734.B763EEE0 Content-Type: application/octet-stream; name="patch-FramebufferVNC.cpp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch-FramebufferVNC.cpp" --- src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp.orig 2010-10-09 = 00:10:14.000000000 +0400=0A= +++ src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp 2010-11-18 = 14:31:31.038485522 +0300=0A= @@ -232,7 +232,7 @@=0A= static int codes_low[] =3D=0A= {=0A= //Conversion table for VNC key code range 32-127=0A= - 0x0239, 0x0102, 0x0128, 0x0104, 0x0105, 0x0106, 0x0108, 0x0028, = 0x010a, 0x010b, 0x0109, 0x010d, 0x0029, 0x000c, 0x0034, 0x0035, //space, = !"#$%&'()*+`-./=0A= + 0x0239, 0x0102, 0x0128, 0x0104, 0x0105, 0x0106, 0x0108, 0x0028, = 0x010a, 0x010b, 0x0109, 0x010d, 0x0033, 0x000c, 0x0034, 0x0035, //space, = !"#$%&'()*+,-./=0A= 0x0b, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, = //0123456789=0A= 0x0127, 0x0027, 0x0133, 0x000d, 0x0134, 0x0135, 0x0103, = //:;<=3D>?@=0A= 0x11e, 0x130, 0x12e, 0x120, 0x112, 0x121, 0x122, 0x123, 0x117, = 0x124, 0x125, 0x126, 0x132, 0x131, 0x118, 0x119, 0x110, 0x113, 0x11f, = 0x114, 0x116, 0x12f, 0x111, 0x12d, 0x115, 0x12c, //A-Z=0A= ------=_NextPart_000_2CB5_01CB8734.B763EEE0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20BE609613B9438AB2FA386563A9C64A>