From owner-freebsd-questions Fri Feb 8 7:30: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id DB89737B41B for ; Fri, 8 Feb 2002 07:29:49 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g18FTmc02281 for ; Fri, 8 Feb 2002 16:29:48 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2002020816264260:414 ; Fri, 8 Feb 2002 16:26:42 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g18FfBb29266 for freebsd-questions@freebsd.org; Fri, 8 Feb 2002 16:41:11 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Fri, 8 Feb 2002 16:41:11 +0100 From: Roman Neuhauser To: Free BSD Questions list Subject: Re: mailcap syntax question Message-ID: <20020208154111.GD19456@roman.mobil.cz> Mail-Followup-To: Free BSD Questions list References: <20020208151512.GA6785@teddy.fas.com> Mime-Version: 1.0 In-Reply-To: <20020208151512.GA6785@teddy.fas.com> User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 02/08/2002 04:26:42 PM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 02/08/2002 04:26:48 PM, Serialize complete at 02/08/2002 04:26:48 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > 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) -- FreeBSD 4.4-STABLE 4:36PM up 18 days, 22:59, 17 users, load averages: 0.03, 0.04, 0.06 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message