From owner-freebsd-questions Tue Mar 25 22:28:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA19709 for questions-outgoing; Tue, 25 Mar 1997 22:28:33 -0800 (PST) Received: from superior.mooseriver.com (ppp010-sm2.sirius.com [205.134.231.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA19698 for ; Tue, 25 Mar 1997 22:28:28 -0800 (PST) Received: (from jgrosch@localhost) by superior.mooseriver.com (8.7.6/8.7.3) id WAA28693; Tue, 25 Mar 1997 22:28:10 -0800 (PST) From: Josef Grosch Message-Id: <199703260628.WAA28693@superior.mooseriver.com> Subject: Re: X11 programming... In-Reply-To: <19970325201750.16289@gaffaneys.com> from Zach Heilig at "Mar 25, 97 08:17:50 pm" To: zach@blizzard.gaffaneys.com (Zach Heilig) Date: Tue, 25 Mar 1997 22:28:10 -0800 (PST) Cc: questions@FreeBSD.ORG Reply-To: jgrosch@sirius.com X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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). > >So, I thought I would see how far I could go just reading the man pages. >Basically, I am just trying to get a window (white... or actually _any_ >background) up on the screen. This is as far as I have gotten, but I just >can't seem to get the window to display. I don't get any compile errors or >run-time errors (anymore :-), but still I get nothing. I wonder what I am >missing? > [ DELETED ] You have missed several steps. Please go and buy the following books. You will save yourself a lot of grief if you read and understand the examples in the books. 1. Motif Programming by Marshall Brain 2. X Windows System Programming by Naba Barkakati 3. Motif Programming Manual, Vol. 6(A|B) by Dan Hellar & Paula Ferguson You also should buy Motif for FreeBSD from XI Graphics. Their URL is http://www.xinside.com. You will find it much less painful if you program at the X Toolkit level instead of working at the Xlib level. Josef -- Josef Grosch | Laugh while you can, monkey boy ! | FreeBSD 2.1.6 jgrosch@sirius.com | - John Warfin - | UNIX for the masses