[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Side topic - X11 course.



On Tue, Jul 31, 2001, Hetz Ben Hamo wrote about "Re: Side topic - X11 course.":
> Also - you didn't tell what X? for Linux? The XFree86 is not the only 
> implementation of X you know - there are others like Sun's , HP, Xi's 
> version, SGI's versions, AIX and others. NOT all of them are up to the 
> standard (currently the X11 standard official version is R6.5.1 which XFree86 
> 4.1.0 is). Lots of other unices are way back in the X11R5 area...

Which doesn't matter in 99% of the cases.

X (the basic protocol, Xlib, Xt intrinsics, ICCCM) has changed very little in
the last 5 years (I could probably say the same with "10 years"). Most
programmers will never encounter any differences between X11R5 and X11R6.
Users of higher-level libraries (like Qt, gtk, Motif, etc.) should not
encounter any such differences at all.

Of course, if you're planning on using X "extensions", like DOUBLE-BUFFER,
RENDER, and so on, then these are not available on some X servers. Some
extensions are pretty standard (e.g., DOUBLE-BUFFER, SHAPE) but some are
specific to XFree86 (for example). Run xdpyinfo for a list of extensions your
server support. Again, higher-level libraries should shield you from using
such extensions directly. Remember that you sometimes compile and run a
program on a machine where an extension is available, but then set DISPLAY
to another machine which lacks support for the extension - your application
should continue to run gracefully, if possible.


-- 
Nadav Har'El                        |         Tuesday, Jul 31 2001, 11 Av 5761
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |If I am not for myself, who will be for
http://nadav.harel.org.il           |me? If I am only for myself, who am I?

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il