numlock and VNC
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?
Thanks for your suggestions,
Stephen
Quoted 9 lines · Stephen Lee
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.
Stephen
Quoted 11 lines · Stephen Lee
Quoted 9 lines · Stephen Lee
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?
Quoted 2 lines
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