Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Running cmd programs in cygwin / rxvt Date: Mon, 20 Sep 2004 07:15:46 -0700 Lines: 20 Message-ID: References: <414E8B1A DOT 8040103 AT overbored DOT net> <414EA28E DOT 122EB347 AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: h-67-102-25-114.lsanca54.covad.net User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) In-Reply-To: <414EA28E.122EB347@dessent.net> X-IsSubscribed: yes Brian Dessent wrote: > overbored wrote: > >> There are some cmd shell programs that don't run well in rxvt. Most >> noticeably, they don't always immediately write out their output. >> They seem to work fine in the default cmd window though (doesn't >> matter if it's in cmd or in bash). Does anybody know what the problem >> is here, and how to fix it? Thanks in advance. > > What you're seeing is caused by the output of the program going > through a tty (or pty as the case may be.) When you run it from a > straight cmd.exe it's not using tty code (unless you have CYGWIN=tty > set.) From my meagre knowledge of the subject it has to do with the > program not explicitly flushing stdout (or not knowing that it needs > to as this is usually not required under windows.) Is there a CYGWIN setting to tell rxvt not to use ptys? -- 3 kinds of people: those who can count & those who can't. -- 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/