Mail Archives: cygwin/2001/04/06/06:43:20
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
- Raw text -