Package: xrdp
Version: 0.5.0~20100303cvs-6
Severity: normal
Tags: squeeze sid patch

I installed xrdp server on Debian, and set keymap file by xrdp-genkeymap.
I logged on Debian by RDP from different 2 clients.

   * rdesktop on Debian sid (LANG=ja_JP.eucJP) with JP106 keyboard.
   * Remote Desktop Client on WinXP (Japanese) with JP106 keyboard.

I couldn't input "\" (Keycode 132).

xrdp treats key scan code as 7bits. but sometimes it is over 7bits with non-US
keyboard.



-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=ja_JP.eucjp, LC_CTYPE=ja_JP.eucjp (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/dash

Versions of packages xrdp depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.2-9   Embedded GNU C Library: Shared lib
ii  libpam0g                      1.1.1-6.1  Pluggable Authentication Modules l
ii  libssl0.9.8                   0.9.8o-4   SSL shared libraries
ii  libx11-6                      2:1.3.3-4  X11 client-side library
ii  libxfixes3                    1:4.0.5-1  X11 miscellaneous 'fixes' extensio

Versions of packages xrdp recommends:
ii  vnc4server [vnc-server]  4.1.1+X4.3.0-37 Virtual network computing server s

xrdp suggests no packages.

-- no debconf information
Description: Upstream changes introduced in version 0.5.0~20100303cvs-6
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 xrdp (0.5.0~20100303cvs-6) unstable; urgency=low
 .
   * Add a patch to fix Alt-Gr issues with Windows TS client.
     Closes: #584666.
   * Bump Standards-Version to 3.9.1.
 .
 The person named in the Author field signed this changelog entry.
Author: Vincent Bernat <ber...@debian.org>
Bug-Debian: http://bugs.debian.org/584666

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- xrdp-0.5.0~20100303cvs.orig/xrdp/xrdp_types.h
+++ xrdp-0.5.0~20100303cvs/xrdp/xrdp_types.h
@@ -200,11 +200,11 @@ struct xrdp_key_info
 
 struct xrdp_keymap
 {
-  struct xrdp_key_info keys_noshift[128];
-  struct xrdp_key_info keys_shift[128];
-  struct xrdp_key_info keys_altgr[128];
-  struct xrdp_key_info keys_capslock[128];
-  struct xrdp_key_info keys_shiftcapslock[128];
+  struct xrdp_key_info keys_noshift[128+8];
+  struct xrdp_key_info keys_shift[128+8];
+  struct xrdp_key_info keys_altgr[128+8];
+  struct xrdp_key_info keys_capslock[128+8];
+  struct xrdp_key_info keys_shiftcapslock[128+8];
 };
 
 /* the window manager */
--- xrdp-0.5.0~20100303cvs.orig/xrdp/lang.c
+++ xrdp-0.5.0~20100303cvs/xrdp/lang.c
@@ -181,7 +181,7 @@ km_read_section(int fd, const char* sect
         {
           code = g_atoi(name);
         }
-        if ((code >= 0) && (code < 128))
+        if ((code >= 0) && (code < 128+8))
         {
           pos1 = g_pos(value, ":");
           if (pos1 >= 0)

Reply via email to