mutt doesn't really need to require urlview. Once again it's nice but not required. Attached is a patch that fixes the macro in the Muttrc to check to see if urlview is installed and if not suggest that the user install it if they try to use the macro.
-- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org We tend to see all wars through the lens of the current conflict, and we mine history for lessons convenient to the present purpose. - Brian Hayes
--- Muttrc.orig 2002-07-15 23:48:30.000000000 -0700 +++ Muttrc 2002-07-15 23:48:38.000000000 -0700 @@ -11,8 +11,8 @@ macro index \eb '/~b ' 'search in message bodies' # simulate the old url menu -macro index \cb |urlview\n 'call urlview to extract URLs out of a message' -macro pager \cb |urlview\n 'call urlview to extract URLs out of a message' +macro index \cb "|( [ -x /usr/bin/urlview ] && urlview ) || echo \"urlview is not +installed, run \"urpmi urlview\" to install it.\"\n" 'call urlview to extract URLs +out of a message' +macro pager \cb "|( [ -x /usr/bin/urlview ] && urlview ) || echo \"urlview is not +installed, run \"urpmi urlview\" to install it.\"\n" 'call urlview to extract URLs +out of a message' # Show documentation when pressing F1 macro generic <f1> "!less /usr/share/doc/mutt-1.4i/manual.txt\n" "Show Mutt documentation"
