Resetting console on boot
Lev Serebryakov
lev at FreeBSD.org
Tue Jul 16 10:55:29 UTC 2019
On 15.07.2019 23:29, Ryan Moeller wrote:
> 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?
I've proposed this long ago for serial terminals:
https://reviews.freebsd.org/D17102
https://reviews.freebsd.org/D17103
I have hardware which sets "black on black" before passing control to OS.
--
// Lev Serebryakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20190716/46865439/attachment.sig>
More information about the freebsd-hackers
mailing list