The problem: F1 and F4 don't work with xwin-6.8.1.0-10. Temporary workaround - using xmodmap: xmodmap -e "keycode 208 = 0xffbe" # set F1 xmodmap -e "keycode 211 = 0xffc1" # set F4
Notes: It seems that the problem caused by the keycodes assigned to F1 and F4. They should have been on keycodes 67 / 70 but they are on 208 / 211. I did not have this problem with any previous version of Xwin. (i.e. xwin-6.8.1.0-9 or before). uname -a: CYGWIN_NT-5.1 p4-1700-xp 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin Below are the `xev' output and XWin.log Ehud. xev output (only the KeyPress events): ====================================== KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253670500, (804,253), root:(874,370), state 0x0, keycode 65 (keysym 0x20, space), same_screen YES, XLookupString gives 1 bytes: (20) " " XmbLookupString gives 1 bytes: (20) " " XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253677515, (266,31), root:(336,148), state 0x0, keycode 208 (keysym 0x0, NoSymbol), same_screen YES, <-- problem XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253678625, (266,31), root:(336,148), state 0x0, keycode 68 (keysym 0xffbf, F2), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253679828, (266,31), root:(336,148), state 0x0, keycode 69 (keysym 0xffc0, F3), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253680484, (266,31), root:(336,148), state 0x0, keycode 211 (keysym 0x0, NoSymbol), same_screen YES, <-- problem XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253681500, (266,31), root:(336,148), state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253682109, (266,31), root:(336,148), state 0x0, keycode 72 (keysym 0xffc3, F6), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253682640, (266,31), root:(336,148), state 0x0, keycode 73 (keysym 0xffc4, F7), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x3a, subw 0x0, time 2253683671, (266,31), root:(336,148), state 0x0, keycode 74 (keysym 0xffc5, F8), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False X connection to localhost:0.0 broken (explicit kill or server shutdown). XWin.log: ========= Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.1.0-10 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error -nounixkill -nowinkill -emulate3buttons 50 ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information (==) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X1 1/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/font s/100dpi/" winPrefsLoadPreferences: /c/ehuds/.XWinrc LoadPreferences: Done parsing the configuration file... winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 16 winInitVisualsShadowGDI - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () winInitMultiWindowWM - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "00000409" (00000409) (--) Using preset keyboard for "English (USA)" (409), type "4" (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winInitMultiWindowWM - pthread_mutex_unlock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winClipboardProc - XOpenDisplay () returned and successfully opened the display. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry