From owner-freebsd-questions Wed Mar 26 06:30:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA11325 for questions-outgoing; Wed, 26 Mar 1997 06:30:33 -0800 (PST) Received: from obiwan.aceonline.com.au (obiwan.aceonline.com.au [203.103.90.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA11315 for ; Wed, 26 Mar 1997 06:30:21 -0800 (PST) Received: from localhost (adrian@localhost) by obiwan.aceonline.com.au (8.8.5/8.8.5) with SMTP id WAA29232; Wed, 26 Mar 1997 22:25:34 +0800 (WST) Date: Wed, 26 Mar 1997 22:25:33 +0800 (WST) From: Adrian Chadd To: Nadav Eiron cc: Zach Heilig , questions@freebsd.org Subject: Re: X11 programming... In-Reply-To: <3338D71E.16D2@barcode.co.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 26 Mar 1997, Nadav Eiron wrote: > Zach Heilig wrote: > > > > I know I should get a book, but I haven't figured out which of the available > > books are good. Any hints here would be appreciated (cost isn't really a > > very big issue; <= US$500 would be great). > > In that case, and if you're serious about programming X get O'Reilly's > series on teh subject. When I used to rpogram X (back in X11R3 days) > they were excellent. Take a look at: > > http://www.ora.com/publishing/unix/products.htm > > There's a series of about 9 books on the subject there. You can skip > volume 0 (unless you intent to write your own Xlib or XServer), volume 3 > (if you know how to *use* X) and volume 8 (if you know how to install > and configure X and its options). The rest (i.e. 1,2,4,5 and 6A-C for > Motif) are all that you need to program X. You can probably get those > books at better prices in other places too. > I have borrowed the X11R5 version of that series from someone, and they are extremely nice. :) Suggestion - grab xview. XView is very easy to program in, and I actually quite like the Openlook interface. Something like 20 lines of code (inc. #includes and comments) for an editor (noone say I'm cheating ok? :) If you would like some example code, mail adrian@ucc.gu.uwa.edu.au (my uni account) and ask me to send you some. Have fun, -- Adrian Chadd | UNIX, MS-DOS and Windows ... | (also known as the Good, the bad and the | ugly..)