Date: Fri, 8 Feb 2002 16:41:11 +0100 From: Roman Neuhauser <neuhauser@mobil.cz> To: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: Re: mailcap syntax question Message-ID: <20020208154111.GD19456@roman.mobil.cz> In-Reply-To: <20020208151512.GA6785@teddy.fas.com> References: <20020208151512.GA6785@teddy.fas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Fri, 8 Feb 2002 10:15:12 -0500 > From: stan <stanb@awod.com> > To: Free BSD Questions list <freebsd-questions@freebsd.org> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020208154111.GD19456>