|
|
Log in / Subscribe / Register

Better tools for kernel developers

Better tools for kernel developers

Posted Feb 7, 2020 14:18 UTC (Fri) by karim (subscriber, #114)
In reply to: Better tools for kernel developers by PaulMcKenney
Parent article: Better tools for kernel developers

This is the bit that got me spilling some coffee: "Indeed, some of them got started using punch cards and may still be unconvinced of the virtues of, say, text editors."


to post comments

Better tools for kernel developers

Posted Feb 7, 2020 15:57 UTC (Fri) by PaulMcKenney (✭ supporter ✭, #9624) [Link] (1 responses)

Heh! I cannot but plead guilty to charges as read on the first part of that statement!!!

That said, one of the first screen-oriented editors I ever used featured a physical knob that you turned to move the cursor through the text. 512x512 pixels, any color you wanted as long as it was either a pale green or a moderate grey, and frame buffers are for wimps!

And get your touchpad off my lawn!!! :-)

But for me, nothing quite like a few years using punched cards and punched tape to build an appreciation for even line-oriented editors like "ed".

Cue the guys who did their first few years of programming manually switching in binary code along with their jeers of "assemblers are for wimps!!!" :-)

Better tools for kernel developers

Posted Feb 7, 2020 17:34 UTC (Fri) by karim (subscriber, #114) [Link]

All I want to know is why LWN doesn't have a social media function to repost golden nuggets like this ;)

P.S.: Thanks for sharing, this is awesome.

Better tools for kernel developers

Posted Feb 7, 2020 17:14 UTC (Fri) by jem (subscriber, #24231) [Link] (4 responses)

If we still used punch cards we wouldn't need to be bothered with questions like "is the newline character a text line separator or a terminator." I.e. should a text file end with a line feed character or not. Also, no more hard to read overlong code lines.

Better tools for kernel developers

Posted Feb 7, 2020 17:31 UTC (Fri) by PaulMcKenney (✭ supporter ✭, #9624) [Link]

Ah, but the FORTRAN continuation column!

Better tools for kernel developers

Posted Feb 21, 2020 21:48 UTC (Fri) by Wol (subscriber, #4433) [Link] (2 responses)

Well, when the company I worked for first got a daisywheel printer, we discovered we actually needed <cr> to be carriage return, and <lf> to be linefeed. The printer driver read the print file line by line, with a maximum line length of 256. If your line was more than 256 characters long (easily achieved if you wanted bold text on an 80-char line) the driver stuck a line-feed in, splitting what should be one line on to two.

So imho, the *nix convention "line feed means carriage return" is actually broken ...

Cheers,
Wol

Better tools for kernel developers

Posted Feb 22, 2020 2:06 UTC (Sat) by PaulMcKenney (✭ supporter ✭, #9624) [Link]

Bytes were expensive back then! But yes, some of the old drivers would add the <cr> for you. If properly configured, anyway. :-/

Better tools for kernel developers

Posted Feb 22, 2020 19:08 UTC (Sat) by jem (subscriber, #24231) [Link]

The line feed character represents a newline at a higher abstraction level. Unix uses the line feed character to represent a line break in a text file. This has little to do with what character(s) are actually output when the file is sent to a terminal or a printer; the translation is done by the terminal line driver. How the newline should be output is determined by the line settings.

The same goes for input: conventionally, the Return (CR) key is used to terminate a line when typing on a (virtual) terminal, but the line break ends up as a line feed character in a file or in the input to a process.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds