X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=4.8 required=5.0	tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4C112165.1080700@cygwin.com>
Date: Thu, 10 Jun 2010 13:31:17 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: mintty screen size problem
References: <AANLkTilJNlQQOwrXDZjpF7Nf4wFfot3Jtx_52ASwcPEF@mail.gmail.com> <AANLkTin2GHV5jBH0VIDcaa2lACiF3UZSNru5awlfX_Vb@mail.gmail.com> <AANLkTimkRUNTNxzW84moGbvsVNe7hLGrppr05O3sKiVU@mail.gmail.com> <4C111E48.7070608@cygwin.com> <AANLkTikCC9UQr0_hggkzXkCn35c6PwntIrtRfCF167r2@mail.gmail.com>
In-reply-to: <AANLkTikCC9UQr0_hggkzXkCn35c6PwntIrtRfCF167r2@mail.gmail.com>
Content-type: text/plain; charset=UTF-8; format=flowed
Content-transfer-encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 6/10/2010 1:21 PM, Steven Woody wrote:
> On 11 June 2010 01:18, Larry Hall (Cygwin)
> <reply-to-list-only-lh@cygwin.com>  wrote:
>> On 6/10/2010 1:09 PM, Steven Woody wrote:
>>>
>>> On 10 June 2010 13:27, Andy Koppe<andy.koppe@gmail.com>    wrote:
>>
>> <snip>
>>
>>>> The workaround is to invoke such programs through 'cygstart'.
>>>> Alternatively, the 'conin' wrapper mentioned in that thread should
>>>> work fairly well for Python.
>>>>
>>>
>>> Thanks.  'cygstart' works, but I have to type the full path of the
>>> program that I want to run as a parameter to 'cygstart'.
>>
>> You can use 'which' to get the full path name, as long as the target is in
>> the path.
>>
>
> Yes, I can. Just feel it's not easy to use (have to type many keys).
> On the other hand, cygstart always open another window to run the
> program, it's not so decent.

That's because the Windows program you're trying to use doesn't understand
ptys and buffers its output as a result.  If you want to work around this
incompatibility, you need a console, not a tty.  'cygstart' will open a
console for any program that needs one.

At this point, some inconvenience is necessary to get the output you expect
when you expect it.  If you're curious to learn more, you can check out the
email archives where this has been discussed allot.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

