From owner-freebsd-questions Fri Feb 8 8:30:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sumter.awod.com (sumter.awod.com [208.140.99.1]) by hub.freebsd.org (Postfix) with ESMTP id 228E537B41E for ; Fri, 8 Feb 2002 08:30:52 -0800 (PST) Received: from teddy.fas.com (pcp01008475pcs.mplsnt01.sc.comcast.net [68.58.200.215]) by sumter.awod.com (8.8.7/8.12.2) with ESMTP id LAA76211 for ; Fri, 8 Feb 2002 11:30:50 -0500 (EST) (envelope-from stanb@awod.com) Received: from stan by teddy.fas.com with local (Exim 3.33 #1 (Debian)) id 16ZDvc-0002B6-00 for ; Fri, 08 Feb 2002 11:31:12 -0500 Date: Fri, 8 Feb 2002 11:31:08 -0500 From: stan To: Free BSD Questions list Subject: Re: mailcap syntax question Message-ID: <20020208163108.GD8193@teddy.fas.com> Mail-Followup-To: Free BSD Questions list References: <20020208151512.GA6785@teddy.fas.com> <20020208154111.GD19456@roman.mobil.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020208154111.GD19456@roman.mobil.cz> User-Agent: Mutt/1.3.25i X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.17 X-Uptime: 11:16:31 up 4 days, 16:51, 1 user, load average: 0.16, 0.03, 0.01 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 08, 2002 at 04:41:11PM +0100, Roman Neuhauser wrote: > > Date: Fri, 8 Feb 2002 10:15:12 -0500 > > From: stan > > To: Free BSD Questions list > > Subject: mailcap syntax question > > > > I'm trying to set up /usr/local/etc/mailcap such that mutt can display > > excel spreadsheets corectly. Gnumeric does a nice jobe of this, but I seem > > to be having a hard time getting it to work via mailcap. > > > > Here is what I'v tried, what am I doing wrong? > > > > applica/vnd.ms-exc; /usr/X11R6/bin/gnumeric '%s'; ... > ^^^^^^^^^^^^^^^^^^ > don't trust mutt what it tells you about the mime type. it *trims* > the string according to a variable whose name I can't recall ATM. > it's probably application/vnd.ms-excel > > you will prolly want to look in /usr/local/etc/mime.types in the future > > btw, doesn't the mutt manual explicitly tell you to *not* put the %s > expando in single quotes? (I might be confusing this with urlview) Thanks, indeed, that fixd the problem. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message