delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/20/20:59:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 20 May 2002 17:57:53 -0700 (Pacific Daylight Time)
From: Michael A Chase <mchase AT ix DOT netcom DOT com>
Subject: Re: pine dumps core on exit
To: Eduardo Chappa <chappa AT math DOT washington DOT edu>
cc: cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <adqua5ui DOT fsf AT templarcorp DOT com><Pine DOT OSF DOT 4 DOT 44 DOT 0205201430590 DOT 452465-100000 AT goedel1 DOT math DOT washington DOT edu>
In-Reply-To: <Pine.OSF.4.44.0205201430590.452465-100000@goedel1.math.washington.edu>
Reply-To: Michael A Chase <mchase AT ix DOT netcom DOT com>
Message-Id: <E179xyg-0004EX-00@barry.mail.mindspring.net>

On Mon, 20 May 2002 14:34:51 -0700 (PDT) Eduardo Chappa
<chappa AT math DOT washington DOT edu> wrote:

> The diagnosis of your problem is correct. Your problem comes from the fact
> that you have chosen "DOS" over "UNIX". You will need to change it "unix".
> This is one of the symptoms of the error. Your addressbook should not be
> working either. Pine needs those "\n", over "\r\n". Please notice that
> this may require you to restart Pine from scratch (new .pinerc,
> .addressbook, etc).
> 
> Is there a way to know if a user is using DOS instead of UNIX in their
> installation? I would be insterested in looking into this, although it may
> be a major change in Pine.

Since Pine appears to need to control the line endings, it should probably
open all mailboxes (at least) in binary mode.  Binary mode would have no
effect in Unixes and would do no harm in MSDOS derived systems including
DOS type Cygwin mounts.  Changing the open() or fopen() calls is likely to
cause changes in quite a few places, but it shouldn't be very difficult to
decide where it is needed.

I'm actually a bit surprised this hasn't been a problem in Win32 or MSDOS
ports of Pine.
-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019