F1 F4 do not work with xwin-6.8.1.0-10

2005-02-07 Thread Ehud Karni
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 0xa1,
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 0xa1,
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 0xa1,
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 0xa1,
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 0xa1,
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 0xa1,
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 0xa1,
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 0xa1,
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 0xa1,
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 f800 07e0 001f 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 

Re: F1 F4 do not work with xwin-6.8.1.0-10

2005-02-07 Thread Igor Pechtchanski
On Mon, 7 Feb 2005, Ehud Karni wrote:

 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
 [snip]

The obvious question: is your NumLock on?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: F1 F4 do not work with xwin-6.8.1.0-10

2005-02-07 Thread Alexander Gottwald
On Mon, 7 Feb 2005, Ehud Karni wrote:

 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

Seems like the changes for ABNT2 keyboards had an unforseen side effect.
revert to xorg-x11-xwin-6.8.1.0-9. I'll prepare fixed packages soon

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723