summaryrefslogtreecommitdiffstats
path: root/debian/patches/openurl.pl.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/openurl.pl.diff')
-rw-r--r--debian/patches/openurl.pl.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/openurl.pl.diff b/debian/patches/openurl.pl.diff
new file mode 100644
index 0000000..faf9d88
--- /dev/null
+++ b/debian/patches/openurl.pl.diff
@@ -0,0 +1,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"' },
+ );