X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=NEzvHbi4406zdSWY
	zn+YDwjgqlXlY61z8KBnI5qaOni1aocshu88d3954FF+3VdqlqiXQNw0KcnKC4za
	by8JSBROAnihJKcOH3TzoVMzbi26JFMQWkGJFPKm/ElevAKOmFU5/dVphNXICyzv
	MTBdtNCmvdhTmAKS9gQpsK6vpFk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=VXNwfFY+ea2Nu+hCJbnjhI
	Edpmc=; b=s8Il2prRSwUIgbbTfN/i2hMc8Kdrt0fdRMz3B+GF+l3cWwf7zfMT0a
	JB3Q9H7K0vTJcBP5Ar/0fqIfqEkOqvng/3qXsGJ/7ucTmQYRr3QzHhzW8kOX9eZN
	bf6k8PX92zYbt2zhtEj5L4Z4WR4pLcRfikT01EggJSDejRUg+ZjPI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173021pub.verizon.net
Message-id: <5362C651.9090402@cygwin.com>
Date: Thu, 01 May 2014 18:10:25 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Screen crippled by applications using alternative screen
References: <loom.20140425T174944-109@post.gmane.org> <20140425173617.GB346@ednor.casa.cgf.cx> <loom.20140501T121117-28@post.gmane.org>
In-reply-to: <loom.20140501T121117-28@post.gmane.org>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 05/01/2014 06:13 AM, Maximus5 wrote:
> Christopher Faylor <cgf-use-the-mailinglist-please <at> cygwin.com> writes:
>
>> I don't see the behavior that you are specifying but I doubt that what
>> you are seeing has anything to do with the gobbledegook on the above
>> page.  If you do want "Cygwin" to send ANSI escape sequences then you'll
>> need to make sure that you're using a package which knows how to send
>> them, i.e., an ncurses-using package, and that the TERM environment
>> variable is set appropriately.
>
> Hi, about gobbledegook
>
> Looking into imports of cygwin's shot.exe I can see "cygncursesw-10.dll".
>
> Does that mean it is "using a package which knows how to send them"?
>
> Checking for environment
> $ set | grep TERM
> TERM=xterm
>
> Ok?
>
> But sh.exe is using Windows console API instead of writing ANSI to stdout.
>
> What is wrong?

If you're using the Windows console (cmd.exe, Console2, ConEmu, etc.), then
you're not going to get complete ANSI code support regardless of what you
set your TERM environment variable to.  If you're saying that you're using
mintty or xterm and having problems, then you need to provide a clear recipe
to reproduce the problem so that someone here can try to reproduce it.  For
more details on what's needed, please see the problem reporting guidelines
found at the link below:

<http://cygwin.com/problems.html>

-- 
Larry

_____________________________________________________________________

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

