Mail Archives: cygwin/2001/04/05/12:50:55
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
- Raw text -