Next: Using terminfo
Up: Terminal Control the Hard
Previous: Using the Terminal Interface
Contents
- The program in Fig. 12.2 did manipulate some terminal attributes, but remained in canonical mode. The http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/rawmode.c program in Fig. 12.3 puts the terminal in raw mode and performs
its own processing on special characters and signals.
Figure 12.3:
Puts the terminal in raw mode.
|
Cem Ozdogan
2007-05-16