On Tue, 28 May 2002, Alan Coopersmith wrote: > Unfortunately, there is no API provided - the client side of the AccessX > protocol is completely embedded in the accessx client application. There
:/ > was minimal documentation released - I managed to get some of it from the > original authors (Earl Johnson, who still works for Sun, and Will Walker, > who used to work for DEC and now works for Sun) and have attached it below Thanks! :) I had given up all hope -- this is the second time you've been able to dig up documentation for me :))) > for whatever help that will be (it does include a protocol spec - note that > the library referred to was DEC's implementation, Sun never provided this > library as far as I can tell). > > The best news I can provide is that Sun is committed to the XKB extension > and is in the process of moving from the old AccessX extension to XKB in our > X server. I figured you (Sun) would be. Getting the documentation might be good enough for me, though... [exports it from pine, scp's it tohome machine, reading, reading, reading, "Aha, AccessX Protocol", mumble, mumble] Yes, I think sending an X_AccessXSelectInput request and then listening for XAccessXEvents with the subtype X_AccessXModifierXXXXXX might work :) (I'm writing a hack for text-mode = terminal applications that will enable them to distinguish between things like ctrl-left arrow and shift-ctrl-left arrow -- nice for selecting text in editors -- by using XKeyboard to get events every time the modifier keys change and keep the newest shift-state around in a variable which gets combined with whatever escape codes are read from stdin into a 16-bit keycode. It works well enough to be useful for XKeyboard and the terminal emulators I have tried it on. It's not combined with S-lang yet but it will be. In short, I wanted something similar to just reading the byte at 40h:17h under DOS. A similar hack for the Linux console (the same idea is also used by the Linux version of Turbo Vision and in RHIDE, a Turbo C++ IDE clone): http://www.linuxgazette.com/issue76/marinov.html A description of my hack: http://groups.yahoo.com/group/zepp/message/381 And a follow up with notes on another, grosser though unimplemented X hack: http://groups.yahoo.com/group/zepp/message/386 ) -Peter "My coffee is cold and I will sue all of you for that" - Jerzy Karczmarczuk _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
