[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: surfraw



on Sun, Dec 29, 2002 at 03:33:23PM -0600, Lance Hoffmeyer (lance@augustmail.com) 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?

Edit /etc/surfraw.conf changing the value of SURFRAW_text_browsre to
mysurfraw.

Create a file 'mysurfraw' on your path with the following content:

    #!/bin/sh
    export PATH=/usr/bin:/bin
    lynx -dump $@

...and make it executable.

Should work, does for me.

Frankly, I'd far prefer using w3m as my surfraw browser, as it's then
possible to follow links, etc.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html



Reply to: