Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <010401c13c72$05bbb310$0200a8c0@lifelesswks> From: "Robert Collins" To: "Charles Wilson" , "Corinna Vinschen" References: <20010913093731 DOT E432 AT NBOF> <20010913131552 DOT R1285 AT cygbert DOT vinschen DOT de> <3BA0CE44 DOT 9080007 AT ece DOT gatech DOT edu> Subject: Re: Mutt (on cygwin) and binary attachments Date: Fri, 14 Sep 2001 01:32:11 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 13 Sep 2001 16:21:45.0503 (UTC) FILETIME=[2E5E72F0:01C13C70] ----- Original Message ----- From: "Charles Wilson" > Corinna Vinschen wrote: > > (disclaimer: I don't use mutt) > > Ya, but linking with binmode.o doesn't solve the other problem -- that > of config files with DOS line endings. > > It looks to me as if you just can't use the 'binmode.o/automode.o' magic > bullets. It seems that the real fix is to go thru the code, and put > O_BINARY or 'rb' in the correct places, and O_TEXT(?) or 'rt' in the > correct places. Yes? Yes! I have maintained that by far and large this is the only solution that *works*. (Sorry for the outburst, I'll go hide now). Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/