3 ms·
I'm not trying to be obtuse but I am actually confused how a modern machine correctly interprets CRLF based on the description in this post. If a modern machin
by ericyd 2y ago
I'm not trying to be obtuse but I am actually confused how a modern machine correctly interprets CRLF based on the description in this post.
If a modern machine interprets LF as a newline, and the cursor is moved to the left of the current row before the newline is issued, wouldn't that add a newline _before_ the current line, i.e. a newline before the left most character of the current line? Obviously this isn't how it works but I don't understand why not.
- chowells 2y agoLine feed is "move the cursor down one line". It's irrelevant what is currently on the line. These are printer/terminal control instructions, not text editing instructions.
- ericyd 2y agoOk, I conflated terminal instruction with text editing instruction. I thought the post made them sound like they behave the same but it sounds like I misunderstood, thank you.
- BlueTemplar 2y agoIf you are thinking of it being more like pressing "Home" then "Enter", it would seem that "Enter" actually works more like LFCR ?