3 ms·
It is the right way. Different terminals require different line endings and abstracting that to a single new line character makes sense. The UNIX tty driver the
by aap_ 10y ago
It is the right way. Different terminals require different line endings and abstracting that to a single new line character makes sense. The UNIX tty driver then translates that new line character to what is appropriate to start a new line on a given terminal. In most cases CRLF is enough but older devices also needed additional delays.
- tzs 10y agoIf you are going with the abstract and translate approach, wouldn't the right way be to abstract to RS?