| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Fri, 26 Dec 2003 22:40:18 +0200 |
| From: | "Miki Tebeka" <miki DOT tebeka AT zoran DOT com> |
| To: | Cygwin mailing list <cygwin AT cygwin DOT com> |
| Subject: | Re: Two mutt issues |
| Message-ID: | <20031226204017.GC980@mikit> |
| References: | <1072467351 DOT 9507 DOT ezmlm AT cygwin DOT com> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <1072467351.9507.ezmlm@cygwin.com> |
| User-Agent: | Mutt/1.5.5i |
| X-OriginalArrivalTime: | 26 Dec 2003 20:40:23.0536 (UTC) FILETIME=[7C59DF00:01C3CBF0] |
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 DOT tebeka AT zoran DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |