Re:Introducing extended line endings support in Notepad
by mark-r on Tuesday May 08, 2018 @05:00PM
(#17025045)
The standard line ending of the '70s was CR/LF, because the printers commonly used as interactive terminals required them both. I wonder how that worked on the first Unix systems?
[ Parent
| on HN ]
Re:Introducing extended line endings support in Notepad
by cesarb on Tuesday May 08, 2018 @09:31PM
(#17026806)
> I wonder how that worked on the first Unix systems?
Probably the same way it still works on today's Unix systems: it converts NL to CR+NL on output. See the manpage for the stty command:
Output settings:
[-]onlcr
translate newline to carriage return-newline