Re: Keyboard autorepeat settings [Was: Updated: XFree86-xserv-4.3.0-22]

2003-11-21 Thread Zbynek Winkler
Harold L Hunt II wrote:

Cary,

Cary Jamison wrote:

It seems to me that what is being asked for is that XKB support is kept
but its default configuration (delay, repeat rate, etc.) is whatever
Windows is currently set to.  I think this makes very good since - if I
really want a repeat rate different for X applications I can configure
it, otherwise it should be the same as it is on all my other Windows
apps.
From the above comments it looks like Alexander understood this but
Harold thought everyone was asking to remove XKB support and go back to
using Windows autorepeat.  Forgive me if I misread you, Harold.


I think you hit the nail on the head.

People are asking for XKB to handle the generation of autorepeat key 
events, but for it to grab its default settings from the Windows 
autorepeat settings?  Is that what is going on here?
Yes, that was the original nature of my request. Forgive me for not 
being clear enough. I didn't understand the underlaying consequences to 
explain it better.
Zbynek

--
http://zw.matfyz.cz/ http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic



Re: Keyboard autorepeat settings [Was: Updated: XFree86-xserv-4.3.0-22]

2003-11-21 Thread Takuma Murakami
It is my mistake that silently changing the default
behaviour.  I apologize and add some comments to show
my intention.

Harold L Hunt II wrote:
 It might be nice, but the Windows autorepeat caused problems with 
 systems running in Japanese... so they need the XKB autorepeat 
 functionality, since the Windows autorepeat needs to be disabled for them.

The Windows autorepeat is not crucial to Japanese
language handling.  Disabling it was a part of the patch
to improve mode key states synchronization.  Sorry for
confusing you, Harold.

I disabled it for the two reasons below:

1)  Having both Windows and XKB autorepeat breaks the
state synchronization.  For example, if we press Caps
Lock for a while, Windows toggles the state exactly once
but XKB repeatedly toggles the state since it receives
many KeyPress events generated by Windows autorepeat.

2)  Having two schemes for autorepeat looks not so
good as Harold said.  Adoption of XKB layer is just my
choice.  Because we are using an X server, it is natural
for me to configure it using X Window's manner (i.e.
xset).  Please consider keymaps; we set keymaps via
xmodmap, setxkbmap and/or XF86Config file -- all those
are X Window's manner.

Anyway, now we seem to find a better solution to get
default values from Windows and enable Windows autorepeat
if XKB is disabled.  It looks that Alexander is implementing
the features, is it right?  I really appreciate him.

Takuma Murakami ([EMAIL PROTECTED])



Keyboard autorepeat settings [Was: Updated: XFree86-xserv-4.3.0-22]

2003-11-20 Thread Harold L Hunt II
Jack Tanner wrote:

Alexander Gottwald wrote:

If this is the case I can add code to use the windows default 
autorepeat settings to configure Xwin. But this will again change the 
old behavior
of Xwin and some users might be unhappy with it.


It would be consistent with other behavior to get autorepeat settings 
from Windows, not from X settings. For example, we try to use the 
Windows language settings, right?
Sort of... it isn't quite that cut and dried.

Besides, we have been using *both* X autorepeat and Windows autorepeat 
until recently.  This was not a good solution.

Since Xwin is a Windows application, there's little reason for it to 
have its own autorepeat configuration.
It might be nice, but the Windows autorepeat caused problems with 
systems running in Japanese... so they need the XKB autorepeat 
functionality, since the Windows autorepeat needs to be disabled for them.

So, we can't just remove XKB support or disable it permanently... it is 
required by some non-U.S. users.

It may seems like we are being indecisive here... but there are really a 
lot of concerns that need to be considered in order to get a correct 
solution.

Harold



Re: Keyboard autorepeat settings [Was: Updated: XFree86-xserv-4.3.0-22]

2003-11-20 Thread Jack Tanner
Harold L Hunt II wrote:
It might be nice, but the Windows autorepeat caused problems with 
systems running in Japanese... so they need the XKB autorepeat 
functionality, since the Windows autorepeat needs to be disabled for them.
Huh. Not that I'm completely amazed, but it seems strange that Windows 
would be unable to handle Japanese keyboards. Is this an underlying 
Windows bug? Perhaps there's some workaround from Microsoft?

-JT




Re: Keyboard autorepeat settings [Was: Updated: XFree86-xserv-4.3.0-22]

2003-11-20 Thread Cary Jamison
Harold L Hunt II [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 Jack Tanner wrote:
 
  Alexander Gottwald wrote:
  
  If this is the case I can add code to use the windows default 
  autorepeat settings to configure Xwin. But this will again change
the 
  old behavior
  of Xwin and some users might be unhappy with it.
  
  
  It would be consistent with other behavior to get autorepeat
settings 
  from Windows, not from X settings. For example, we try to use the 
  Windows language settings, right?
 
 Sort of... it isn't quite that cut and dried.
 
 Besides, we have been using *both* X autorepeat and Windows autorepeat

 until recently.  This was not a good solution.
 
  Since Xwin is a Windows application, there's little reason for it to

  have its own autorepeat configuration.
 
 It might be nice, but the Windows autorepeat caused problems with 
 systems running in Japanese... so they need the XKB autorepeat 
 functionality, since the Windows autorepeat needs to be disabled for
them.
 
 So, we can't just remove XKB support or disable it permanently... it
is 
 required by some non-U.S. users.

It seems to me that what is being asked for is that XKB support is kept
but its default configuration (delay, repeat rate, etc.) is whatever
Windows is currently set to.  I think this makes very good since - if I
really want a repeat rate different for X applications I can configure
it, otherwise it should be the same as it is on all my other Windows
apps.

From the above comments it looks like Alexander understood this but
Harold thought everyone was asking to remove XKB support and go back to
using Windows autorepeat.  Forgive me if I misread you, Harold.

 It may seems like we are being indecisive here... but there are really
a 
 lot of concerns that need to be considered in order to get a correct 
 solution.
 
 Harold

Cary


Re: Keyboard autorepeat settings [Was: Updated: XFree86-xserv-4.3.0-22]

2003-11-20 Thread Harold L Hunt II
Cary,

Cary Jamison wrote:

It seems to me that what is being asked for is that XKB support is kept
but its default configuration (delay, repeat rate, etc.) is whatever
Windows is currently set to.  I think this makes very good since - if I
really want a repeat rate different for X applications I can configure
it, otherwise it should be the same as it is on all my other Windows
apps.
From the above comments it looks like Alexander understood this but
Harold thought everyone was asking to remove XKB support and go back to
using Windows autorepeat.  Forgive me if I misread you, Harold.
I think you hit the nail on the head.

People are asking for XKB to handle the generation of autorepeat key 
events, but for it to grab its default settings from the Windows 
autorepeat settings?  Is that what is going on here?

Harold