Re: Renaming working on ixampl

On Tue, 2023-08-22 at 09:04 +0100, Norm Tovey-Walsh wrote:
> 
> 
> I think Windows puts the CR before the LF.

This was done originally (pre-Windows, e.g. DOS) so that the teletype
could advance the paper while the print head was moving back to the
left margin after getting the CR. If you did it the other way round, LF
CR, the paper would advance, the print head would start moving, but the
teletype wouldn't wait until it reached the margin before printing
subsequent characters, it didn't have a buffer and likely no XOFF/XON.
It'd print them wherever the print head happened to be on its journey
to the margin.

Linux has still retained the Unix ability to send up to 3 NUL or DEL
characters after a carriage return to minimize this problem.

Just in case anyone was wondering :)

-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org

Received on Tuesday, 22 August 2023 16:58:54 UTC