From owner-freebsd-questions@FreeBSD.ORG Mon Oct 30 20:40:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8424216A412 for ; Mon, 30 Oct 2006 20:40:07 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33B7F43D6A for ; Mon, 30 Oct 2006 20:39:57 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id k9UKds7U057543; Mon, 30 Oct 2006 12:39:54 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id k9UKdr2d057542; Mon, 30 Oct 2006 12:39:53 -0800 (PST) (envelope-from kline) Date: Mon, 30 Oct 2006 12:39:52 -0800 From: Gary Kline To: Frank Shute Message-ID: <20061030203952.GA57418@thought.org> References: <45451426.4080003@thought.org> <20061030004455.GA87762@melon.esperance-linux.co.uk> <20061030030050.GC39711@thought.org> <20061030130250.GA94669@melon.esperance-linux.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061030130250.GA94669@melon.esperance-linux.co.uk> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: things-Mail: update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 20:40:07 -0000 On Mon, Oct 30, 2006 at 01:02:50PM +0000, Frank Shute wrote: > On Sun, Oct 29, 2006 at 07:00:50PM -0800, Gary Kline wrote: > > > > On Mon, Oct 30, 2006 at 12:44:55AM +0000, Frank Shute wrote: > > > > > > You can get mutt to launch embedded URLs in a browser by installing > > > urlview and setting up your mailcap. Just thought I'd mention it. > > > > > > > > > > > WOW! Where is urlview and what exactly do I add to ~/.mailcap?? > > Urlview is in ports: textproc/urlview > > Looking at the urlview manpage, it looks like I was mistaken and it > has nothing to do with mailcap but you need the following in > ~/.urlview: > > COMMAND /usr/X11R6/bin/firefox %s > > Then when you hit Ctl-b in mutt you're presented with a list of pages > extracted from the e-mail that you can then scroll through and open in > the browser. I don't think I had to do anything to my .muttrc > > Voila! No more cut and pasting - took me years before I found it :( > > As for mailcap, it's useful if you get attachments to your mail so at > a minimum you want this in ~/.mailcap > > text/html;/usr/X11R6/bin/firefox %s > application/pdf;acroread %s > application/msword;antiword %s | less > application/postscript;gview %s > image/gif;xv %s > image/jpeg;xv %s > image/png;xv %s > After messing with this for an hour it finally works. My initial fumbles were that the scipt in /usr/local/bin, url_handler.sh defaults to netscape; then lynx. ... . Anyway, one detail is that whereis finds mozilla and firefox in /usr/local/bin, not X11R6. So I changed both my ~/.mailcap and /usr/local/bin/url_handler:: from "netscape" to "firefox". Now thing work as expected. With mutt, files are saved to ~/Mail/, ^b gives a list of URL's and mailto's. The urlview defaults are such that no ~/.urlview nor /usr/local/etc/usrview.conf are necessary. gary > Then mutt can deal with the attachment appropriately. > > > > > thanks much, > > No worries. > > > > > gary > > > > PS: I wish there were a GUI/HTML-version of mutt that uses > > vi and,more imporatant, save mail in ~/Mail .... *but*.... > > ******. > > I prefer programs that can work without X and I run qmail so prefer > Maildirs. You could probably get mutt to use gvim as an editor if > that's any help. > > You should be also able to get your browser to use mutt for mailto: in > html pages. I can tell you how to do that for firefox, I think. > > Another thing to get going with mutt (if you're dealing with a lot of > mail) is procmail. You can set up a bunch of maildirs and sort your > mail into each one to then be read by mutt at your leisure. > > -- > > Frank > > > echo "f r a n k @ e s p e r a n c e - l i n u x . c o . u k" | sed 's/ //g' > > --->PGP keyID: 0x10BD6F4B<--- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org www.thought.org Public service Unix