On 11 June 2010 01:31, Larry Hall (Cygwin) <reply-to-list-only...@cygwin.com> wrote: > On 6/10/2010 1:21 PM, Steven Woody wrote: >> >> On 11 June 2010 01:18, Larry Hall (Cygwin) >> <reply-to-list-only...@cygwin.com> wrote: >>> >>> On 6/10/2010 1:09 PM, Steven Woody wrote: >>>> >>>> On 10 June 2010 13:27, Andy Koppe<andy.ko...@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.
Understand, thanks for the explanation. Just thinking for the moment that why not we cannot have a good terminal emulator not based on pty. . > > -- > 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 > > -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com) -- 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