svn commit: r344243 - head/stand/lua

Warner Losh imp at bsdimp.com
Mon Feb 18 16:19:47 UTC 2019


On Mon, Feb 18, 2019 at 12:17 AM Devin Teske <dteske at freebsd.org> wrote:

>
>
> > On 17 Feb 2019, at 9:18 PM, Warner Losh <imp at bsdimp.com> wrote:
> >
> > We did a lot of that traditionally in the FORTH loader too, and weren't
> always that good about it.
>
> Uh, no. I only clear regions of the screen by positioning the cursor using
> ANSI escape sequences and then drawing spaces. I do not clear the screen “a
> lot” and would like to think I was damned good about it.
>

Generally speaking, both FORTH and LUA clear it the same amount was more my
point. It's more visible on the serial port than on the video screen,
though, because that is attached to a terminal of who knows how large a
screen. Part of the problem here, though, is that UEFI clears things
independently from the others as it sets up the proper video modes as well,
which neither FORTH nor LUA controls directly today.

So my point was more that screen clearing is a red-herring issue if you
want to preserve error messages. I'll gladly concede I used imprecise
language to make one of points surrounding it. If we want to be able to
preserve error messages, we need to preserve them, and we don't today.

Warner


More information about the svn-src-head mailing list