tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: patches to optionally clear the screen during boot.



On Sat, Dec 13, 2008 at 04:41:17PM -0500, Christos Zoulas wrote:

> Currently the x86 boot code clears the screen which seems un-unix like
> and unnecessary.

In the past there was not much point. Today we have a boot menu and there is
information for new users to absorb and act upon, so the screen is cleared.

> This patch makes the behavior optional via boot.conf.
> Anon Ymous wrote it.
>
> Ok to commit?

Yes please but with clear=1 added to boot.cfg on the boot CDs and the
default i386/amd64 boot.cfg.

> diff -u -r1.1 bootmenu.c
> --- lib/bootmenu.c    25 Nov 2008 13:23:54 -0000      1.1
> +++ lib/bootmenu.c    13 Dec 2008 20:49:52 -0000
> +#if 0
> +     /* XXX - clear the screen by default? */
> +     bootconf.clear = 1;
> +#endif

This bit seems unnecessary.

Thanks,
Andrew


Home | Main Index | Thread Index | Old Index