linux-2.1.115 on alpha: bug in memsetw_io (or memset_c_io)

Alexander V. Lukyanov (lav@alpha.netis.ru)
Fri, 7 Aug 1998 15:52:52 +0400


I tried 2.1.115 on alpha and noticed glitches on vga-console.
They happened on csi_X when area size was not multiple of 4.

I tracked it down to memsetw_io which is just a macro to memset_c_io.
BUT memsetw_io is used to clear video memory with two-byte sequence
(character/attribute), and memset_c_io clears with _single_ byte
on non-aligned margins. The consequence of that is clearing with
green color (' '=0x20) instead of current attribute.

To reproduce: echo '^[[11X' (^[ is esc character)

So either there must be memsetw_c_io or memset_c_io must be modified to
clear with two-byte combination.

Alexander.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html