Skip to content

proxhawk-tui 2.2.0

Choose a tag to compare

@Mrdindon Mrdindon released this 10 Oct 21:47
· 3 commits to main since this release

Linux console of the node (screen and keyboard, IPMI / KVM)

On the console of the node itself (TERM=linux) the kernel draws text with a bitmap font of at most 512 characters: a Nerd Font cannot be used there, and the default console fonts lack most symbols and every braille pattern, so the interface showed squares instead of icons and graphs.

proxhawk-tui now:

  • loads its own console font while it runs (icons as small symbols, gauges, braille graphs, letters of 24 languages) and puts the previous font back when it quits;
  • replaces whatever the console font cannot draw (icons by letters, graphs by dots) when the font is not loaded (console_font = off, or no display attached);
  • uses English on that console for the languages it cannot draw (Chinese, Japanese, Korean, Arabic, Hebrew...), with a message.

Setting console_font: auto (default), 256, 512, off. Nothing changes over SSH, where the terminal of your computer draws the text. Details: docs/CONFIGURATION.md.

The fonts are built from GNU Unifont (GPL-2+ with the font embedding exception / OFL 1.1).

The console mode was checked by simulation and by rendering the fonts; loading the font by the kernel could not be tested on the development node (no display attached). Feedback from a real console is welcome.

Update

proxhawk-tui upgrade            # from 2.1.0

From an older version (or from pvetty): run the install line once.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/Mrdindon/proxhawk-tui/main/install.sh)"