From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31862 invoked by alias); 5 May 2011 12:51:38 -0000 Received: (qmail 31851 invoked by uid 22791); 5 May 2011 12:51:37 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_40,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from sneak2.sneakemail.com (HELO sneak2.sneakemail.com) (38.113.6.65) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 05 May 2011 12:51:24 +0000 Received: (qmail 3310 invoked from network); 5 May 2011 12:51:22 -0000 Received: from unknown (HELO localhost.localdomain) (192.168.0.1) by sneak2.sneakemail.com with SMTP; 5 May 2011 12:51:22 -0000 Received: from 198.117.1.121 by mail.sneakemail.com with SMTP; 5 May 2011 12:51:22 -0000 Received: (sneakemail censored 15210-1304599882-2505 #3); 5 May 2011 12:51:22 -0000 Received: (sneakemail censored 15210-1304599882-2505 #2); 5 May 2011 12:51:22 -0000 Received: (sneakemail censored 15210-1304599882-2505 #1); 5 May 2011 12:51:22 -0000 Message-ID: <15210-1304599882-2505@sneakemail.com> Date: Thu, 05 May 2011 12:51:00 -0000 From: "Robert Jacobson" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Any way to prevent programs like Vim from clearing scrollback buffers? Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-05/txt/msg00035.txt.bz2 For vim specifically, the following line in ~/.vimrc should prevent that: set t_ti= t_te= For "man" -- it uses "less" by default as a pager. So, you can set the environment variable "LESS" to include the character "X". "man" . export LESS=X Note that the above will also prevent "less" from clearing the screen on exit. -- Rob -- 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