ports/textproc/urlview/files/patch-sample.urlview
Chris Rees 04d5606303 Handle alternative browsers correctly.
PR:		ports/152453
Submitted by:	Stefan Thurner <thurners@nicsys.de> Test Rat <ttsestt@gmail.com>
Approved by:	Anton Shterenlikht <mexas@bristol.ac.uk> (maintainer)
2011-08-15 15:19:39 +00:00

25 lines
852 B
Text

--- sample.urlview~
+++ sample.urlview
@@ -3,7 +3,6 @@
# man urlview <Man page>
#
# Put this file in: $HOME/.urlview
-# Put url_handler.sh in: /usr/bin
#
# You can call 'urlview' while in 'mutt' by pressing the Ctrl b keys.
# Put these macros in your $HOME/.muttrc file.
@@ -19,10 +18,8 @@
#REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
-# Command to invoke for selected URL. Use lynx, netscape, or url_handler.sh
-# shell script.
-
-#COMMAND lynx %s
-#COMMAND netscape -remote 'openURL(%s)'
-COMMAND url_handler.sh
+# Command to invoke for selected URL.
+#COMMAND lynx %s # :VT
+#COMMAND u=%s; xterm -e lynx $u || lynx $u # :XT
+#COMMAND firefox %s 2>/dev/null & # :XW