Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Levent Yilmaz <sly5+gmane@pitt.edu>
Subject: Re: xemacs shell problem
Date: Fri, 14 May 2004 17:03:29 -0400
Lines: 38
Message-ID: <c83c6u$t47$1@sea.gmane.org>
References: <c83376$853$1@sea.gmane.org> <Pine.GSO.4.58.0405141618430.29485@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: pick.me.pitt.edu
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 MultiZilla/1.6.3.1d
In-Reply-To: <Pine.GSO.4.58.0405141618430.29485@slinky.cs.nyu.edu>

Thank you!


Igor Pechtchanski wrote:
> 
> Cygwin uses special pipes, called "pty"s, for applications that aren't
> running in a console.  I'm guessing that XEmacs uses these ptys for its
> shell buffer.  Some applications detect that they are not invoked from a
> console, and allocate one.  If the applications don't attempt to be
> smarter, Cygwin has no problems redirecting their output.  The reason the
> problem doesn't show up in a "bash window" is that bash already runs in
> a console.
> 
> If you have the same problem running from within a terminal, like rxvt or
> xterm, I'd suspect that the problem application does exactly that --
> allocates a console when run from a pty, which is what causes the flashing
> console with error messages.

Well actuall Xemacs' shell is the only place I have this problem. Both 
rxvt and xterm are working fine (maybe they are not using pty's?). 
Updating didn't change anything unfortunately.

However, I believe the issue is exactly related to what you say: 
Application trying to be smart! I will do as you say and research the 
archives, though I have very little understanding of the matter.

I wonder if anybody else experienced such a thing?

thank you again!
-Levent.


> 
> There have also been some fixes related to pty-handling and Windows
> console applications, but I don't recall whether they've made it to the
> current release (1.5.9), so search the mailing list archives or just try
> the latest snapshot to see if it helps.
> 	Igor


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

