Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. In Unix, a pseudo terminal is a pseudo-device pair that provides a text terminal interface without associated virtual console, computer terminal or serial port hardware. Instead, a process assumes the role of the underlying hardware for the pseudo terminal session. The slave device file, which generally has a nomenclature of /dev/tty[p-za-e][0-9a-f], has the appearance...
Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. In Unix, a pseudo terminal is a pseudo-device pair that provides a text terminal interface without associated virtual console, computer terminal or serial port hardware. Instead, a process assumes the role of the underlying hardware for the pseudo terminal session. The slave device file, which generally has a nomenclature of /dev/tty[p-za-e][0-9a-f], has the appearance and supported system calls of any text terminal. Thus it has the understanding of a login session and session leader process (which is typically the shell program). The master device file, which generally has a nomenclature of /dev/pty[p-za-e][0-9a-f], is the endpoint for communication with the terminal emulator. It receives the control requests and information from the other party over this interface and responds accordingly. With the typical [p-za-e] naming, there can be at most 256 tty pairs. Also, finding the first free pty master is not entirely race-free.
Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.
В книге приведены примеры решения различных практических задач на языке Python и предложено детальное пошаговое описание процесса написания программы для каждой из них. Подобраны задачи, которые имеют несколько вариантов решений и формируют алгоритмическое мышление. Показаны основы структурного, динамического, объектно-ориентированного, функционального программирования. Приведены способы работы с...
Оставить комментарий