Date: Tue, 11 May 2004 18:15:22 +0800 From: Robert Storey <y2kbug@ms25.hinet.net> To: freebsd-questions@freebsd.org Subject: Re: the most light weight X web browser? Message-ID: <20040511181522.4b914651.y2kbug@ms25.hinet.net> In-Reply-To: <20040509084731.K18445@wonkity.com> References: <4789E43478F3994BB8D967C73FD9C68850C8@exchsrv1> <20040509084731.K18445@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <wblock@wonkity.com> 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'. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040511181522.4b914651.y2kbug>