www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/10/13:31:54

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: mintty screen size problem
References: <AANLkTilJNlQQOwrXDZjpF7Nf4wFfot3Jtx_52ASwcPEF AT mail DOT gmail DOT com> <AANLkTin2GHV5jBH0VIDcaa2lACiF3UZSNru5awlfX_Vb AT mail DOT gmail DOT com> <AANLkTimkRUNTNxzW84moGbvsVNe7hLGrppr05O3sKiVU AT mail DOT gmail DOT com> <4C111E48 DOT 7070608 AT cygwin DOT com> <AANLkTikCC9UQr0_hggkzXkCn35c6PwntIrtRfCF167r2 AT mail DOT gmail DOT com>
In-reply-to: <AANLkTikCC9UQr0_hggkzXkCn35c6PwntIrtRfCF167r2@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On 6/10/2010 1:21 PM, Steven Woody wrote:
> On 11 June 2010 01:18, Larry Hall (Cygwin)
> <reply-to-list-only-lh AT cygwin DOT com>  wrote:
>> On 6/10/2010 1:09 PM, Steven Woody wrote:
>>>
>>> On 10 June 2010 13:27, Andy Koppe<andy DOT koppe AT gmail DOT 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

- Raw text -


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