<<< Date Index >>>     <<< Thread Index >>>

Re: url view w/ lynx



hi noir (is this your name?)!

i'm not sure how to change this in your muttrc. what i did is the following:

cp /usr/share/doc/urlview/examples/sample.urlview ~/.urlview
nano .urlview

change COMMAND url_handler.sh to #COMMAND url_handler.sh and comment out 
#COMMAND lynx %s ...

or add the following line for use within X11:
COMMAND /bin/x-terminal-emulator -fn 9x15 -bg black -fg white -name lynx -T 
Lynx -e lynx %s

to use it in X11 and within the terminal you might need to write some hack or 
wait
until someone else posts a better solution...


COMMAND .urlview-`if [ "$TERM" = "linux" ] ; then echo linux ; else echo 
default ; fi`

in .urlview-default goes:
x-terminal-emulator -fn 9x15 -bg black -fg white -name lynx -T Lynx -e lynx %s

and in .urlview-linux goes: lynx %s

hope this helps...

cheerio
/pablo

On Sun, Dec 21, 2003 at 12:29:31AM +0600, Noir wrote:
> I want to view urls from the mails w/ lynx and for this I have done:
> 
> set web_browser="lynx %s" or even set web_browser="/path/to/lynx %s". BUT it
> gives the error of unknown variable.
> 
> Any kind of help would be much appreciated.

-- 
Pablo Hoertner <pablo@xxxxxx> | LONG LIVE THE RED PENGUIN AND THE
http://redtux.lefant.net/     | SOCIALIST WORKERS' WORLD REVOLUTION!

Attachment: signature.asc
Description: Digital signature