Off-Topic > Off-Topic - Tiny Core Lounge

UNIX - A History and a Memoir - Brian Kernighan's latest

<< < (2/2)

PDP-8:
Most of them just use whatever is convenient - BSD's, MacOs, Linux and whatever turns them on.

My main interest in the history is mostly pre-divestiture of ATT.  The history of pipes everyone knows, but some don't realize the convenience of "everything is a file" - like device files you could merely cat to, without having to drop into a Job Control Language subsystem, answer about 20 questions about the file specifics, and print or save.

cat myfile > /dev/lpr

Mindblowingly convenient.  Suddenly you don't have to be the device-driver with a lot of arcane printer device knowledge as you would with other systems of the day.

My biggest history kick is how McIlroy showed back in '86 or so that most everyone is still using 1960's JCL techniques, when using DD with IF= and OF= pairs.

Nowadays, I just do it the unix-way:


--- Code: ---dd < input > output
--- End code ---

I make far FEWER dd mistakes using the unix notation - it just reads right to me, whereas with IF / OF pairs, I easily get them mixed if I'm not paying attention.

That blew my mind because even today, everyone uses the JCL way of doing it from the 60's.  I thought that was the only way until a few years ago, and just smiled how this could be hidden unless you dug up the history...

I'm weird I guess - all this stuff we take for granted.  Imagine running unix without any pipes and having to use redirection and temporary files to delete all the time?  Or no device drivers - dropping into a subset language of it's own just to manipulate files getting them into and out of filesystems based solely on a manufacturer's spec-sheet - all of them different and YOU have to get it right...

Dunno' all these years and it still seems so innovative to me...

hiro:
yep, agreed. i knew this much when i first saw your username pop up here ;)

PDP-8:
Heh, believe it or not, I have never touched a PDP-8!  My first computer was a Vic-20.

One thing missed about pipes was that it wasn't just a cool thing - it was totally practical from a limited-resource unix standpoint on machines of the day with low ram.  We forget that the PDP7 / 11's were the "raspberry pi's" of the day compared to the PDP-10, which management denied them after pulling out of Multics....

So you have a text-file you want to process that is a whopping one-megabyte big to analyze, like the Federalist Papers and feed it into your piddling PDP-11.  Without pipes, you couldn't, since trying to load that data into an editor would max out the ram and crash.

But with pipes handling just a stream going through filters, you could!  And heh, back in those days there was no virtual memory.

Anyhow - I'll stop - I just sit back in amazement at what we have now, but made all the better by knowing what a PITA it was to compute back in those days by researching very early history.  Even though the code is not ATT, the principles still live on and fascinate me to no end.

Rich:
Hi PDP-8

--- Quote from: PDP-8 on December 09, 2019, 05:05:32 AM --- ... So you have a text-file you want to process that is a whopping one-megabyte big to analyze, like the Federalist Papers and feed it into your piddling PDP-11.  Without pipes, you couldn't, since trying to load that data into an editor would max out the ram and crash. ...
--- End quote ---
That' not a fair statement. Now you are just comparing what a pipe can do to what a broken editor can't do. Back in the early 80s we
used Intel Intellec Series II blue boxes running the ISIS operating system. If you were paging through a large file with the editor (aedit)
the 8" floppy drive would periodically start clanking as more data was requested. This was a machine running an 8080/85 with 64K
of RAM, half of which was used by the operating system.

PDP-8:
Ah, I didn't know that!

uP development and o/s well prior to the well-known msdos saga always interests me too.  Early stuff, and the people behind it.  And not just Gary Kildall either.

You probably know this already, but a good page on the Intel stuff I browse occasionally for updates (Isis and so forth):

http://www.retrotechnology.com/dri/isis.html

All this stuff was so interesting before it just ultimately became home-computer marketing, joysticks, and game cartridges... and then finally blossomed into unix workstations and the like...  seeing the minis and micros converge was very cool..

Navigation

[0] Message Index

[*] Previous page

Go to full version