这个blog是方便自己收集备份网上好的技术文档,方便查看之用,无原创文章!转载请注意参考原始文章版权声明!

2009年3月6日星期五

# [读书笔记] Where to Get Unix and GNU Source Code

昨天还在想去看一些gnu小软件如wget的源代码呢,今天就下下来了,动作还蛮及时的
You may wish to have copies of the programs we use in this book for your own experimentation and review. All
the source code is available over the Internet, and your GNU/Linux distribution contains the source code for the
GNU utilities.
Unix Code
Archives of various "ancient" versions of Unix are maintained by The UNIX Heritage Society (TUHS),
http://www.tuhs.org.
Of most interest is that it is possible to browse the archive of old Unix source code on the Web. Start with
http://minnie.tuhs.org/UnixTree/. All the example code in this book is from the Seventh Edition
Research UNIX System, also known as "V7."
The TUHS site is physically located in Australia, although there are mirrors of the archive around the world—see
http://www.tuhs.org/archive_sites.html. This page also indicates that the archive is available for
mirroring with rsync. (See http://rsync.samba.org/ if you don't have rsync: It's standard on GNU/Linux
systems.)
You will need about 2–3 gigabytes of disk to copy the entire archive. To copy the archive, create an empty
directory, and in it, run the following commands:
mkdir Applications 4BSD PDP-11 PDP-11/Trees VAX Other
rsync -avz minnie.tuhs.org::UA_Root .
rsync -avz minnie.tuhs.org::UA_Applications Applications
rsync -avz minnie.tuhs.org::UA_4BSD 4BSD
rsync -avz minnie.tuhs.org::UA_PDP11 PDP-11
rsync -avz minnie.tuhs.org::UA_PDP11_Trees PDP-11/Trees
rsync -avz minnie.tuhs.org::UA_VAX VAX
rsync -avz minnie.tuhs.org::UA_Other Other
You may wish to omit copying the TRees directory, which contains extractions of several versions of Unix, and
occupies around 700 megabytes of disk.
You may also wish to consult the TUHS mailing list to see if anyone near you can provide copies of the archive
on CD-ROM, to avoid transferring so much data over the Internet.
The folks at Southern Storm Software, Pty. Ltd., in Australia, have "modernized" a portion of the V7 user-level
code so that it can be compiled and run on current systems, most notably GNU/Linux. This code can be
downloaded from their web site.[7]
[7] http://www.southern-storm.com.au/v7upgrade.html
It's interesting to note that V7 code does not contain any copyright or permission notices in it. The authors wrote
the code primarily for themselves and their research, leaving the permission issues to AT&T's corporate licensing
department.

没有评论:

发表评论