[18352] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: sun4 [8.4.12]: show/mime

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Wed Sep 27 01:48:42 2000

Message-Id: <200009270548.BAA18678@hodge-podge.mit.edu>
To: Jonathon Weiss <jweiss@MIT.EDU>
cc: bugs@MIT.EDU, zacheiss@MIT.EDU
In-Reply-To: Your message of "Tue, 26 Sep 2000 19:31:33 EDT."
             <200009262331.TAA29753@speaker-for-the-dead.mit.edu> 
Date: Wed, 27 Sep 2000 01:48:38 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>

	So, what you saw is that it's not possible to always distinguish
between msword files and excel files with file, which is what we use.

[zacheiss@hodge-podge] ~/sipb> file -m /mit/mimeutils/share/magic.mime Metrics_for_1_21_2000.xls
Metrics_for_1_21_2000.xls: application/msword

	This means that show-binhex ends up tossing the file to
show-msword.  There is code in show-msword to tet and detect xls files
and use show-excel to show them, and the reason it's failing is because
the string "Microsoft Excel" doesn't appear in the output of `strings
filename` for your attachment.  I haven't seen a file like that before,
so I'd need to take a look at it before deciding if there's a reasonable
way to fix this.

Garry


home help back first fref pref prev next nref lref last post