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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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
[-- Attachment #2 --]
--- src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp.orig 2010-10-09 00:10:14.000000000 +0400
+++ src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp 2010-11-18 14:31:31.038485522 +0300
@@ -232,7 +232,7 @@
static int codes_low[] =
{
//Conversion table for VNC key code range 32-127
- 0x0239, 0x0102, 0x0128, 0x0104, 0x0105, 0x0106, 0x0108, 0x0028, 0x010a, 0x010b, 0x0109, 0x010d, 0x0029, 0x000c, 0x0034, 0x0035, //space, !"#$%&'()*+`-./
+ 0x0239, 0x0102, 0x0128, 0x0104, 0x0105, 0x0106, 0x0108, 0x0028, 0x010a, 0x010b, 0x0109, 0x010d, 0x0033, 0x000c, 0x0034, 0x0035, //space, !"#$%&'()*+,-./
0x0b, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, //0123456789
0x0127, 0x0027, 0x0133, 0x000d, 0x0134, 0x0135, 0x0103, //:;<=>?@
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20BE609613B9438AB2FA386563A9C64A>
