Skip to main content
added 65 characters in body
Source Link
Eduardo Trápani
  • 14.2k
  • 1
  • 21
  • 38

What is the relation between tty driver and line discipline

The process communicates with the discipline. But the discipline might be raw (a no-op, null discipline), in which case it does nothing more than pass the messages.

That's why the stack in the O'Reilly book has a passthrough on the left and a line discipline on the right. It's their way of explaining that no-op/raw/null line discipline (raw is the actual name, and you can set it with stty raw).

The process communicates with the discipline. But the discipline might be raw (a no-op, null discipline), in which case it does nothing more than pass the messages.

That's why the stack in the O'Reilly book has a passthrough on the left and a line discipline on the right. It's their way of explaining that no-op/raw/null line discipline (raw is the actual name, and you can set it with stty raw).

What is the relation between tty driver and line discipline

The process communicates with the discipline. But the discipline might be raw (a no-op, null discipline), in which case it does nothing more than pass the messages.

That's why the stack in the O'Reilly book has a passthrough on the left and a line discipline on the right. It's their way of explaining that no-op/raw/null line discipline (raw is the actual name, and you can set it with stty raw).

Source Link
Eduardo Trápani
  • 14.2k
  • 1
  • 21
  • 38

The process communicates with the discipline. But the discipline might be raw (a no-op, null discipline), in which case it does nothing more than pass the messages.

That's why the stack in the O'Reilly book has a passthrough on the left and a line discipline on the right. It's their way of explaining that no-op/raw/null line discipline (raw is the actual name, and you can set it with stty raw).