summaryrefslogtreecommitdiffstats
path: root/debian/patches/openurl.pl.diff
blob: faf9d88244294914a0d6076fbd33c3ec2d9b020c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Changed hardcoded w3m to sensible-browser in openurl.pl, but ncftp and  mutt remain
Forwarded: not-needed
Author: Florian Ernst <florian_ernst@gmx.net>
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"' },
 	    );