Learn curses
Tutorials that teach curses programming in C, from a first program to the finer points. Read them in order if you are new to curses: each one builds on the ones before it.
Tutorials
Section titled “Tutorials”- Getting started: what curses is, where it came from, how to get it, and a first program.
- Windows and screen updates: windows, the screen, and how a refresh updates the terminal.
- Output: putting characters and strings on a window, and drawing lines and boxes.
- Attributes and colors: bold, underline, reverse video and color.
- Input: reading characters and strings from the keyboard.
- Keyboard: function keys, arrow keys and other special keys.
- Mouse: mouse events and a menu you can click.
- Screen manipulation and other features: coordinates, saving the screen, the cursor, and leaving curses mode.
- Initialization, wrapup and debugging: starting and ending a curses session, and tracing a program.
- Hints, tips and compatibility: cautions, resizing, several terminals, and older curses.