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