Re: learning X programming



Ross Maloney <rmatycorp@xxxxxxxxxxxx> writes:

The answer to this question depends on what you are trying to do. If
you want to use X to write applications, then I agree that Gtk, as
suggested by other respondents, is the way to go. But if you want to
have a deeper understanding of X, and in particular how the X protocol
operates to achieve the graphics, then Xlib, using the references that
you mention is the way to go.

OK, thanks. I don't like to read pdf files. On the other hand, 466 pages
is a lot to print out. What would be the best place to start in Xlib.pdf?

exploring the X protocol by programming in Xlib only, using none of the
higher level toolkits. This I hope to eventually give me a much better
appreciation of what X is capable of, without the filtering affects of
the toolkits. This approach, more of a research tool, leads to programs
that are a little longer in source code length than if using the
toolkits. I have seen nothing that I like at this level, so I have gone
my own way. As I have programmed I have written each program up:
although the programs work the write-up could have some bugs in it. If
you would like a copy of what I have, which are all in LaTeX format,
drop me a line.

Have you used CWEB for literate documentation of your programs?

I'm interested. The best thing for me would to be able to download
the tex files from a website.
--
Ignorantly,
Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx>
* Disclaimer: I am a guest and *not* a member of the MIT CSAIL. My actions and
* comments do not reflect in any way on MIT. Also, I am nowhere near Boston.
.