Unix Turns 40
wandazulu writes "Forty years ago this summer, Ken Thompson sat down and wrote a small operating system that would eventually be called Unix. An article at ComputerWorld describes the history, present, and future of what could arguably be called the most important operating system of them all. 'Thompson and a colleague, Dennis Ritchie, had been feeling adrift since Bell Labs had withdrawn earlier in the year from a troubled project to develop a time-sharing system called Multics (Multiplexed Information and Computing Service). They had no desire to stick with any of the batch operating systems that predominated at the time, nor did they want to reinvent Multics, which they saw as grotesque and unwieldy. After batting around some ideas for a new system, Thompson wrote the first version of Unix, which the pair would continue to develop over the next several years with the help of colleagues Doug McIlroy, Joe Ossanna and Rudd Canaday.'"
find my_lawn -name kids* -exec rm -rf {} \;
Monstar L
We need a fresh new operating system like Windows 7.
Not a bad retrospective, and interesting in that it illustrates some of the reasons for Unix's success: availability of source, and the ability for the user to create and replace tools easily. One wonders how those lessons might be applied not necessarily to operating systems or even computing, but to other industries and technical endeavours.
Please donate your spare CPU cycles to help fight cancer and other diseases
40 is the new 30!
Unix just turned 40, and Tetris just turned 25. What do they have in common other than closely spaced birthdays? They were both first developed on PDP-11 hardware (Unix on a PDP-11, Tetris on a Russian clone). And they've both been cloned, early and often.
U.S. copyright explicitly doesn't apply to methods of operation. Title 17, United States Code, section 102(b). This makes it legal to "clone" a computer program by observing its method of operation. But SCO has tried to use copyright to shut down Unix clones, and The Tetris Company has tried to use copyright to shut down Tetris clones. SCO already lost its case (there is no copyrightable piece of Unix in Linux), but the other case (Tetris v. BioSocia) is still pending.
And despite Tetris inventor Alexey Pajitnov's expressed disdain for free software, two servers operated by Tetris (zone.tetris.com and www.tetrisfriends.com) are run using GNU/Linux.
Yesss. (Expecting +5 Informative!)
Ezekiel 23:20
For those who haven't read it, this book is a GREAT read: A quarter Century of Unix by Peter H Salus Highly recommended, and once you've read it you'll suddenly understand why a lot of stuff is the way it is. Hat's off to the Best. Operating System. Ever.
"He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
Ritchie invented C, it's funny that Ken worked on B with some help from Ritchie, C was the successor to B
In honor of Unix's 40th anniversary, at 10:00 tonight there will be a celebratory Launching of the Chairs. It's open to the public, but seats are expected to go fast so you should plan to come early!
#DeleteChrome
I can't help but point out the obvious here, but Android is based upon linux.
http://web.mit.edu/~simsong/www/ugh.pdf
"Two of the most famous products of Berkeley are LSD and Unix.
I don't think that is a coincidence."
...there is much greater latency on opening stdout and even a few dribbles after eof.
A small correction to the submission:
;-)
Multics was believed to have stood for "Many Unnecessarily Large Tables In Core Simultaneously".
When I started doing Unix Admin professionally Unix was just turning 30, Linux was poised to take over the Desktop, Mac OS X was just a glimmer of hope, and Sun was the king of commercial Unix.
When I started using Minix, Unix was only 20, but RMS was kvetching about source code (and Hurd was Coming Soon), BSD had just won it's freedom, and Steve Jobs was doing cool things over at NeXT. Unix was just leaving it's First "Golden Age"...
Now, at 40, Mac OS X is the most used Unix system, Sun was just bought cheap, most other commercial Unix systems are defunct... But with Android, Pre, and iPhone all putting *nix systems in the palms of millions, Macs selling more than ever, and many companies offering Linux pre-installed in the box, Unix is as relevant as ever.
I really, really want to say that Ken and Dennis invented C to make unix but I'm not completely sure. I could look it up, but I'm interested to hear what people have to say here. I mean, they're the K&R of the original C book, right?
No. The 'R' in "K&R" is indeed Dennis Ritchie, but the 'K' is Brian Kernighan.
"Convictions are more dangerous enemies of truth than lies."
'I really, really want to say that Ken and Dennis invented C to make unix but I'm not completely sure. I could look it up, but I'm interested to hear what people have to say here'
For the definitive account, see:
http://www.galactic-guide.com/articles/2U20.html
'Dennis and I [Thompson] were responsible for the operating environment. We looked at Multics and designed the new system to be as complex and cryptic as possible to maximize casual users' frustration levels, calling it Unix as a parody of Multics, as well as other more risque allusions. Then Dennis and Brian worked on a truly warped version of Pascal, called 'A'. When we found others were actually trying to create real programs with A, we quickly added additional cryptic features and evolved into B, BCPL and finally C.'
It's a load of horseshit, as Linus has repeatedly explained. Linux is not based on Minix. The architecture of the two kernels is completely dissimilar, and Linus has many times made his feelings known about what he thinks of microkernels.
The world's burning. Moped Jesus spotted on I50. Details at 11.
The first Unix was written in PDP-7 assembly. A "port" to PDP-11 involved a rewrite in PDP-11 assembly, and AFAIR the second or third (or fourth?) edition was the one to be the first that was written in a high-level, portable language (B or C? Can't remember). One thing I remember for sure is that early Unix has been rewritten several times.
Not exactly. RTFA. Unix was originally written in assembler on a PDP-7 in 1969. Thompson developed B, and some Unix development continued using B on the PDP-7. Ritchie developed a successor, C, finishing in 1972; in 1973 Thompson ported most of the Unix kernel to C on a PDP-11.
So C wasn't developed to "create" Unix; Unix was a precursor. C was indeed designed for implementing system software though.
Brian Kernighan -- the K of K&R got involved in C development later, and was indeed one of the two authors of the seminal K&R.
Every generation has a mythology. Every millenium has a doomsday cult. Every legend gets the distortion knob wound up until the speaker melts. Archeologists at the University of Helsinki today uncovered what could be the earliest known writings from the Cult of Tux, a fanatical religious sect that flourished during the early Silicon Age, around the dawn of the third millenium AD...
The Gospel of Tux (v1.0)
In the beginning Turing created the Machine.
And the Machine was crufty and bogacious, existing in theory only. And von Neumann looked upon the Machine, and saw that it was crufty. He divided the Machine into two Abstractions, the Data and the Code, and yet the two were one Architecture. This is a great Mystery, and the beginning of wisdom.
And von Neumann spoke unto the Architecture, and blessed it, saying, "Go forth and replicate, freely exchanging data and code, and bring forth all manner of devices unto the earth." And it was so, and it was cool. The Architecture prospered and was implemented in hardware and software. And it brought forth many Systems unto the earth.
The first Systems were mighty giants; many great works of renown did they accomplish. Among them were Colossus, the codebreaker; ENIAC, the targeter; EDSAC and MULTIVAC and all manner of froody creatures ending in AC, the experimenters; and SAGE, the defender of the sky and father of all networks. These were the mighty giants of old, the first children of Turing, and their works are written in the Books of the Ancients. This was the First Age, the age of Lore.
Now the sons of Marketing looked upon the children of Turing, and saw that they were swift of mind and terse of name and had many great and baleful attributes. And they said unto themselves, "Let us go now and make us Corporations, to bind the Systems to our own use that they may bring us great fortune." With sweet words did they lure their customers, and with many chains did they bind the Systems, to fashion them after their own image. And the sons of Marketing fashioned themselves Suits to wear, the better to lure their customers, and wrote grave and perilous Licenses, the better to bind the Systems. And the sons of Marketing thus became known as Suits, despising and being despised by the true Engineers, the children of von Neumann.
And the Systems and their Corporations replicated and grew numerous upon the earth. In those days there were IBM and Digital, Burroughs and Honeywell, Unisys and Rand, and many others. And they each kept to their own System, hardware and software, and did not interchange, for their Licences forbade it. This was the Second Age, the age of Mainframes.
Now it came to pass that the spirits of Turing and von Neumann looked upon the earth and were displeased. The Systems and their Corporations had grown large and bulky, and Suits ruled over true Engineers. And the Customers groaned and cried loudly unto heaven, saying, "Oh that there would be created a System mighty in power, yet small in size, able to reach into the very home!" And the Engineers groaned and cried likewise, saying, "Oh, that a deliverer would arise to grant us freedom from these oppressing Suits and their grave and perilous Licences, and send us a System of our own, that we may hack therein!" And the spirits of Turing and von Neumann heard the cries and were moved, and said unto each other, "Let us go down and fabricate a Breakthrough, that these cries may be stilled."
And that day the spirits of Turing and von Neumann spake unto Moore of Intel, granting him insight and wisdom to understand the future. And Moore was with chip, and he brought forth the chip and named it 4004. And Moore did bless the Chip, saying, "Thou art a Breakthrough; with my own Corporation have I fabricated thee. Though thou art yet as small as a dust mote, yet shall thou grow and replicate unto the size of a mountain, and conquer all before thee. This blessing I give unto thee: every eighteen months shall thou double in capacity, until the end of the age." This is Moore's Law,
I want to delete my account but Slashdot doesn't allow it.
Informative? WTF? The moderators are once again smoking crack...
Don't blame me, I didn't vote for either of them!
Eunuchs® is a trademark of Ball Labs.
Don't blame me, I didn't vote for either of them!
Did you notice that since Windows 3 Microsoft keeps adding Unix-like features? Windows 3 did not have _real_ multitasking, it came with WinNT. Windows NT was also a multi-user system, another Unix-like feature. With Windows Vista came the Windows power shell, M$ equivalent of Unix shell. In fact, Unix is an ideal, which Microsoft is approaching in each new Windows release.
To the person who actually modded this ^^^ +1 Informative: This was an extremely feeble attempt at +5 Funny. But thanks for reminding me that I am on Slashdot where mods can be fooled into anything. (*I know, I will go to hell for this...*)
Ezekiel 23:20
I've encountered bits and pieces of Unix hagiography for the last 15 years, and in all that time, I've internalized that "Multics sucks" (somewhere alongside the virgin birth), yet I can't bring to mind a single reason *why* Multics sucked. Were the Romans really so stupid as they are made out to be?
From Fernando J. Corbató's 1991 Turing lecture concerning one of Muttlix's early teething problems:
The decision to use a compiler to implement the system software was a good one, but what we did not appreciate was that new language PL/I presented us with two big difficulties: First, the language had constructs in it which were intrinsically complicated, and it required a learning period on the part of system programmers to learn to avoid them; second, no one knew how to do a good job of implementing the compiler.
So, perhaps, not the best suited language for systems programming?
From Wikipedia:
The goal of PL/I was to develop a single language usable for both business and scientific purposes.
Doesn't that vision give your average PHB a throbbing chum? If simplicity is hard, let's scale up the mediocre talent and do sameness instead.
PL/I was designed by a committee drawn from IBM programmers and users drawn from across the United States, working over several months.
No sociology experiment from the 1960s was complete without confederates in white shirts. The free-love hippies managed to sneak into the language promiscuous data type conversions.
Dijkstra summed it up in 1975 with his monograph
How do we tell truths that might hurt?
PL/I --"the fatal disease"-- belongs more to the problem set than to the solution set.
God, I love this guy. He's the patron saint of annoying the hell out of people by always being right, and putting a fine point on it. Same monograph includes another famous zinger:
APL is a mistake, carried through to perfection. It is the language of the future for the programming techniques of the past.
From Myths about Multics
We wrote 3000 pages of the Multics System Programmer's Manual first, while waiting for the PL/I compiler.
That should strike a painful nerve in anyone who tried to adopt the C++ STL in 1994.
Ouch. Shipwrecked on the beach of half a programming language, fondling your monads.
Not half surprising that Thompson ended up carving his own canoe with a pen knife to escape.
Then Dennis and Brian worked on a truly warped version of Pascal, called 'A'. When we found others were actually trying to create real programs with A, we quickly added additional cryptic features and evolved into B, BCPL and finally C.'
I cannot believe Ken Thompson wrote this nonsense.
B was derived from BCPL, which was a simplified version of the CPL language, designed at Cambridge and London Universities in the mid-60s. It was too complex to implement at that time, hence BCPL (Basic CPL).
B was very much like BCPL except that it used { } to define blocks, instead of (* and *).
AND, the original article (and the one above) promulgate the canard that Multics was unsuccessful and unwieldy.
In terms of influence on other OS's Multics was probably THE most important OS in history.
And an absolute joy to work with. Hence the original intention of Unics (the original spelling) to be cryptic and confusing - the exact OPPOSITE of Multics.
I know this!
UNIX was the first portable operating system. Previous operating systems were done in assembly (as was the original PDP-7 version of UNIX {or UNICS, to be precise}). In order to do that, a new language was needed. So UNIX begat C.
Pipes, pumping output from one program into another program, comes from UNIX.
Not pretending to know better than the user what the user wants. That's why a ls -a in the home directory gives newbies heart attacks :)
The open nature of UNIX development let the guys at UCB make BSD and make all kinds of new stuff, demonstrating that open source could be a big win for innovation.
UNIX is older than me by a few years, but this is just stuff that I've learned over the years.
Not only that but Linux != Unix, not really sure how that conclusion can be drawn :-/
:(){
The Finder is just another app.
Don't like it? Replace it with Front Row or something else.
Don't like your shell's interpretation of a POSIX command? Replace it with something else - 'printf' comes to mind.
There's no Apple-imposed barrier. POSIX -ne UNIX, and POSIX owes much of its shell syntax requirement to ksh interpretation (not pdksh, not tcsh, not bash, and not zsh).
because in the end it was easier to make Unix user friendly than it was to to fix Windows :)
An old joke but it had to be said.
putting the 'B' in LGBTQ+
So could an old salt fill us young-un's in? What was it like before Unix?
Here's a typical computer job from before UNIX... IBM JCL. The following is roughly the equivalent of "lpr -Pxerox
As described in Dennis Ritchie's The Evolution of the Unix Time-sharing System.
you had me at #!
SunOS stopped including one by default. You had to purchase it. Solaris has always been that way (IIRC) until SunStudio 11 was made available for free. HP-UX stopped with version 9.x.
Luckily, gcc was good enough by this time and you could obtain it at a reasonable price from the FSF.
Linux and the BSDs came out and started getting good enough to displace the other OSen.
You're the revisionist.
It didn't matter if the UNIX you were running on was licensed from Sun, HP, or Dec. You could write your program for the UNIX API and move from one to another. That's WHY they failed, they were trying to establish proprietary lock-in on a platform that had openness built into the bones. The only proprietary operating system that has any market penetration now is one that refused to become another implementation of the hippie OS... Windows NT.
Not AT&T, not DEC, not HP, not IBM, none of them could keep the hippie OS from shining through. Those of us who were working in hippie OS land in the '70s and early '80s kept telling the squares that they couldn't keep the cats in the bag, and we were right.
hackers were brave, the stakes were high, terminals were real terminals, floppy disks were real floppy disks and big furry beards from Alpha Centauri were real big furry beards from Alpha Centauri.
Like it or not, most of the key innovations in computers came from monopolies: Xerox, IBM, AT&T. When you have more money than you know how to spend, you can afford letting people play. Why not Microsoft? Although it has had some innovation, MS was never a monopoly in the same league as the other three. Also, there was a lot more low-hanging fruit in the computer world of the 60's and 70's than there was later.
GNU's not Unix, you insensitive clod!
or copy your mouse electronically until you have a warehouse full of mice? That's how staples can sell em so cheap.