This chapter will introduce pseudo-terminal applications. Many programs (such as SQL or SSH clients) are built as pseudo-terminal because it enables interactive use from inside a terminal. These types of application are very important because they allow us to have control of an application in an environment where there is no graphical interface available, such as when connecting via Secure Shell (SSH) to a server. This chapter will guide you through the creation of some applications of this type.
The following topics will be covered in this chapter:
- Terminals and pseudo-terminals
- Basic pseudo-terminals
- Advanced pseudo-terminals