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=CwJ +s0+TLy4mRfvxQ0GJsXn6MSLNZ0abhheRvun6GfFX39otbxolDtRxXrEk1JURsr8 jZ3okHHqbf367kxaCWG9QtV9FA7n5G9D0QnY7qP7tjFVouQ3AvA2Nkw4ci6FSzzh y7/ic5QGpsBP6+5WKl17KOG8n7vARXoPS/F9T3uQ= 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=aKYna4NOP /O2OOoXCCJrJ3zXUx8=; b=x84pubUBdqdoV7Je/JNbPLFcDBnJFLJO+vc3tsNwf aDQ61lmbIwsc0n+FbBUJYR6ZxReIhlG9h0CcdaeMwOJ6B5Cl/xiYRY9LkFNIH01A wvtkIyJ6V2/OTODFdVm0elA6/X+RWSv+nOTPhe9wRrT1RyRQuxWSnfOb5hmM99Qa o8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.7 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Dawid Ferenczy Subject: Clearing the buffer after quitting LESS, MAN, VIM etc. Date: Tue, 31 Dec 2013 02:08:34 +0000 (UTC) Lines: 32 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 Hi, maybe I have found a bug in the Cygwin. I have been using Cygwin on the 64bit Windows 7 for a long time and I never experienced this problem. But I bought a new laptop and on the fresh new system (also 64bit Windows 7) the same Cygwin with the same configuration cleared the screen buffer whenever I quit LESS, MAN, VIM etc. And it bothered me very much. Because I'm using Cygwin inside ConEmu terminal emulator, I suspected the ConEmu. After a lot of hours comparing everything what potentially could be the cause (environment variables, configurations, software versions etc.), I had a conversation with the ConEmu's author (and he was really great, exemplary support for the free software!). And we finally found the cause. The only difference (or one of few) was in the display size. The old laptop has a screen resolution of 1366 x 768 pixels, while the new one has 1920 x 1080. And I'm using the whole screen for the terminal window. It's really strange, but if the terminal window height is greater than cca 62 lines, the screen buffer is cleared after quitting the LESS, VIM etc. No matters if Cygwin is executed inside the ConEMu or plain cmd.exe. Making the terminal window smaller solved the problem. Window height of 62 lines seems to be fine for me. Also, with some of greater height values, the LESS/VIM process sometimes crashed. The whole story how we have found the cause and workaround of this issue you could find here: http://code.google.com/p/conemu-maximus5/issues/detail?id=1397 Could somebody reproduce this issue, please? -- 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