X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <7a244cca0709201521l2934ef84h1b2bfd61afdd491a@mail.gmail.com> Date: Thu, 20 Sep 2007 18:21:38 -0400 From: "Chris Cole" To: cygwin AT cygwin DOT com Subject: Console background color changes when exiting vi, less, more, man, and possibly other programs MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: b7017dd6cff95f6f 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 When exiting any of several common programs, the backgound color of the console is changed. This has been reported several times, including as recently as 2006, but no cause has been isolated. Here is a reproducible sequence of events that will lead to the failure and hopefully the solution. Using the console Properties dialog, Color tab, set the Screen Background to white. Using the same dialog, Layout tab, set the Window Size Width to 160 and Height to 84. Execute "vi". Exit it. The screen background will be set to black. Execute "clear" to return it to white. The following widths and heights are the maximum that can be set to avoid this problem: 149 89 151 88 152 87 154 86 156 85 158 84 160 83 Increasing either the width or the height by one from any pair of values on this list surfaces the problem. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/