Toomas Soome
8074c5cc86
loader: fix indentation in efi_console and vidconsole
...
Remove extra tab.
Reported by: yuripv
2019-09-25 07:36:35 +00:00
Toomas Soome
233ab015c0
loader: add teken.fg_color and teken.bg_color variables
...
Add settable variables to control teken default color attributes.
The supported colors are 0-7 or basic color names:
black, red, green, brown, blue, magenta, cyan, white.
The current implementation does add some duplication which will be addressed
later.
2019-09-25 07:09:25 +00:00
Toomas Soome
e7da26b6ca
loader: vidconsole should set LINES and COLUMNS
...
Set LINES and COLUMNS based on terminal dimensions.
2019-09-10 21:53:42 +00:00
Toomas Soome
56758831fe
loader: use teken teminal emulator for x86 and uefi
...
Replace mini cons25 emulator with teken, this does enable us proper console
terminal for loader and will make it possible to implement different
back end callbacks to draw to screen.
At this time we still only "draw" in text mode.
2019-09-05 22:15:50 +00:00
Toomas Soome
2a0e2c88db
loader: no-TERM_EMU is broken now
...
If TERM_EMU is not defined, we do not have curx variable. Use conout mode
for efi and expose get_pos() for i386.
2019-05-09 12:14:52 +00:00
Toomas Soome
686d524bc9
loader: implement proper 8 char tab stops
...
The current console code is printing out 8 spaces for tab, calculate
the amount of spaces based on tab stops.
2019-05-09 10:37:57 +00:00
Kyle Evans
bc40337bb0
loader consoles: Implement SGR 24, 25
...
Mostly for completeness sake- implement 24 (no underline) and 25 (no blink)
MFC after: 3 days
2018-03-24 02:01:25 +00:00
Kyle Evans
171403a3b3
Match broken style of vidconsole.c
...
This particular function uses a broken mix of indentation styles. Match it
for the newly added SGR 22 bits.
Reported by: jkim
X-MFC-With: r331416
2018-03-23 17:22:28 +00:00
Kyle Evans
88ccfa7497
Loader consoles: Implement SGR 22, reset intensity
...
MFC after: 3 days
2018-03-23 03:48:45 +00:00
Warner Losh
ca987d4641
Move sys/boot to stand. Fix all references to new location
...
Sponsored by: Netflix
2017-11-14 23:02:19 +00:00