/christmas

Java TUI (text-based user interface) widget toolkit which aims at using no native code at all (even on Windows platforms)

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Christmas

A Java TUI (text-based user interface) widget toolkit which aims at using no native code at all (even on Windows platforms).

Features

  • Support for common terminal types (ansi, linux, xterm*, screen*, vt*, dtterm etc.) and terminal emulators (XTerm, RXVT, PuTTY, DtTerm etc).
  • Support for 16 ANSI colours. Bright foreground is implemented using either BOLD attribute or AIXTerm control sequences (terminal-dependent). Bright background is implemented using either BLINK attribute (RXVT family) or AIXTerm control sequences (terminal-dependent).
  • Pseudographics via either Unicode line drawing characters (if locale's codepage supports it -- i. e. for UTF-8, IBM866, KOI8-R) or VT100 line drawing characters.
  • Continuous window size querying (for terminals which have this capability). Support for SIGWINCH (UNIX) is planned.
  • Correct handling of most control and escape sequences, incl. function keys (ANSI/Sun/SCO etc.)
  • Custom window titles supported.
  • Own "database" of terminal capabilities

Running

mvn exec:java

Similar libraries

Links

Screenshots

  • cmd.exe on Windows 7: cmd.exe on Windows 7
  • PuTTY on Windows 7: PuTTY on Windows 7
  • xterm on Linux: xterm on Linux
  • mrxvt on Linux: mrxvt on Linux
  • urxvt on Linux: urxvt on Linux
  • rxvt-unicode on Linux: rxvt-unicode
  • gnome-terminal on Linux: gnome-terminal
  • xfce4-terminal on Linux: xfce4-terminal
  • konsole on Linux: konsole on Linux