X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=4.4 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-id: <4C119D11.1030508@cygwin.com> Date: Thu, 10 Jun 2010 22:18:57 -0400 From: "Larry Hall (Cygwin)" 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: <4C111E48 DOT 7070608 AT cygwin DOT com> <4C112165 DOT 1080700 AT cygwin DOT com> In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 6/10/2010 8:06 PM, Steven Woody wrote: > On 11 June 2010 01:31, Larry Hall (Cygwin) wrote: >> On 6/10/2010 1:21 PM, Steven Woody wrote: >>> >>> On 11 June 2010 01:18, Larry Hall (Cygwin) wrote: >>>> >>>> On 6/10/2010 1:09 PM, Steven Woody wrote: >>>>> >>>>> On 10 June 2010 13:27, Andy Koppe wrote: >>>> >>>> >>>> >>>>>> 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. > > Understand, thanks for the explanation. Just thinking for the moment > that why not we cannot have a good terminal emulator not based on pty. Here's the short answer - a goal of Cygwin is to provide Linux compatibility. ptys are a part of Linux. So ptys need to be a part of Cygwin. There has been talk about how to trick Windows programs into thinking they are running under a normal, Windows console (again, see the email archives for more detail). If someone comes up with a clever way to do this, then Cygwin could support both concepts transparently. We're not there yet. -- 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