From owner-freebsd-hackers Sun Nov 4 11: 0:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from kitkat.hotpop.com (kitkat.hotpop.com [204.57.55.30]) by hub.freebsd.org (Postfix) with ESMTP id 9AF4637B417 for ; Sun, 4 Nov 2001 11:00:53 -0800 (PST) Received: from hotpop.com (unknown [204.57.55.31]) by kitkat.hotpop.com (Postfix) with SMTP id 7F1E631E4E for ; Sun, 4 Nov 2001 19:00:54 +0000 (UTC) Received: from hotpop.com (shiva-dhcp-65.dial.upmc.edu [128.147.34.65]) by zagnut.hotpop.com (Postfix) with SMTP id 8F86B50013; Sun, 4 Nov 2001 19:00:54 +0000 (UTC) Date: Sun, 4 Nov 2001 13:56:01 -0500 From: Rod Person To: Alfred Perlstein Cc: freebsd-hackers@freebsd.org Subject: Re: Trying to learn X programming. Message-Id: <20011104135601.2e5e9bbf.roddierod@hotpop.com> In-Reply-To: <20011104122441.B89342@elvis.mu.org> References: <20011104110559.4cf7d0b0.roddierod@hotpop.com> <20011104122441.B89342@elvis.mu.org> Reply-To: roddierod@hotpop.com Organization: Open Source Beef X-Mailer: Sylpheed version 0.6.3 (GTK+ 1.2.8; i386--freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks. That compiled but of course trying to use it generates core dumps. Damn linux code :) Rod It was Sun, 4 Nov 2001 12:24:41 -0600 and I don't really know but somebody said: > * Rod Person [011104 10:11] wrote: > > This is a little Linux code that changes resolution of X on the fly. > > > > There seems to be some differences in the Linux and FreeBSD use of > XOpenDisplay. I read the man pages and tried changing the code a few > different ways but it won't compile. Here's how I try to compile.... > > > > gcc -o wmres wmres.c -I/usr/X11R6/include -IXmu -IX11 > > > > Any pointers or a good reference on the web somewhere. All I have are > man pages and code at this point. > > gcc -o wmres wmres.c -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext > -lXxf86vm > > -Alfred > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message roddierod@hotpop.com http://storm.prohosting.com/osbeef/osbeef.htm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message