From owner-freebsd-questions@FreeBSD.ORG Tue May 11 03:18:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57F3A16A4CE for ; Tue, 11 May 2004 03:18:09 -0700 (PDT) Received: from msr56.hinet.net (msr56.hinet.net [168.95.4.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E60043D3F for ; Tue, 11 May 2004 03:18:08 -0700 (PDT) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-83.dynamic.hinet.net [61.227.219.83]) by msr56.hinet.net (8.9.3/8.9.3) with SMTP id SAA21439 for ; Tue, 11 May 2004 18:18:05 +0800 (CST) Date: Tue, 11 May 2004 18:15:22 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040511181522.4b914651.y2kbug@ms25.hinet.net> In-Reply-To: <20040509084731.K18445@wonkity.com> References: <4789E43478F3994BB8D967C73FD9C68850C8@exchsrv1> <20040509084731.K18445@wonkity.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: the most light weight X web browser? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: y2kbug@ms25.hinet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 10:18:09 -0000 Dear Warren, I followed your advice about compiling Links so that it could run in graphics mode without X. This is REALLY COOL - one of the best tips I've received in a long time, and I thank you for it. However, I've run into one little glitch. As root, it works fine, but as a regular user, when I type: links -g -mode 640x480x16 I get this error message: svgalib: Cannot get I/O permissions. No doubt it's a permissions error, but I'm not sure which/where permissions I should change. Any ideas? TIA & best regards, Robert On Sun, 9 May 2004 09:13:12 -0600 (MDT) Warren Block wrote: > On Sun, 9 May 2004, mark rowlands wrote: > > > poot@rcmaprxy : /web1/web1: 03:16 PM: > > links -version > > Links 2.1pre14 > > poot@rcmaprxy : /web1/web1: 03:17 PM: > > links -help > > links [options] URL > > Options are: > > > > -g > > Run in graphics mode. > > But the next few lines of the man page say that only works if > --enable-graphics was given to ./configure when compiling links. In the > port's Makefile it only turns on --enable-graphics if you compile it for > X. (More specifically, it only turns on --enable-graphics if > -DWITHOUT_X11 is not defined.) > > So to run it without X but with graphics, you'll have to modify the > Makefile or just manually compile links. > > Just out of curiousity, I tried it just now. A quick hack to make it > work: > > Make sure you have svgalib installed (/usr/ports/devel/svgalib). > Remove the --without-svgalib from the first CONFIGURE_ARGS line. > Add --enable-graphics to the same line. > Remove the whole .if !defined(WITHOUT_X11) ... .endif section. > Run it with 'links -g -mode 640x480x16'. >