From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Lee Subject: Re: numlock and VNC Date: 15 Mar 2003 10:36:06 -0800 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <1047753366.26358.146.camel@ralph.plexio.private> References: <1047623628.26358.73.camel@ralph.plexio.private> <1047664241.26366.80.camel@ralph.plexio.private> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1047664241.26366.80.camel@ralph.plexio.private> List-Id: Content-Type: text/plain; charset="us-ascii" To: dosemu On Fri, 2003-03-14 at 09:50, Stephen Lee wrote: > On Thu, 2003-03-13 at 22:33, Stephen Lee wrote: > > I'm running Foxpro2.6 under Dosemu 1.1.4/RH7.3/2.4.18. In an xdosemu > > session displayed remotely on another linux box, the numeric keypad > > works when numlock is turned on. If the xdosemu session is displayed > > remotely via tightvnc to a Win2k box, numlock does not work under > > dosemu. The numlock light is on but the keypad works as if numlock was > > off. Numlock does work in an xterm in vnc. I did try the vncserver > > switch "-compatiblekbd" but it had no effect under vnc/dosemu. Any > > suggestions on what switches or code to tweak? > > > > Never mind, I forgot to run "xset fp rehash" before starting vncserver. > Spoke too soon. I added "xset fp rehash" to my .vnc/xstartup file to make sure it was run every time vncserver was started. The first time I connected to the vncserver and ran xdosemu, the keypad numeric keys worked. The next time I connected, the keypad numeric keys did not work. The keypad was functionally stuck in the numlock off position even if the numlock light was on. Restarting vnc did not fix the problem. It appears that when you exit xdosemu, something to do with keypad settings is altered or reset. The only way I could get numlock work reliable was to make sure numlock was off before starting xdosemu. Once in dosemu, I could activate numlock and then the numeric keypad worked fine. Is this a bug in xdosemu? Thanks, Stephen