BCE: background color erase

Marius Gedminas marius at pov.lt
Thu Jan 8 16:58:45 UTC 2009


On Wed, Dec 31, 2008 at 10:10:19AM +0200, frank wrote:
> Ubuntu 8.10, text console, no terminal window involved.
> 
> Text mode applications fail with BCE (background color erase). An
> editor with blue background will have blue background on text and
> black background on empty space. A line of text reaching to the
> middle of window will be blue on the left side and black on the right
> side.

What's the setting of $TERM?

> That happens with or without framebuffer.

Framebuffer is irrelevant; it doesn't change how escape codes get
interpreted by the Linux tty driver.

> It does NOT happen with
> Ubuntu 7.10 on the same machine.

So something must be different.  Either the $TERM setting (have you
perhaps changed it in your .bashrc?), or the terminfo database
(comparing 'infocmp linux' on the two installations might give a clue)
or in the kernel (which I'd find *very* surprising; those guys try hard
to maintain backwards compatibility for the userspace).

I'd try it on my laptop, but my text consoles are completely dead (first
Ctrl+Alt+F1 blinks and jumps back to X, the second one gives me a
completely blank blank screen.  I blame the 'intel' X.org driver.  Good
thing that I don't need text consoles any more.)

> Is there a workaround?

Marius Gedminas
-- 
Linux: The Ultimate NT Service Pack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090108/cc244b91/attachment.sig>


More information about the ubuntu-users mailing list