Skip to content

ttyplot 1.4.1 (legacy)

Choose a tag to compare

@tenox7 tenox7 released this 14 Jul 03:19

Legacy build for old operating systems — UnixWare, QNX, IRIX, Tru64, AIX, HP-UX,
old Solaris, and anything else with a K&R-ish C compiler and narrow-character curses.

This is not the current ttyplot — for modern systems use the latest 1.7.x release.
1.4.1 is a maintained "old" line: it keeps the simple, portable model (blocking input,
curses.h, no select/threads/wide-char) but back-ports the worthwhile features added
since 1.4.

Forked from 1.5.2, the last release before 1.6.0 switched to select()/self-pipe
signals and wide-char ncurses.

Included

  • true negative values with a zero line (one and two series), -S softmin
  • colors (-C schemes and numeric; use_default_colors guarded for SVr4 curses)
  • robust input: skip garbage tokens, multiple values per line, reject NaN/inf
  • sub-second rate mode, smaller-window support, FAKETIME, divide-by-zero guards
  • restored _AIX / __sun / NOACS / NOGETMAXYX portability guards

Not included (need wide-char ncurses or a select loop)

braille -b, block -B, aalib -A, keyboard hotkeys, independent clock refresh.

Build

make                    # cc ttyplot.c -lcurses
make CURSES=-lncurses   # if system curses is named ncurses
# crusty targets:
make CPPFLAGS=-DNOACS CURSES=-lcurses     # UnixWare / QNX
make CURSES=-lcurses                      # AIX / Solaris / IRIX / Tru64 / HP-UX

No pkg-config, no -lm. Source-only release; build from the branch.
See PORTING.md on the legacy branch for the full port analysis.