Bug#602120: kfreebsd-8: the kernel console should implement civis to get nicer dialog output
Robert Millan, le Fri 26 Nov 2010 15:31:14 +0100, a écrit :
> I suspect it's this:
>
> --- sys/dev/syscons/scvgarndr.c~ 2010-03-31 17:39:46.000000000 +0200
> +++ sys/dev/syscons/scvgarndr.c 2010-11-26 15:25:07.000000000 +0100
> @@ -277,10 +277,8 @@
> if (base < 0 || base >= scp->font_size)
> return;
> /* the caller may set height <= 0 in order to disable the cursor */
> -#if 0
> scp->curs_attr.base = base;
> scp->curs_attr.height = height;
> -#endif
> vidd_set_hw_cursor_shape(scp->sc->adp, base, height,
> scp->font_size, blink);
> }
>
> I checked the callers (update_cursor_image() and
> sc_set_cursor_image() in syscons.c) and their behaviour
> is consistent with what this comment says.
>
> I have no idea why this code was disabled, it seems
> to be necessary.
That really looks like a culprit, indeed.
Samuel
Reply to: