delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/25/13:22:03

X-Recipient: archive-cygwin AT delorie DOT 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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=cE3
sSIgn+Hyk+UZ8j1vjSH8o/e1nFEBBlCbzmK/b2Jh664nW7KybUCxN/eBsESv8YHj
e9XFDYk5iRADO/wXtScxMJLqVJhD/Y+DNsB4YBB9RZJ1sOKrcW5SFl1fc8G90/tH
pqq027qzrydKlQSfWCBnphcKnm/0gfNj7j8e4Z7I=
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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=UD4NUVUFt
4OMrU9hA8Y0hYfIRls=; b=MTrZuX5xHn3M4GZRQebKFNtENUXz0VK5O9r/bLBON
502Cs5GThPhcNGz5vIMCba+Q0lDsfJD8xU6XAYbzGgFE86YLOoj775eHY1TAJwci
6Dz7lKdllEVyIpy/bccOh92wZlncH+a/7t4bim27XA1+jsLD1KGMcRoiYoHAjcW2
IM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2 autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Dawid Ferenczy <ferenczy AT volny DOT cz>
Subject: Screen crippled by applications using alternative screen
Date: Fri, 25 Apr 2014 17:20:21 +0000 (UTC)
Lines: 43
Message-ID: <loom.20140425T174944-109@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Hi,

I'm still having issues with applications which use alternative screen for 
output (LESS, MAN). When I exit that application, its output stays on 
screen, prompt is displayed over it.

My system is as follows:

OS: Windows 7 Home 64 bit
Cygwin: 1.7.29 64 bit
Console emulator: ConEmu 140416 64 bit, Console 2.00.148 64 bit

Example steps to reproduce the issue:

1. execute "man grep"
2. scroll down to the end (PAGE DOWN)
3. exit (press Q), result: http://ferenczy.cz/tmp/cygwin/1.png
4. execute "pwd", result: http://ferenczy.cz/tmp/cygwin/2.png
5. clear screen (CTRL + L), result: http://ferenczy.cz/tmp/cygwin/3.png

Behavior is the same in plain cmd.exe, Console2 and ConEmu. MinTTY works 
fine. If I exit MAN on first page (without scrolling), the screen isn't 
crippled.

To reach clean screen I have to repeatedly clear the screen (CTRL + L) until 
I browse whole MAN output (all pages). Alternative screen should be 
completely separated from the regular screen.

It's probably caused by that Cygwin doesn't send ANSI codes to the console 
emulator, see https://code.google.com/p/conemu-maximus5/wiki/CygwinAnsi. It 
has another consequences, for example there doesn't work mouse in 
applications under Cygwin, see https://code.google.com/p/conemu-
maximus5/issues/detail?id=1497 (last messages).

Would it be possible to solve this somehow? This could solve all issues with 
crippled screen, scroll buffer, not working mouse etc, I guess. Moreover 
ANSI codes are standard behavior.

Thank you for your opinion.

-- 
 Dawid Ferenczy
 http://twitter.com/DawidFerenczy


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019