Line Discipline in Unix/Linux Machines
Posted on 06 July, 2020
Line discipline handles things like backspace and also generates various signals for special characters like Ctrl + C/Z etc.
stty -a
will display all these settings. To know more do man ssty
.
Demo
Other than Ctrl+c and Ctrl+z which you already know about. Here are some other tricks.
Fire up your terminal. And start typing....
Apart from these line input specific keyboard shortcuts. We also have ...
Multiline Input
Use /
for continuing the multiline input.
A better version
Make it executable and run.
All of this is controlled by the tty
driver
Resources
Last updated