Next: Input and Output
Up: Screen Manipulation with ncurses
Previous: About Windows
Contents
The http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/initcurs.c program and also other http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/newterm.c program in Fig. 12.5 illustrate the usage of the ncurses routines. The first program shows the standard ncurses initialization and termination
idioms, using initscr() and endwin(), while the second one demonstrates the proper use of newterm() and delscreen().
Figure 12.5:
UPPER: Shows the initialization and terminations. LOWER: Demonstrates the usage of newterm and delscreen.
|
Cem Ozdogan
2007-05-16