Re: Lynx/w3m
Thus spake Robt. Miller:
>
> Sorry, it _is_ the .mailcap not .muttrc - I'm jumping around a lot
> here.
What is ctrl-b associated with? I'm not sure what the default is, but
in my .muttrc, I have
macro pager \cb '<pipe-message>urlview<enter>'
macro index \cb '<pipe-message>urlview<enter>'
Then in my .urlview
REGEXP (((https?|ftp|gopher)://|(mailto|file|news):)[^'
\t<>"]+|(www|web|w3)\.[-a-z0-9.]+)[^' \t.,;<>"\):]
COMMAND ~/bin/run_browser %s
Where run_browser is:
#!/bin/sh
if [ "$TERM" = "linux" ]
then
w3m $@
else
~/bin/mozilla.sh $@ > /dev/null 2>/dev/null &
fi
Hope that helps a bit.
Al