Re: graphics functions under unix...

From: Logan Shaw (lshaw-usenet_at_austin.rr.com)
Date: 08/30/03


Date: Sat, 30 Aug 2003 19:45:50 GMT

Martin Dickopp wrote:
> I don't know in which of the five newsgroups Malcolm read the original post,
> but "here" in comp.lang.c, everything not defined by the ISO C standard is
> cosidered non-standard. Therefore, libX11 *is* non-standard in the context
> of comp.lang.c.

True, and I don't really have any idea why comp.lang.c would have
been included in the first place, except that maybe the original
poster isn't clear on the difference between a language and a library.

However, the original article was posted to comp.unix.solaris and
comp.unix.programmer, so in the context of "C and Unix",
anything that exists on most Unix systems is probably fair game.
(Everybody has something different in mind when they say "standard".)

> That said, I think it is in fact possible to write a strictly conforming C
> program which opens windows, draws buttons and menus, etc., on an X server.
> Just implement the X protocol, and run the program in such a way that
> standard input and standard output are network connections to the X server.

Oh sure, sounds like a fun Labor Day weekend project... :-)

   - Logan


Quantcast