Re: xterm background colour



On Thu, 25 Jan 2007, applecom inbox ru wrote:

Thomas Dickey <dickey his com> wrote:

On Wed, 24 Jan 2007, applecom inbox ru wrote:

Midnight Commander changes xterm background colour to black on exit if run
from it. I think it's a bug.

There are two places to look: the choice of terminal description,
and possibly a very old version of slang.  It's more likely the
terminal description, e.g., using something like "xterm-color",
which is almost always incorrect.

I've written unclearly a bit. XTerm background color doesn't actually change. MC fills out on exit entire XTerm window by black solid blocks except bottom line and prompt symbols. After running 'clear' colour of all the symbols becomes normal.

If the screen is black after the prompt (and stays that way until cleared), then that's a problem with mc not reinitializing the colors to the default. It could still be a mismatch of the terminal description (not using the "bce" back-color erase capability), but can also be a bug in the code. The latter is less likely.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]