on Mon, Dec 30, 2002 at 04:16:50AM +0000, Colin Watson ([EMAIL PROTECTED]) wrote:
> On Sun, Dec 29, 2002 at 11:25:10PM -0500, Vikki Roemer wrote:
> > On Sun, Dec 29, 2002 at 03:33:23PM -0600, Lance Hoffmeyer wrote:
> > > Anyone setup surfraw? I am wondering how I can set it up
> > > so that the output is dumped to the screen instead of opening
> > > a browser, if possible? I search "google chili" and surfraw
> > > opens "links" with the results. I would prefer results to scroll
> > > the screen like "dict chili". Will surfraw do this or will
> > > I need to try and hack it?
> >
> > AFAIK, it needs a browser. That's its nature, it starts the google
> > search for you and then hands you the browser to go where you want.
>
> You could alter the browser to be something like 'w3m -dump', though ...
That doesn't work, I tried with 'lynx -dump'. Surfraw doesn't take
options to the browser command.
Looking at /etc/surfraw.conf, though, I note that there is a line:
def SURFRAW_text_browser_args none
...which is awfully suggestive, if you ask me ;-)
Peace.
--
Karsten M. Self <[EMAIL PROTECTED]> http://kmself.home.netcom.com/
What Part of "Gestalt" don't you understand?
Geek for hire: http://kmself.home.netcom.com/resume.html
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]