If you're a mutt user (a very popular terminal-based email application) and you would like to open URLs from your emails in Safari as opposed to viewing them with lynx or elinks (neither is bundled with OS X), here's what you can do:
- Get urlview either from source or fink if you don't already have it
- Compile from source: The usual "./configure; make" works fine on OS X. Then cp urlview to somewhere that's in your $PATH (I installed it under $HOME/bin)
- Fink: Just make sure /sw/bin is in your $PATH
- Compile from source: The usual "./configure; make" works fine on OS X. Then cp urlview to somewhere that's in your $PATH (I installed it under $HOME/bin)
- Add this to your .muttrc:
macro index cb |urlviewn 'call urlview to extract URLs out of a message' macro pager cb |urlviewn 'call urlview to extract URLs out of a message'
- Create $HOME/.urlview and put this line in there:
COMMAND open %s
- Re-launch mutt or source .muttrc; use Ctrl-b to list your URLs; press enter to select/open it in Safari (or your default web browser)
•
[10,499 views]

