mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/20] fbconsole: support TUI-relevant escape sequences
@ 2026-05-03  8:33 Ahmad Fatoum
  2026-05-03  8:33 ` [PATCH 01/20] fbconsole: remove incomplete CSI_CNT state Ahmad Fatoum
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: Ahmad Fatoum @ 2026-05-03  8:33 UTC (permalink / raw)
  To: barebox

A BIOS-style TUI in barebox could go a long way towards making barebox
more user friendly: It could list different parameters with familiar
controls instead of having to juggle around commands like varinfo,
devinfo and magicvar.

This could especially be the case for barebox running on laptops.
Laptops tend to not have a serial port routed out though, so the TUI we
provide will need to be displayed on the framebuffer.

Instead of adding a graphic toolkit to barebox, let's flesh out the
framebuffer console support, so it can display a TUI that can avoid full
redraws. Bonus benefit: The same UI will be usable over serial as well.

A mockup of how this could look like is available at barebox.org/demo when
running the tui command.

Ahmad Fatoum (20):
  fbconsole: remove incomplete CSI_CNT state
  fbconsole: improve handling of unexpected escape sequences
  fbconsole: fix handling of CSI buffer overflow
  fbconsole: do not reset cursor visibility alongside attributes
  fbconsole: respect hidden cursor everywhere
  fbconsole: call fb_blit_area for every drawchar
  fbconsole: skip fb_flush when processing escape sequences
  fbconsole: factor out helpers for clamped cursor row/col setting
  fbconsole: precompute foreground/background colors
  fbconsole: collect renderable state into struct fbc_screen_state
  fbconsole: implement CSI A/B/C/D cursor movement sequences
  fbconsole: restrict cursor visibility to DEC private mode 25
  fbconsole: add new clear_chars helper
  fbconsole: implement erase entire line CSI
  fbconsole: support ESC[0J and ESC[1J partial screen clear
  fbconsole: implement DEC save/restore cursor
  fbconsole: implement VT100 deferred wrap (last column flag)
  fbconsole: implement alternate screen buffer (ESC[?1049h/l)
  fbconsole: adapt logging depending on activated streams
  netconsole: suppress log message when opening console file

 common/console.c          |   8 +-
 common/serdev.c           |   2 +-
 drivers/video/fbconsole.c | 541 ++++++++++++++++++++++++++------------
 include/console.h         |   4 +-
 net/netconsole.c          |   5 +-
 5 files changed, 376 insertions(+), 184 deletions(-)

-- 
2.47.3




^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2026-05-07 10:40 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-03  8:33 [PATCH 00/20] fbconsole: support TUI-relevant escape sequences Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 01/20] fbconsole: remove incomplete CSI_CNT state Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 02/20] fbconsole: improve handling of unexpected escape sequences Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 03/20] fbconsole: fix handling of CSI buffer overflow Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 04/20] fbconsole: do not reset cursor visibility alongside attributes Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 05/20] fbconsole: respect hidden cursor everywhere Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 06/20] fbconsole: call fb_blit_area for every drawchar Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 07/20] fbconsole: skip fb_flush when processing escape sequences Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 08/20] fbconsole: factor out helpers for clamped cursor row/col setting Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 09/20] fbconsole: precompute foreground/background colors Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 10/20] fbconsole: collect renderable state into struct fbc_screen_state Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 11/20] fbconsole: implement CSI A/B/C/D cursor movement sequences Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 12/20] fbconsole: restrict cursor visibility to DEC private mode 25 Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 13/20] fbconsole: add new clear_chars helper Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 14/20] fbconsole: implement erase entire line CSI Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 15/20] fbconsole: support ESC[0J and ESC[1J partial screen clear Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 16/20] fbconsole: implement DEC save/restore cursor Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 17/20] fbconsole: implement VT100 deferred wrap (last column flag) Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 18/20] fbconsole: implement alternate screen buffer (ESC[?1049h/l) Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 19/20] fbconsole: adapt logging depending on activated streams Ahmad Fatoum
2026-05-03  8:33 ` [PATCH 20/20] netconsole: suppress log message when opening console file Ahmad Fatoum
2026-05-07 10:38 ` [PATCH 00/20] fbconsole: support TUI-relevant escape sequences Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox