Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!GROUCH.JPL.NASA.GOV!PJS From: PJS@GROUCH.JPL.NASA.GOV (Peter Scott) Newsgroups: comp.windows.x Subject: Beginning use of Xlib Message-ID: <890417132825.000005B7261@grouch.JPL.NASA.GOV> Date: 17 Apr 89 21:28:25 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 15 Hi, I've just joined this list and also just started delving into X. We have V11R3 on a Sun-3 with uwm and Xtk; I want first of all to write programs using Xlib only, not the toolkit. The only text I have on Xlib is "X Window System", by Scheifler, Gettys, Newman. Unfortunately it includes zero examples, and my simple, 150-line Hello World program produces no errors, no crashes or hang-ups, but also no output. My question: what is a good text for learning how to write in Xlib, with examples? The supplied source code is no good because (1) it uses the toolkit, which I don't want to get into yet, and (2) it is poorly commented. Also, is it the case that I shouldn't have to know anything about uwm and/or the toolkit in order to get programs that just call Xlib working? Peter Scott (pjs@grouch.jpl.nasa.gov)