www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/17/12:17:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: Wed, 17 Nov 2004 12:17:19 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin-xfree AT cygwin DOT com, cygwin AT cygwin DOT com
Subject: Re: new cygwin has memory problems?
Message-ID: <20041117171719.GA3272@trixie.casa.cgf.cx>
Reply-To: cygwin-xfree AT cygwin DOT com
Mail-Followup-To: cygwin-xfree AT cygwin DOT com, cygwin AT cygwin DOT com
References: <20041112162605 DOT GA3620 AT ingber DOT com>
Mime-Version: 1.0
In-Reply-To: <20041112162605.GA3620@ingber.com>
User-Agent: Mutt/1.4.1i

On Fri, Nov 12, 2004 at 08:26:05AM -0800, Lester Ingber wrote:
>I was wrong in assuming this was a cygwin base problem.  It must be a
>cygwin-xfree problem.  I have no problems I can see in a cygwin console
>window, only in an xterm (or rxvt) window running under
>XWin -unixkill -emulate3buttons -clipboard -multiwindow -silent-dup-error &
>
>Lester
>
>      +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
>I cannot determine why, but with the new Cygwin base I just installed,
>a utility I have used for quite a few years, dired
>[http://www.math.utah.edu/~beebe/software/file-tools.html#dired], now
>freezes my window.  A `top` shows that CPU usage quickly climbs to
>maximum values.
>
>I have to guess that other utilities will have similar problems.

This is a problem caused by this change:

http://cygwin.com/ml/cygwin/2004-10/msg00364.html

And, then, the problem was noted here:

http://cygwin.com/ml/cygwin/2004-10/msg00904.html

The problem is that cygwin is now behaving like linux in that timed
reads from a pty/tty work correctly.  It is not behaving like linux in
that once you get an EOF on a read using stdio, you get EOF forever
after.

I've made a cygwin-specific correction to the newlib library to make
cygwin work more like linux.  I will generate a cygwin snapshot sometime
soon which should have a fix for this problem.  Keep an ey on:

http://cygwin.com/snapshots/

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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