Description: Changed hardcoded w3m to sensible-browser in openurl.pl, but ncftp and mutt remain Forwarded: not-needed Author: Florian Ernst Last-Update: 2004-02-29 --- a/scripts/openurl.pl +++ b/scripts/openurl.pl @@ -26,7 +26,7 @@ $recent = 1; # RegExp & defaultcommands -%urltypes = ( http => { regexp => qr#((?:https?://[^\s<>"]+|www\.[-a-z0-9.]+)[^\s.,;<">\):])#, cmd => 'w3m "$1"' }, +%urltypes = ( http => { regexp => qr#((?:https?://[^\s<>"]+|www\.[-a-z0-9.]+)[^\s.,;<">\):])#, cmd => 'sensible-browser "$1"' }, ftp => { regexp => qr#((?:ftp://[^\s<>"]+|ftp\.[-a-z0-9.]+)[^\s.,;<">\):])#, cmd => 'ncftp "$1"' }, mail => { regexp => qr#([-_a-z0-9.]+\@[-a-z0-9.]+\.[-a-z0-9.]+)#, cmd => 'mutt "$1" -s "$2"' }, );