The documentation for
termios says something like this:
Translate carriage return to newline on input (unless IGNCR is set).
Map CR to NL on output.
But what does "on input" and "on output" means exactly? This is what I think:
- "on input" means when the terminal sends something to the tty device.
- "on output" means when
bash(or any other process) sends something to the tty device.
Am I correct?