Date: Fri, 19 May 1995 03:28:08 +0400 From: "Andrey A. Chernov, Black Mage" <ache@astral.msk.su> To: current@FreeBSD.org Cc: S0ren Schmidt <sos@login.dknet.dk> Subject: Syscons critical bugfix for review Message-ID: <QH8Wzkl4pB@deep-thought.demos.su>
next in thread | raw e-mail | index | archive | help
Problem:
Char cursor is wrong (appearse as small circle)
after screen switching from X.
Fix:
*** syscons.c.old Fri Apr 28 18:27:28 1995
--- syscons.c Fri May 19 03:20:14 1995
***************
*** 843,848 ****
--- 843,850 ----
copy_font(LOAD, FONT_14, font_14);
if (fonts_loaded & FONT_16)
copy_font(LOAD, FONT_16, font_16);
+ if (configuration & CHAR_CURSOR)
+ set_destructive_cursor(scp, TRUE);
load_palette();
}
/* FALL THROUGH */
***************
*** 1312,1317 ****
--- 1314,1321 ----
copy_font(LOAD, FONT_14, font_14);
if (fonts_loaded & FONT_16)
copy_font(LOAD, FONT_16, font_16);
+ if (configuration & CHAR_CURSOR)
+ set_destructive_cursor(new_scp, TRUE);
load_palette();
}
if (old_scp->status & KBD_RAW_MODE || new_scp->status & KBD_RAW_MODE)
***************
*** 2892,2898 ****
if (!force && (scp->cursor_saveunder & 0xFF) == old_saveunder)
return;
! old_saveunder = scp->cursor_saveunder & 0xFF;
switch (scp->font) {
default:
case FONT_8:
--- 2896,2902 ----
if (!force && (scp->cursor_saveunder & 0xFF) == old_saveunder)
return;
! old_saveunder = force ? DEAD_CHAR : scp->cursor_saveunder & 0xFF;
switch (scp->font) {
default:
case FONT_8:
--
Andrey A. Chernov : And I rest so composedly, /Now, in my bed,
ache@astral.msk.su : That any beholder /Might fancy me dead -
FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead.
RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?QH8Wzkl4pB>
