This is the mail archive of the
mailing list for the Cygwin project.
Console background color changes when exiting vi, less, more, man, and possibly other programs
- From: "Chris Cole" <chris at questrel dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 20 Sep 2007 18:21:38 -0400
- Subject: Console background color changes when exiting vi, less, more, man, and possibly other programs
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:
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