wget -r https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-1.0/source/ksrc10This tries to download the entire website, or so it seems. I have run into this stupid, counterintuitive, and ugly behavior of wget before. It has the fringe benefit of downloading a bunch of bonus stuff for me, but when I see that it is wandering outside of the 1.0 version I type ^C to stop the insanity. Then I do this:
cat ksrc10.* >ksrc.gz gunzip ksrc.gz mv ksrc ksrc.tar tar xvf ksrc.tarThis gives me a "POSIX tar archive" that I can extract with tar. It extracts to usr/src/sys and I find the netinet directory within.
The source for tcp_input.c is still K and R C and there are changes. I see some ntohl macros added (but in the multicast code that I don't care about).
diff tcp_input.c /u1/BSD/4.4BSD-Lite/usr/src/sys/netinet/tcp_input.cI delete all the extra stuff that wget stupidly downloaded and conclude this little episode.
Of tangential interest to me, NetBSD 7.0 (2015) added support for many of the ARM boards I currently work with. The Beaglebone, Allwinner A20, Xilinx Zynq (ZedBoard) and even the Raspberry Pi were added.
I decide to download 1.3 and see what I can see. No more split files to deal with. Now the choice is what "set" in source/sets. I select syssrc.tgz and this is indeed what I want. Still K and R C code.
Now I take a peek at 2.0 (circa 2004). This now is a 25G download rather than 13G. I am again fetching syssrc.tgz. And it is still K and R code.
Kyu / [email protected]