Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2002 11:31:08 -0500
From:      stan <stanb@awod.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: mailcap syntax question
Message-ID:  <20020208163108.GD8193@teddy.fas.com>
In-Reply-To: <20020208154111.GD19456@roman.mobil.cz>
References:  <20020208151512.GA6785@teddy.fas.com> <20020208154111.GD19456@roman.mobil.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 08, 2002 at 04:41:11PM +0100, Roman Neuhauser wrote:
> > 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)

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020208163108.GD8193>