At 8:05 Uhr -0500 17.01.2003, Gregory Seidman wrote:
As an enhancment to this, I would strongly suggest to install the "launch" package which is superior to Apple's "open" command in every regard. To open URLs with it, you can do "launch -l http://bla.com", so the above COMMAND probably would becomeAdrian Simmons sez: } I've been playing with various e-mail clients recently in particular } looking at how the deal with mailing list mail, and am wondering about } installing Mutt via fink. } } The only thing that is troubling me is how to have a url in an e-mail } open up in an aqua based web browser, say Mozilla for OSX. Is that } possible? And what do you do to make it work? (aside from cut and paste!)Mutt depends upon urlview to find URLs in a mail message and launch them. Urlview uses a .urlview file to decide what pattern should match an URL and what command should be run to launch it. My .urlview file looks like this on a (non-MacOS) unix system: EXPERT REGEXP ((((ht|f)tp)|https|file|mailto):(//)?[^ >"]*|www.[-a-z0-9.]+)[^ .,;>">] COMMAND remotens '%s' I wrote a script named remotens specifically for the purpose (and I don't remember what EXPERT does), but you will probably find that you want: COMMAND open '%s' ...which will cause whatever your default browser is to open the URL. You may want to wrap it in a script to do something more clever. In the meantime, man open.
COMMAND launch -l '%s'
launch also has many other nifty features, for example to open a picture with GraphicConverter, you can do:
launch -c GKON MyPicture.jpg
Cheers,
Max
--
-----------------------------------------------
Max Horn
Software Developer
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
