From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25497 invoked by alias); 25 Apr 2014 17:21:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25484 invoked by uid 89); 25 Apr 2014 17:21:41 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 25 Apr 2014 17:21:40 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wdjnc-0002nA-8j for cygwin@cygwin.com; Fri, 25 Apr 2014 19:21:32 +0200 Received: from 212.24.148.213 ([212.24.148.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Apr 2014 19:20:32 +0200 Received: from ferenczy by 212.24.148.213 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Apr 2014 19:20:32 +0200 To: cygwin@cygwin.com From: Dawid Ferenczy Subject: Screen crippled by applications using alternative screen Date: Fri, 25 Apr 2014 17:21:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00577.txt.bz2 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