john@labtam.oz (John Carey) (05/30/90)
As usual I have sent this to xbugs@mit
X Window System Bug Report
xbugs@expo.lcs.mit.edu
VERSION:
R4
CLIENT MACHINE and OPERATING SYSTEM:
Labtam Delta/386 running System V Release 3.2
DISPLAY TYPE:
Labtam Xengine (all models)
WINDOW MANAGER:
twm
AREA:
xterm
SYNOPSIS:
xterm displays \ rather than / when the keypad divide key is pressed
DESCRIPTION:
As above
REPEAT BY:
Run xterm using a server which generates the XK_KP_Divide keysym
This will display \ rather than /
SAMPLE FIX:
Here are the changes to mit/clients/xterm/input.c
--------------------------------------------------------------------------------
*** input.c_r4 Wed May 30 17:50:39 1990
--- input.c Wed May 30 17:50:35 1990
***************
*** 46,52 ****
#include "ptyx.h"
static XComposeStatus compose_status = {NULL, 0};
! static char *kypd_num = " XXXXXXXX\tXXX\rXXXxxxxXXXXXXXXXXXXXXXXXXXXX*+,-.\\0123456789XXX=";
static char *kypd_apl = " ABCDEFGHIJKLMNOPQRSTUVWXYZ??????abcdefghijklmnopqrstuvwxyzXXX";
static char *cur = "DACB";
--- 46,52 ----
#include "ptyx.h"
static XComposeStatus compose_status = {NULL, 0};
! static char *kypd_num = " XXXXXXXX\tXXX\rXXXxxxxXXXXXXXXXXXXXXXXXXXXX*+,-./0123456789XXX=";
static char *kypd_apl = " ABCDEFGHIJKLMNOPQRSTUVWXYZ??????abcdefghijklmnopqrstuvwxyzXXX";
static char *cur = "DACB";