]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352194: lualoader: Revert to ASCII menu frame for serial console
authorKyle Evans <kevans@FreeBSD.org>
Sun, 15 Sep 2019 02:48:15 +0000 (02:48 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sun, 15 Sep 2019 02:48:15 +0000 (02:48 +0000)
commit23601245ba59be11e52227838b997ae61841f2ba
tree5d16b62017079080aa2b6262beb130545047f5c6
parent2b908947b01e5d6a8b185bcd87551351100e45a2
MFC r352194: lualoader: Revert to ASCII menu frame for serial console

The box drawing characters we use aren't necessarily safe with a serial
console; for instance, in the report by npn@, these were causing his xterm
to send back a sequence that lua picked up as input and halted the boot.
This is less than ideal.

Fallback to ASCII frames for console with 'comconsole' in it.  This is a
partial revert r338108 by imp@ -- instead of removing the menu entirely and
disabling color/cursor sequences, just reverting the default frame to ASCII
is enough to not break in this setup.
stand/lua/core.lua
stand/lua/drawer.lua