Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 09:13:12 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        mark rowlands <mark.rowlands@mypost.se>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   RE: the most light weight X web browser?
Message-ID:  <20040509084731.K18445@wonkity.com>
In-Reply-To: <4789E43478F3994BB8D967C73FD9C68850C8@exchsrv1>
References:  <4789E43478F3994BB8D967C73FD9C68850C8@exchsrv1>

next in thread | previous in thread | raw e-mail | index | archive | help
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'.

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040509084731.K18445>