3

I want to make a Linux program with a text-based user interface. What is the best way to go about this? Upon searching the internet I discovered the curses and ncurses libraries. What are the differences between the two, and which if any is better (or is there an even better option)? I prefer C but am open to using other languages.

Thanks

M.J. Rayburn
  • 509
  • 4
  • 14
Mahdi
  • 967
  • 4
  • 18
  • 34

1 Answers1

2

The curses library is an old ATT unix thing, its equivalent free library is ncurses, available for Linux and other systems.

You could also use the GNU readline library, particularly if you want a single-line, but editable and completable, interface.

Basile Starynkevitch
  • 223,805
  • 18
  • 296
  • 547