delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/25/15:51:26

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 25 Dec 2003 15:51:05 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
cc: cygwin AT cygwin DOT com
Subject: RE: Two mutt issues
In-Reply-To: <NCBBIHCHBLCMLBLOBONKMEGNEOAA.g.r.vansickle@worldnet.att.net>
Message-ID: <Pine.GSO.4.56.0312251549040.12157@slinky.cs.nyu.edu>
References: <NCBBIHCHBLCMLBLOBONKMEGNEOAA DOT g DOT r DOT vansickle AT worldnet DOT att DOT net>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019