Mail Archives: cygwin/2003/12/25/15:51:26
On Wed, 24 Dec 2003, Gary R. Van Sickle wrote:
> > 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?
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.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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/
- Raw text -