Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2019 16:29:19 -0400
From:      Ryan Moeller <ryan@ixsystems.com>
To:        freebsd-hackers@freebsd.org
Subject:   Resetting console on boot
Message-ID:  <CAGuotKD9d4mXoWpH3Wy5r5COvwhQ4iGEfngPZ3COXFaz-5851A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

What do people think about having an early boot stage send some escape
sequence to reset terminals to some sane default terminal settings? Often
firmware or other causes will leave an unreadable font color or break line
feeds, and the terminal tends to stay that way until a shell clears and
resets the screen. If a shell can do it, surely loader could do it (or even
earlier, if it is not too complex). To my knowledge it should be just a
matter of printing some escape codes before starting the normal boot menus
when using a serial console. I believe this is already done when the
console is set to vidconsole or efi.

Thoughts? Suggestions?

-- 
Ryan Moeller
iXsystems, Inc.
OS Developer
Email: ryan@iXsystems.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGuotKD9d4mXoWpH3Wy5r5COvwhQ4iGEfngPZ3COXFaz-5851A>