From owner-freebsd-libh Tue Oct 22 10:37:28 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E83737B401 for ; Tue, 22 Oct 2002 10:37:26 -0700 (PDT) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EBA143E3B for ; Tue, 22 Oct 2002 10:37:26 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 21720 invoked from network); 22 Oct 2002 17:37:26 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 22 Oct 2002 17:37:26 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g9MHbOn5063847; Tue, 22 Oct 2002 13:37:24 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021022172422.GA3492@xtanbul.espresso-com.com> Date: Tue, 22 Oct 2002 13:37:27 -0400 (EDT) From: John Baldwin To: The Anarcat Subject: Re: rhtvision links against X11 Cc: Libh Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 22-Oct-2002 The Anarcat wrote: > On Tue Oct 22, 2002 at 09:46:53AM -0400, John Baldwin wrote: >> >> On 22-Oct-2002 The Anarcat wrote: >> > What a mess. >> > >> > We use rhtvision to provide a X-less installer and routines. >> > >> > I just discovered the unimaginable: >> > >> > /usr/local/lib/librhtv.so.2: >> > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281a3000) >> > libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2825f000) >> > libncurses.so.5 => /usr/lib/libncurses.so.5 (0x28274000) >> > libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x282b5000) >> > libm.so.2 => /usr/lib/libm.so.2 (0x282fa000) >> > libc.so.4 => /usr/lib/libc.so.4 (0x28069000) >> > libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28315000) >> > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28317000) >> > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28361000) >> > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x2836a000) >> > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28380000) >> > >> > rhtvision seems to require X. Yay. That sucks. >> > >> > I've explored rhtvision's example programs a bit, and they have a X11 >> > driver *by default*. That means they popup a X-window and don't >> > display in the terminal you called them in if DISPLAY is set. >> > >> > These demos, by the way, work pretty well *except* in TTY mode. In a >> > tty, they just *ignore* any input, apparently, so rhtvision is just >> > plain borked, in FreeBSD, at least. >> > >> > And to make things even worse, this doesn't even fix the compilation >> > issue. Liking against X and all those libs when linking the text build >> > doesn't help much. >> > >> > I'm still trying to figure out if it's possible to build a X-less >> > rhtvision under FreeBSD and have it work. If not, we'll have to port >> > tvision to GCC 3.x, or scrap the tvision approach altogether and turn >> > to another text mode backend. DlDialog, maybe? >> >> It shouldn't be that hard to forward port tvision to ANSI C++. > > Indeed. Are you volunteering? Well, I can do it if needed. :) > Seriously, you're right. I was thinking of trying to find a solution > to the build problems against rhtv, but then I would have to fix rhtv > to not use X anyways. > > I'll see what I can do about tvision. Is it actively maintained? Not that I'm aware of. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message