opnsense-src/stand/lua
Warner Losh f2103edaf5 loader: Fix boot menu on BIOS
Only the gfx-enabled boot loader supports unicode. Otherwise, we have to
use the old cons25 / ibmpc upper code page drawing characters. Check to
see if we have the gfx.term_drawbox function. If we do, we support the
unicode drawing characters. If we don't, then we have an older loader
that doesn't support it *OR* we have the reduced function, text-only
boot loader. In either of those cases, we need to use the old graphics
characters. Abstract all those details into core.hasUnicode function.

PR: 282465
MFC After: 2 day
Sponsored by: Netflix
Differential Revision:	https://reviews.freebsd.org/D47403

(cherry picked from commit c2ba66d4d01f23303352bfe3cbd50ff5d9a05947)
2024-11-03 17:51:24 -07:00
..
cli.lua Revert "loader/lua: Remove pager shim" 2024-08-01 08:49:54 -06:00
cli.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
color.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
color.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
config.lua Revert "loader/lua: Remove workaround for command_error" 2024-08-01 08:49:54 -06:00
config.lua.8 stand/lua: always allow overriding with local config files 2024-04-16 13:54:21 -06:00
core.lua loader: Fix boot menu on BIOS 2024-11-03 17:51:24 -07:00
core.lua.8 stand: Print a warning of the loader is too old 2024-08-01 08:49:54 -06:00
drawer.lua loader: Fix boot menu on BIOS 2024-11-03 17:51:24 -07:00
drawer.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
gfx-beastie.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx-beastiebw.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx-fbsdbw.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx-orb.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx-orbbw.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx.lua.8 loader: Move gfx functions to gfx.lua.8 2024-04-16 13:54:24 -06:00
hook.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
hook.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
loader.conf.lua.5 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
loader.lua loader: Load platform entropy even without menu 2024-09-29 08:24:53 -07:00
loader.lua.8 loader: Add loader.exit 2024-04-16 13:54:28 -06:00
Makefile loader: Move gfx functions to gfx.lua.8 2024-04-16 13:54:24 -06:00
Makefile.depend loader: add target for dirdeps build 2024-04-15 20:32:03 -06:00
menu.lua stand: Add "Loader needs updating" to the first menu item" 2024-08-01 08:49:54 -06:00
menu.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
password.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
password.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
screen.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
screen.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00