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:from:to:subject:date:reply-to:message-id :references:in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=h4Eu7ZEi7PSLlw8l MLPsaQfAkDkm8VR3scLk248UXOCC/kOL+OiuS/6/Cj/ryycvtFIC3DU8ui4Ph8z7 3YqLhiLnnNhErH2RVow9wLgq8hvDUvjKqLZ7IdYRPeShzTdUJBnVrVXSPp6SQJ7d tHIKQ4iJ98Im7expNoEQ+m64YYo= 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:from:to:subject:date:reply-to:message-id :references:in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=UDuJ6NbSzS7nxwHFHiYKsR KzhoY=; b=DQ2aS3KyeUkIVStsjd+m+OOmcth4cMFX1Y/ZNJbwxZuZPU1xKaSTP2 A3Si7SBka8vdmArdpYRr+Fut0iPHm+Rgczm96YTKrnqm2Bs2Jbh/5H2aAHyUFKXw ZZXbfUMYRunXM7xcPz7PEKrNHn3l3TMegrmNIeFCIwH5YTxdx65Qs= 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=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: homiemail-a29.g.dreamhost.com From: Bengt Larsson To: cygwin AT cygwin DOT com Subject: Re: Clearing the buffer after quitting LESS, MAN, VIM etc. Date: Tue, 31 Dec 2013 10:50:29 +0100 Reply-To: cygwin AT cygwin DOT com Message-ID: <8545c95dp8ns21seorjf67o4eueglcarsk@4ax.com> References: In-Reply-To: User-Agent: ForteAgent/7.20.32.1218 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Dawid Ferenczy wrote: >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. There does seem to be a problem with the Windows console. I have 64 bit Windows 7, and when a console window height*width is bigger than about 16384, it starts clearing the window after "less". This is running "less" from the Windows shell. Not only does it clear the screen, it clears it to black, even though I have a different background color. With mintty and bash it works for me at least up to 383 rows and 1364 columns. -- 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