Re: xkb bug in XFree 4.2.99.3

2003-01-23 Thread Ivan Pascal
Hello, I am trying RedHat's latest beta which includes XFree 4.2.99.3 and there is a bug in the xkb code. I cannot configure a proper French Canadian keyboard. When specifying ca_enhanced in the XF86Config file, some keys on the keyboard are not mapped properly. I should apologize I

Re: TerminateServer Keycode combination broken ...

2003-01-23 Thread Ivan Pascal
Hi, Stefan Dirsch wrote: The TerminateServer keycode combination key BKSP { type=CTRL+ALT, symbols[Group1]= [ BackSpace, Terminate_Server ] }; is missing for nearly all keyboard symbol tables. Currently (CVS version from today) it is only included for

Re: A bug in xset and a fix for it

2003-02-05 Thread Ivan Pascal
David Dawes wrote: That in turn uses _XReply() to fill in a xkbGetKbdByNameReply struct, and either that call fails, or the reported field of the struct is set to zero. (line 142 in XKBGetByName.c) Does the xset call actually change the repeat rate when this happens (with your fix)? Also,

Re: [XFree86] [BUG] The /*-+ keys on the numeric keypad won't repeat in current CVS

2003-02-07 Thread Ivan Pascal
On Mon, Feb 03, 2003 at 12:02:47PM -0500, Mike A. Harris wrote: /*-+ on the numeric keypad won't repeat in current CVS. Other keys on the keypad do repeat, including numbers when numlock is turned on. /*-+ on the normal part of the keyboard do repeat. Tried xset r on with no

Re: [XFree86] [BUG] The /*-+ keys on the numeric keypad won't repeat in current CVS

2003-02-10 Thread Ivan Pascal
Hi, Err, I think is just found another problem, forgive me if it is a known problem (and I missed some email about it), but for example: % setxkbmap -model pc104 -layout us_intl or % setxkbmap -model abnt2 -layout br = Scroll_Lock leds works They are 'old layouts'. % setxkbmap

Re: KeyBoard BUG on sparc/sparc64 in 4.3.0 too.

2003-03-04 Thread Ivan Pascal
Balint Cristian wrote: Regard to that one BUG with the mention that it persist in 4.3.0 too and any CVS too: By Rene: http://marc.theaimsgroup.com/?l=xfree86m=104526841725691w=2 By mysef: http://marc.theaimsgroup.com/?l=xfree86m=104385693307371w=2 I send more deBug:

Re: iBook us-keyboard problem

2003-06-06 Thread Ivan Pascal
Hi, OK, after some more resarch, I have some idea of what's going on. It seems that the X server gets the scan codes from the kernel, then passes these scan codes to the X client. xlib has some nice functions to then convert these scan codes into keycodes, then into keysyms. (Correct me

Re: iBook us-keyboard problem

2003-06-07 Thread Ivan Pascal
Hi, The linux-ppc kernel has an option (CONFIG_MAC_ADBKEYCODES) to use the old ADB-style keycodes. I imagine setting this option to no uses the conversion you're talking about. For the record, the scancodes I see (from showkey -s) are as follows: KeyPad Equals : 0x5c 0xdc Left Arrow

Re: [PATCH] btc9001ah keybaord symbols

2003-06-21 Thread Ivan Pascal
Hello, I'm using btc9001ah keyboard and found out that current CVS doesn't support this model! Here is its description: I commited your description but without commented lines. We can add them later when the keycodes will be emulated correctly. -- Ivan U. Pascal | e-mail:

Re: linux 2.6 atkbd == xkb

2003-07-15 Thread Ivan Pascal
Hello, As per xc/programs/Xserver/hw/xfree86/common/atKeynames.h: /* * Fake 'scancodes' in the following ranges are generated for 2-byte * codes not handled elsewhere. These correspond to most extended keys * on so-called Internet keyboards: * * 0x79-0x93 * 0x96-0xa1

Re: Change of behavior of shift+numpad arrow keys (without numlock)

2003-08-05 Thread Ivan Pascal
David Dawes wrote: On Mon, Aug 04, 2003 at 03:10:02PM +0200, Egbert Eich wrote: Bugzilla 558 requests to change the behavoir of shift+numpad arrow keys This requests sounds reasonable so I would like to find out if somebody has a strong opinion on this issue. If not I will commit the

Re: CapsLock behaviour and Turkish keyboard

2003-08-05 Thread Ivan Pascal
Hi, I see keyboard topics are being discussed right now... there is long standing problem with the CapsLock and turkish keyboard that would be nice to have fixed. Yes. There *was* such problem and it was discussed year ago. :-) (I don't remember but I was sure you took part in that

Re: CapsLock behaviour and Turkish keyboard

2003-08-06 Thread Ivan Pascal
Pablo Saratxaga wrote: On Wed, Aug 06, 2003 at 01:31:45AM +0700, Ivan Pascal wrote: The name was misleading I thought it was the system where capslock is similar to shift lock (how is that mode named then?) There is not such option now. In my opinion it is inconvenient because such key

Re: CapsLock behaviour and Turkish keyboard

2003-08-08 Thread Ivan Pascal
Hi, Well, I described how it worked on mechanical typewriters; just having a ShiftLock is enough. (OTOH it is a long time since I last used a mechanical typewriter, and since I discovered the CapsLock on computers (allowing to have uppercase of ccedilla for example), I like this better. On

Re: CapsLock behaviour and Turkish keyboard

2003-08-14 Thread Ivan Pascal
Hi, Well, I used to like that behaviour of typewriter capslock (with shift key removing the caps lock, and the capslock affecting all keys and being a shift lock in fact) Unfortunately I can't imagine how to make such mode (affects all keys but Shift cancels Caps ) in XKB. I tested it and

Re: Wrong order of a timeouts processing in WaitForSomething.

2003-09-22 Thread Ivan Pascal
Hello, Egbert Eich wrote: One use for timeouts is to handle external network events, such as font server reconnect or XDMCP messages. In those cases, the timeout routine can modify which sockets will be needed in the select mask, hence the desire for the timeout routine to

Re: Wrong order of a timeouts processing in WaitForSomething.

2003-09-22 Thread Ivan Pascal
I made new version of the patch. The issue Keith pointed is fixed. Also I added a flag for timers TimerNeedsCheckInput. The timers without this flag are processed before the select all others are delaied until the second timers check. (The second check doesn't distinguish those timers.) Also

Re: Wrong order of a timeouts processing in WaitForSomething.

2003-09-23 Thread Ivan Pascal
Egbert Eich wrote: The XKB code could call ProcessInputEvents just above the check for a pending repeat key; that would ensure that any input queued either in the X server or the kernel would get processed before repeat status was checked. Hm, doesn't ProcessInputEvents() only

Re: Wrong order of a timeouts processing in WaitForSomething.

2003-09-23 Thread Ivan Pascal
Around 21 o'clock on Sep 22, Ivan Pascal wrote: Also I added a flag for timers TimerNeedsCheckInput. The timers without this flag are processed before the select all others are delaied until the second timers check. (The second check doesn't distinguish those timers.) I think that's

Re: Wrong order of a timeouts processing in WaitForSomething.

2003-09-24 Thread Ivan Pascal
Keith Packard wrote: Yes, it looks like you're correct -- every example I could find would ensure that pending device input was marked in checkForInput. There are some odd examples of this however, which are somewhat instructive to examine: a) The original A/UX server had

Re: USB Multimedia Keyboards. Some keys do not produce keyevents.

2003-09-29 Thread Ivan Pascal
Hello, I have project called lineak http://lineak.sourceforge.net which is a user configurable daemon to run commands when a user presses a multimedia key on their keyboard. However, some people who have USB keyboards, have a problem that some keys do not get keycodes, or generate

Re: Button press emulation

2003-10-02 Thread Ivan Pascal
Hi, hi all, I'm working on a virtual keyboard for disabled people and I have some problems with button press emulation. I use XTestFakeButtonEvent to simulate button press events. Every virtual key has a keysym and using XKeysymToKeycode I translate virtual key Keysyms into keycodes.

Re: USB Multimedia Keyboards. Some keys do not produce keyevents.

2003-10-06 Thread Ivan Pascal
Hi, If that module doesn't know how to emulate a scn-code for some key it prints this message (note it is not Xserver's message but kernels one) and passes nothing. In such case there is nothing to read for Xserver and you don't see any events in xev. However, showkey -s does show

Re: [linux-usb-devel] USB keycodes Logitech Cordless Desktop Optical: (Was USB Multimedia Keyboards. Some keys do not produce keyevents)

2003-10-18 Thread Ivan Pascal
I was under the impression that the kernel would/should at least always see the raw scancode (where this is not a value between 0 and 255), whether or not it could do something with it, and that X didn't use linux's keyboard driver anyway, it interpreted the scancodes itself. You are

Re: xkb/xlib problem key states

2003-10-22 Thread Ivan Pascal
I'd like to add a special hotkey feature to the icewm window manager: If the user holds down a (function) key for a configurable amount of seconds a program will be executed. Now my problem is how to query the key states in xlib. My first attempt was using XGrabKey and calculating the

Re: usb keyboard

2003-11-18 Thread Ivan Pascal
I'd like to add some support to X for my usb keyboard's extra multimedia keys (if it's not already there). It sends some keycodes to the linux kernel that can't be passed via the kernel's raw mode. From my research, it seems to me that the solution is to give X the ability to use the new

Re: problem using dead keys

2003-12-22 Thread Ivan Pascal
Hi, everything was ok, except that it appears to be ignoring the Option XkbOptions grp:lwin_switch Try lv3:lwin_switch instead. -- Ivan U. Pascal | e-mail: [EMAIL PROTECTED] Administrator of | Tomsk State University University Network

Re: documentation of the format of files in xkb/symbols?

2004-01-06 Thread Ivan Pascal
Hi, You'll find some documentation here: http://pascal.tsu.ru/en/xkb/ i haven't the information i need on that page. i may have overread it or something, but i still ask myself what certain keywords mean when reading the files in .../xkb/symbols/pc

Re: CVS XFree (savage driver) xsuite failures

2004-01-20 Thread Ivan Pascal
Hello, Mark Vojkovich wrote: On Mon, 19 Jan 2004, David Dawes wrote: Tests for XChangeKeyboardControl Test 9: FAIL Test 10: FAIL That has been showing up for a while. It should be followed up. That's been showing up for a couple years. It's a regression. I think the

Re: CVS XFree (savage driver) xsuite failures

2004-01-26 Thread Ivan Pascal
David Dawes wrote: Where does the LED state get resynced with the DDX? The only place that I see the LED state synced with the DDX is at init time. If I disable XKB, 'xset q' doesn't report changes to the real LED state. Yes. But I think it's rather a bug. Note that by deafult (without

Re: howto get the XkbLayout with the C language

2004-03-09 Thread Ivan Pascal
Hi, I've just tried to get the XkbLayout in my program, but It doesn't work for me at this moment. I caught the event, when the user changes the keyboard layout. But I cannot get the layout symbolic name as is in my XF86Config like us or cz or de or whatever I have there in the

Re: VT switching / XKB problem

2004-03-29 Thread Ivan Pascal
Hi, In 4.3.0 days I made a change to the native keyboard driver that would differentiate between Alt+Ctrl+SPECIAL and Alt+Ctrl+Shift+SPECIAL, where SPECIAL is one of the VT screen switch, zap, or mode change keys. I submitted a small patch (Bugzilla #1298) that cathes a new case where

Re: KP_Separator in the abnt2 keyboard

2004-05-08 Thread Ivan Pascal
Hi, Sorry for such long delay. The abnt2 keyboard has a comma and a dot in the keypad. The dot is generating the KP_Decimal keysym but the comma is generating the comma keysym. This make both comas use the same keysym. It appears to me that the KP_Separator should be generated.

Re: finding all windows belonging to an application

2004-11-10 Thread Ivan Pascal
Yes, I see the pattern you mention in XID. Appears that the most significant two bytes identify client and the least sig two bytes identify window. This should solve my problem. Thanks very much. Actually Xserver may divide XID to these two parts in any bit position. When an application

Re: What happened to the fonts?

2005-02-01 Thread Ivan Pascal
Marc Aurele La France wrote: I don't know enough about this stuff to answer. Perhaps someone else will, and deal with http://www.mail-archive.com/devel%40xfree86.org/msg06114.html. In the meantime I've backed out the change that's causing this. I investigated this issue. In one of next

Re: What happened to the fonts?

2005-02-02 Thread Ivan Pascal
Marc Aurele La France wrote: OK. This makes some sense to me. But should something like this be done to all affected locates? Yes. The same problem exists for all other locales (at least for 'iso8859 like' one-byte encodings). I made changes for all such locales and commited them. --

Small fix for XKB.

2005-04-11 Thread Ivan Pascal
Hello, I apologise for my slowness but I'd like to add small patch to Xserver XKB code. The thing is that the bug was already fixed long ago but then came back. The problem was reported in Bugzilla #1566. After some questions I found the symptoms are wellknown for me and I had fixed the bug

Re: Small fix for XKB.

2005-04-12 Thread Ivan Pascal
New patch (attached) is more correct and should not harm something. Looks OK to me. Is it needed for the second XkbAdjustGroup() call too? Yes. I did'n forget but tried to imagine when a negative value can appear there. (The bug reason is that the 'state' structure there keeps all fields as

Re: Fetching symbols information with XKBlib

2005-09-13 Thread Ivan Pascal
Hello, But I can't find a way to ask about current symbols. I just want to receive short description like 'ru' or 'en' (or any other information which may be used to identify current symbols) - is there a way to get it ? You can fetch names of groups that are symbolic names specified in