You have probably seen some of my updates to http://bugs.xfree86.org/cgi-bin/bugzilla/show_bug.cgi?id=43 on getting a keyboard macro facility in X.
I've downloaded a recent tarball of X (I guess the first two week snapshot) and I'm starting to try to find my way around. Are there any resources on doing so? Any explanations of how the tree is laid out, etc., etc., etc.? I do have some specific questions: I've found the documentation under /xdev/xc/doc/specs/Xserver. Some of the documents end in .doc (XprtIX.doc XprtTOC.doc). I've tried to open them in a Open Office 1.0.1 (oowriter), Word 97, and Word 6 (for Windows (the Word that came with what I call Office95, the predecessor of Office97). No luck, but the files do look vaguely like they might be word files. Anyone know what I can use to read them? I've read a little bit of: * proto.ps ? "X Window System Protocol", "X Version 11, Release 6.4" (I was at about page 84 (browsing and skimming) * allchaps.ps ? "The X Keyboard Extension, Library Specification", "Library Version 1.0, Document Revision 1.1" (I was at about page 5 (browsing)) And I'm starting to read: * ddx.tbl.ms -- "Definition of the Porting Layer for the X v11 Sample Server" -- I think -- I'm reading it in nedit and see all the raw formatting codes like .TL (is that nroff or groff -- is there something better to read the stuff in?) * "Xlib - C Language X Interface", "X Version 11, Release 6.4" (Jim Gettys) -- reading this in xpdf, and it's not too bad reading (see next item) * started reading a few .ps files using Ghostview -- the combination of the fonts (magnified to 2 x) and the navigation (needing to recenter with that wierd thingie at the start of each new page) gave me a headache. Any recommendations on better (Linux) tools to read postscript files? I also did some grepping through the code. One purpose was to try to find the main() representing the start of code for the X server. Can anybody tell me what file to start in? I also grepped for files in the tree that contained "kbd" or "keyboard" -- the programs that I found (like kbd.c) seemed to be mainly for setting up the keyboard rather then actually doing anything with keyboard events -- I really wanted to find where the keyboard events are created and/or sent to the X client. PS: If these questions seem pretty dumb or off the mark, I've never really programmed in c before. Sooner or later I'll try to compile the code and run through some of it with gdb or some similar debugging / stepping tool. (Would kylix work -- I got a copy of that (probably a demo) at the last Linux expo in New York.) Are any tools like ctags, bonzai (whatever that is), Leo, or something similar used by X developers (and available to might be developers)? Any suggestions to make this easier are welcome! I am trying to maintain notes of this saga, some on bugzilla bug 43, more on Wikilearn page http://twiki.org/cgi-bin/view/Wikilearn/XServerModificationProject and dated pages linked from there. Thanks, Randy Kramer PS: I did think about splitting this up into separate emails, and sending them on Monday in hopes of getting more attention. Whatever questions don't elicit a response I'll re-ask in separate emails next week. _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86