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: Fri, 6 Apr 2001 11:45:06 +0100 From: "malcolm.boekhoff" 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: <20010406114506.A336@BOEKHOFF_M> References: <20010405145509 DOT A341 AT BOEKHOFF_M> <20010405170727 DOT D4845 AT cygbert DOT vinschen DOT de> <20010405173223 DOT A336 AT BOEKHOFF_M> <20010405184543 DOT R956 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010405184543.R956@cygbert.vinschen.de>; from cygwin@cygwin.com on Thu, Apr 05, 2001 at 06:45:43PM +0200 On 2001-04-05 18:45:43, Corinna Vinschen wrote: > 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 Exxxxcellent. Thankyou. Now I can hack it to bits! -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple