X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 7 Jan 2009 10:52:17 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cmd.exe from Cygwin
Message-ID: <20090107155217.GB32231@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4962D8ED.1000109@cygwin.com> <5195c8760901052020l6dd3669bif4ffe5525846f03d@mail.gmail.com> <4962DE56.6040007@cygwin.com> <5195c8760901052113i531a01eeucd7e7aa0f36c8dc3@mail.gmail.com> <5195c8760901060035x2743936axd05b108055404d45@mail.gmail.com> <49639969.40707@cygwin.com> <49639A90.8020702@cygwin.com> <5195c8760901062114r6ba086a1v2f6bac5ee1ed1538@mail.gmail.com> <49644792.2030607@cygwin.com> <5195c8760901070019y58d4f3a4l266950475001f21b@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5195c8760901070019y58d4f3a4l266950475001f21b@mail.gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
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
Note-from-DJ: This may be spam

On Wed, Jan 07, 2009 at 01:49:46PM +0530, Jeenu V wrote:
>On Wed, Jan 7, 2009 at 11:41 AM, Larry Hall (Cygwin)
><reply-to-list-only-lh@cygwin.com> wrote:
>> Jeenu V wrote:
>
>> With cgf's help and a good look at your cygcheck output, I believe I was
>> able to reproduce something like your problem.  If I'm right, then you
>> want to remove 'tty' from your CYGWIN environment variable.  Make sure
>> you exit *all* Cygwin processes, including services, before firing up
>> bash again and invoking 'cnd' from there to test.
>
>Oh yeah! That works. Thank you.
>
>But here the catch: it behaves the same old way if I invoke cmd.exe
>from screen. Setting $TERM as cygwin doesn't seem to work either.
>Interestingly my colleague too has this problem with screen. :(

screen uses ptys.  ptys are equivalent to CYGWIN=tty.

We really don't guarantee that pure Windows applications will work with
ptys.

cgf

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

