pho@dde.dk (Peter Holm) (11/01/90)
I have been puzzled about a few things in xterm : 1) Why does the keypad divide key (KP_Divide) display "\". I have fixed this by adding the following line to the *VT100.Translations : <Key>KP_Divide: string("/") \n 2) Why is the bold attribute displayed with the default font : fixed. I have gotten around this problem by adding the following line to my .Xdefaults file : XTerm.VT100.boldFont: Why isn't the default overstrike ? -- Peter Holm Tel: int +45 42 84 50 11 (UTC + 1) Dansk Data Elektronik A/S Fax: int +45 42 84 52 20 Herlev Hovedgade 199 Telex: 35258 dde dk DK-2730 Herlev, Denmark E-mail: pho@dde.dk
guy@auspex.auspex.com (Guy Harris) (11/03/90)
>1) Why does the keypad divide key (KP_Divide) display "\".
Because the "kypd_num" string in "input.c" in the "xterm" source has a
backslash where it should perhaps have a slash. Assuming there's no
good reason for this:
*** input.c.dist Sun Dec 10 17:44:50 1989
--- input.c Fri Nov 2 11:33:07 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";
(Speaking of good reasons or the lack of same, is there any good reason
why "kypd_num", "kypd_apl", and "cur" are pointers to "char", rather
than arrays of "char"?)