]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: Revert to ASCII menu frame for serial console
authorkevans <kevans@FreeBSD.org>
Tue, 10 Sep 2019 21:30:38 +0000 (21:30 +0000)
committerkevans <kevans@FreeBSD.org>
Tue, 10 Sep 2019 21:30:38 +0000 (21:30 +0000)
commitd03c822884bb0561bce72ef34139acf927687767
treec8621dfd74ffd84f62aca72f1c84790ac1a2d453
parent556ce8d8d36e5ab28572665036c6bbca8a31fe28
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.

Reported by: npn
Triaged and recommended by: tsoome
stand/lua/core.lua
stand/lua/drawer.lua