"5" key problem

Chris Selivanow cws "at" optimalpc.net
Fri, 10 Mar 2000 20:39:37 +0000


It is the same in the Slackware dist.  Their explination is that it is
there to fix
a problem with XDM not recognizing the backspace key with some
keyboard controllers.

Have you tried to do `xmodemap -pke`  from within a local Xwindows
console instead
of a VNC session, I think you'll find the keyboard mapping to be
different.

-Chris


Brian Candler wrote:
> 
> > Server:    VNC 3.3.3R1  (the official vnc-3.3.3r1_x86_linux_2.0.tgz binary)
> >            Sony Vaio laptop
> >            Red Hat 6.1
> >            XFree86-3.3.5-3
> >            glibc-2.1.2-11
> (and kde-1.1.2, by the way. This reports "Sorry, your X11 server lacks DPMS
> support", but otherwise appears happy enough under VNC)
> 
> Problem located. It is in the RedHat package xinitrc-2.4.3-1. This contains
> /a file etc/X11/xinit/Xmodmap, which contains just one line:
> 
> keycode 22 = BackSpace
> 
> It is referenced from /etc/X11/xinit/xinitrc, which includes:
> 
> sysmodmap=/etc/X11/xinit/Xmodmap
> ...
>     if [ -f $sysmodmap ]; then
>         xmodmap $sysmodmap
>     fi
> 
> This is presumably an ugly hack to fix some keyboard mapping problem in Red
> Hat. I don't know much about X, but it would seem that VNC and the PC's
> keyboard use completely different keycodes, and keycode 22 for VNC happens
> to be the '5' key. RedHat decides it would be better assigned to backspace
> :-)
> 
> So, are there any X gurus around who can tell us what the "correct" fix is?
> 
> Cheers,
> 
> Brian.
> 
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to majordomo "at" uk.research.att.com
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------