X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTilJNlQQOwrXDZjpF7Nf4wFfot3Jtx_52ASwcPEF@mail.gmail.com>
References: <AANLkTilJNlQQOwrXDZjpF7Nf4wFfot3Jtx_52ASwcPEF@mail.gmail.com>
Date: Thu, 10 Jun 2010 06:27:34 +0100
Message-ID: <AANLkTin2GHV5jBH0VIDcaa2lACiF3UZSNru5awlfX_Vb@mail.gmail.com>
Subject: Re: mintty screen size problem
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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 10 June 2010 06:07, Steven Woody wrote:
> I found some windows native command-line programs can not run in
> mintty, while they can in the old cygwin shell window.
>
> For example, there is a windows command line application, slrn, =C2=A0(a
> nntp news reader), when it is started from mintty, it will report
> "unable to determine the screen size" and then exit. =C2=A0Another example
> is windows version of python, when start it from mintty, it will
> display nothing and never return unless I press Ctrl-C.
>
> Does anyone see the similar problems? =C2=A0Do you have a solution? Thank=
s.

Yes. No. See http://code.google.com/p/mintty/issues/detail?id=3D56 for
more than you want to know about this.

The workaround is to invoke such programs through 'cygstart'.
Alternatively, the 'conin' wrapper mentioned in that thread should
work fairly well for Python.

Andy

--
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

