Two mutt issues
Miki Tebeka
miki.tebeka@zoran.com
Sat Dec 27 02:40:00 GMT 2003
Hello Igor,
> > > I have two problems using mutt on cygwin:
> > > 1. I've used this mailcap file:
> > > application/*; cygstart %s
> > > image/*; cygstart %s
> > > text/*; cygstart %s
> > > video/*; cygstart %s
> > >
> > > But it doesn't seem to work, when I try to open a Word attachment it says
> > > it's corrupted. When I save it and open it from the explorer it looks OK.
> >
> > I'd bet this one is a text/binary issue, but I've not looked into it.
> > My guess would be that the text/binary logic that I added for saving is
> > being bypassed somehow during save-to-temp-then-viewing.
>
> 'cygstart' should use the file extension association in Windows to view
> the file... Does mutt save temp files with proper extensions?
Yes it does.
> To the OP: try copying the temp file and renaming it to the proper
> extension, and then run cygstart on it. Also try mounting /tmp in binary
> mode.
I have a view-attachment script the basically copies the file to /tmp and
run cygstart on it. This works.
--
Bye.
-----------------------------------------------------------------------------
Smile, damn it, smile.
lambda msg: {
"name" : "Miki Tebeka",
"email" : "miki.tebeka@zoran.com",
"url" : "http://www.cs.bgu.ac.il/~tebeka",
"quote" : "The only difference between children and adults is the "\
"price of the toys"
}[msg]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list