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 Date: Thu, 5 Apr 2001 18:45:43 +0200 From: Corinna Vinschen To: cygwin Subject: Re: Who ported Mutt? I have re-compiled 1.2.5 and now I have double spaced lines in the pager. Message-ID: <20010405184543.R956@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <20010405145509 DOT A341 AT BOEKHOFF_M> <20010405170727 DOT D4845 AT cygbert DOT vinschen DOT de> <20010405173223 DOT A336 AT BOEKHOFF_M> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010405173223.A336@BOEKHOFF_M>; from malcolm.boekhoff@actfs.co.uk on Thu, Apr 05, 2001 at 05:32:23PM +0100 On Thu, Apr 05, 2001 at 05:32:23PM +0100, malcolm.boekhoff wrote: > On 2001-04-05 17:07:27, Corinna Vinschen wrote: > > On Thu, Apr 05, 2001 at 02:55:09PM +0100, malcolm.boekhoff wrote: > > > > > > Can the Mutt porter(s) please describe what I need to patch to Mutt-1.2.5 to stop > > > the pager displaying > > > > > > Line 1 > > > > > > Line 2 > > > > > > Line 3 > > > > > > instead of > > > > > > Line 1 > > > Line 2 > > > Line 3 > > > > > > Thanks. > > > > > > Probably a binary/text problem, eh? The mail folders appear to be in Unix > > > format (\n and not \r\n for line separation). > > > > Probably: > > > > http://cygwin.com/ml/cygwin/2001-02/msg00217.html > > > > Look through the sources and open the files with open (..., O_TEXT) > > or fopen (..., "rt") if compiled under Cygwin. > > > > Corinna > > Thankyou. > > There are 140 instances of the string "open *(" in the source. You could try to simply link mutt against /lib/automode.o which provides automagically O_TEXT for input and O_BINARY for output if not explicitely overridden. This should minimize changing the sources. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple