15 ms·
Small mistake in the article. System V code was never released publicly by SCO, just some earlier variants not too far removed from V7. They make great code re
by andikleen2 6y ago
Small mistake in the article. System V code was never released publicly by SCO, just some earlier variants not too far removed from V7.
They make great code reading if anyone is interested. The early Unix variants were quite simple and concise, nothing like the complexity of a modern variant.
https://github.com/dspinellis/unix-history-repo/tree/Research-V7 https://github.com/dspinellis/unix-history-repo/tree/Researc...
For example early process swapping was really simple:
https://github.com/dspinellis/unix-history-repo/blob/Research-V7/usr/sys/sys/text.c https://github.com/dspinellis/unix-history-repo/blob/Researc...
or scheduling was quite simple too:
https://github.com/dspinellis/unix-history-repo/blob/Research-V7/usr/sys/sys/slp.c https://github.com/dspinellis/unix-history-repo/blob/Researc...
or that's most of a file system:
https://github.com/dspinellis/unix-history-repo/blob/Research-V7/usr/sys/sys/iget.c https://github.com/dspinellis/unix-history-repo/blob/Researc...
scanner and lexer of the earlier (pre pcc) c compiler:
https://github.com/dspinellis/unix-history-repo/blob/Research-V7/usr/src/cmd/c/c00.c https://github.com/dspinellis/unix-history-repo/blob/Researc...
and that is ls:
https://github.com/dspinellis/unix-history-repo/blob/Research-V7/usr/src/cmd/ls.c https://github.com/dspinellis/unix-history-repo/blob/Researc...
ed, the standard editor:
https://github.com/dspinellis/unix-history-repo/blob/Research-V7/usr/src/cmd/ed.c https://github.com/dspinellis/unix-history-repo/blob/Researc...