From owner-freebsd-questions Mon Aug 25 17:46:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25060 for questions-outgoing; Mon, 25 Aug 1997 17:46:00 -0700 (PDT) Received: from xmission.xmission.com (softweyr@xmission.xmission.com [198.60.22.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA25055 for ; Mon, 25 Aug 1997 17:45:54 -0700 (PDT) Received: (from softweyr@localhost) by xmission.xmission.com (8.8.5/8.7.5) id SAA07680; Mon, 25 Aug 1997 18:45:44 -0600 (MDT) From: Wes Peters - Softweyr LLC Message-Id: <199708260045.SAA07680@xmission.xmission.com> Subject: Re: Writing an X app To: 026809r@dragon.acadiau.ca (Michael Richards) Date: Mon, 25 Aug 1997 18:45:43 -0600 (MDT) Cc: questions@freebsd.org In-Reply-To: <199708251622.NAA01357@dragon.acadiau.ca> from "Michael Richards" at Aug 25, 97 01:22:22 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am going to write an X app, but I don't know what to use. Is XLib common? > I have access to documentation for it. Does anyone know where I can get XLib > for freebsd? Xlib is included with the XFree86 distribution, if you install the X developer support. It also includes the Athena Widgets Toolkit and various other developer support libraries. > If XLib is not the standard, what is? Oooh, X standards, now that's a bag of worms. For developing small applications, the Athena toolkit might be OK. It's pretty unweildy. Xlib would be like writing the application in assembler, unless it is really tiny. I'd look into one or more toolkits. I've used the V toolkit for a couple of itty bitty apps, and one relatively big one I've been working on for far too long now. I like the toolkit, and it configures easily on FreeBSD. Just edit the top-level makefile, make a FreeBSD target from the SunOS, and type make. One of these days I really should contribute this to FreeBSD as a port and/or package. If I just had more 'round tuits!' -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com