This session starts with character and block special files and their attributes. The terminal devices are discussed in detail by reading and writing the terminal devices. The attributes of terminal driver (Input, output, control, and local processing) are discussed in detail. Modifying terminal attributes on the shell using stty command is shown. The two main modes of terminal driver Canonical and non-canonical are discussed. Finally accessing and modifying the terminal attributes from within a C program using system(), tcgetattr(), tcsetattr() and ioctl() system call are discussed in details with example codes.

Email: Example Codes:

Leave a Reply

Your email address will not be published. Required fields are marked *