Research Unix Explained

Research Unix refers to the early versions of the Unix operating system for DEC PDP-7, PDP-11, VAX, and Interdata 7/32 and 8/32 computers, developed in the Bell Labs Computing Sciences Research Center (CSRC). The term Research Unix first appeared in the Bell System Technical Journal (Vol. 57, No. 6, Part 2 July/August 1978) to distinguish it from other versions internal to Bell Labs (such as PWB/UNIX and MERT) whose code-base had diverged from the primary CSRC version. However, that term was little-used until Version 8 Unix (1985), but has been retroactively applied to earlier versions as well. Prior to V8, the operating system was most commonly called simply UNIX (in caps) or the UNIX Time-Sharing System.

Ancient UNIX is any early release of the Unix code base prior to Unix System III, particularly the Research Unix releases prior to and including Version 7 (the base for UNIX/32V as well as later developments of AT&T Unix).

History

AT&T licensed Version 5 to educational institutions, and Version 6 also to commercial sites. Schools paid $200 and others $20,000, discouraging most commercial use, but Version 6 was the most widely used version into the 1980s. Research Unix versions are often referred to by the edition of the manual that describes them, because early versions and the last few were never officially released outside of Bell Labs, and grew organically. So, the first Research Unix would be the First Edition, and the last the Tenth Edition. Another common way of referring to them is as "Version x Unix" or "Vx Unix", where x is the manual edition. All modern editions of Unix—excepting Unix-like implementations such as Coherent, Minix, and Linux—derive from the 7th Edition.[1]

Starting with the 8th Edition, versions of Research Unix had a close relationship to BSD. This began by using 4.1cBSD as the basis for the 8th Edition. In a Usenet post from 2000, Dennis Ritchie described these later versions of Research Unix as being closer to BSD than they were to UNIX System V,[2] which also included some BSD code:

Versions

Manual EditionRelease dateDescription
1st EditionNov 3, 1971First edition of the Unix manual, based on the version that ran on the PDP-11 at the time. The operating system was two years old,[3] having been ported from the PDP-7 to the PDP-11/20 in 1970. Includes ar, as, bcd, cal, cat, chdir, chmod, chown, cmp, cp, date, dc, df, du, ed, glob, init, ld, ln, ls, mail, mesg, mkdir, mkfs, mount, mv, nm, od, pr, rm, rmdir, roff, sh, sort, stat, strip, su, sum, tty, umount, wc, who, write; also precursors of fsck, reboot, and adb. The system also had a B and Fortran compiler, a BASIC interpreter, device files and functions for managing punched tape, DECtape, and RK05 disks.
2nd EditionJun 12, 1972Total number of installations at the time was 10, "with more expected", according to the preface of the manual.[4] Adds echo, exit, login, m6 macro processor, man, nroff, strip, stty, tmg compiler-compiler and the first C compiler.
3rd EditionFeb 1973Introduced a C debugger, pipes, crypt, kill, passwd, size, speak, split, uniq, and yacc. Commands are split between /bin and /usr/bin, requiring a search path (/usr was the mount point for a second hard disk). Total number of installations was 16.
4th EditionNov 1973First version written in C. Also introduced comm, dump, file, grep, nice, nohup, ps, sleep, sync, tr, wait, and printf(3). Included a SNOBOL interpreter. Number of installations was listed as "above 20". The manual was formatted with troff for the first time. Version described in Thompson and Ritchie's CACM paper,[5] the first public exposition of the operating system.
5th EditionJun 1974Licensed to selected educational institutions. Introduced col, dd, diff, eqn, find, lpr, pwd, spell, tee, and the sticky bit. Targeted the PDP-11/40 and other 11 models with 18 bit addresses. Installations "above 50".
6th EditionMay 1975Includes bc, chgrp, cron, newgrp, ptrace(2), ratfor, tbl, units, and wall. First version widely available outside of Bell Laboratories, licensed to commercial users,[6] and to be ported to non-PDP hardware (Interdata 7/32). May 1977 saw the release of MINI-UNIX, a "cut down" v6 for the low-end PDP-11/10.
7th EditionJan 1979Includes the Bourne shell, ioctl(2), stdio(3), and pcc augmenting Dennis Ritchie's C compiler. Adds adb, at, awk, banner, basename, cu, diff3, expr, f77, factor, fortune, iostat, join, lex, lint, look, m4, make, rev, sed, tabs, tail, tar, test, touch, true, false, tsort, uucp, uux. The ancestor of UNIX System III and the last release of Research Unix to see widespread external distributions. Merged most of the utilities of PWB/UNIX with an extensively modified kernel with almost 80% more lines of code than V6. Ported to PDP-11, Interdata 8/32 and VAX (UNIX/32V). 32V was the basis for 3BSD.
8th EditionFeb 1985
A modified 4.1cBSD for the VAX, with a System V shell and sockets replaced by Streams. Used internally, and only licensed for educational use.[7] Adds Berkeley DB, curses(3), cflow, clear, compress, cpio, csh,[8] cut, ksh, last, netstat, netnews, seq, telnet, tset, ul, vi, vmstat. The Blit graphics terminal became the primary user interface. Includes Lisp, Pascal and Altran. Added a network file system that allowed accessing remote computers' files as /n/hostname/path, and a regular expression library that introduced an API later mimicked by Henry Spencer's reimplementation.[9] First version with no assembly in the documentation.
9th EditionSep 1986Incorporated code from 4.3BSD; used internally. Featured a generalized version of the Streams IPC mechanism introduced in V8. The mount system call was extended to connect a stream to a file, the other end of which could be connected to a (user-level) program. This mechanism was used to implement network connection code in user space.[10] Other innovations include Sam. According to Dennis Ritchie, V9 and V10 were "conceptual": manuals existed, but no OS distributions "in complete and coherent form".
10th EditionOct 1989Last Research Unix. Although the manual was published outside of AT&T by Saunders College Publishing,[11] there was no full distribution of the system itself. Novelties included graphics typesetting tools designed to work with troff, a C interpreter, animation programs, and several tools later found in Plan 9: the Mk build tool and the rc shell. V10 was also the basis for Doug McIlroy and James A. Reeds' multilevel-secure operating system IX.[12]
Plan 91992Plan 9 was a successor operating system to Research Unix developed by Bell Laboratories Computing Science Research Center (CSRC).
Inferno1997Inferno is a descendant of Plan 9, and shares many design concepts and even source code in the kernel, particularly around devices and the Styx/9P2000 protocol. It shares with Plan 9 the Unix heritage from Bell Labs and the Unix philosophy.

Licensing

After the publication of the Lions' book, work was undertaken to release earlier versions of the codebase. SCO first released the code under a limited educational license.

Later, in January 2002, Caldera International (later to become SCO Group and made defunct) relicensed (but has not made available) several versions under the four-clause BSD license, up to and including Version 7 Unix (UNIX/32V).[13], there has been no widespread use of the code, but it can be used on emulator systems, and Version 5 Unix runs on the Nintendo Game Boy Advance using the SIMH PDP-11 emulator.[14] Version 6 Unix provides the basis for the MIT xv6 teaching system, which is an update of that version to ANSI C and the x86 or RISC-V platform.

The BSD vi text editor is based on code from the ed line editor in those early Unixes. Therefore, "traditional" vi could not be distributed freely, and various work-alikes (such as nvi) were created. Now that the original code is no longer encumbered, the "traditional" vi has been adapted for modern Unix-like operating systems.[15]

SCO Group, Inc. was previously called Caldera International. As a result of the SCO Group, Inc. v. Novell, Inc. case, Novell, Inc. was found not to have transferred the copyrights of UNIX to SCO Group, Inc.[16] Concerns have been raised regarding the validity of the Caldera license.[17] [18]

The Unix Heritage Society

The Unix Heritage Society was founded by Warren Toomey.[19] [20] First edition Unix was restored to a usable state by a restoration team from the Unix Heritage Society in 2008. The restoration process started with paper listings of the source code which were in PDP-11 assembly language.[21] [22]

Legacy

In 2002, Caldera International released[23] Unix V1, V2, V3, V4, V5, V6, V7 on PDP-11 and Unix 32V on VAX as FOSS under a permissive BSD-like software license.[24] [25] [26]

In 2017, The Unix Heritage Society and Alcatel-Lucent USA Inc., on behalf of itself and Nokia Bell Laboratories, released V8, V9, and V10 under the condition that only non-commercial use was allowed, and that they would not assert copyright claims against such use.[27]

See also

External links

Notes and References

  1. Web site: Siebenmann . Chris . Nov 21, 2021 . Why V7 Unix Matters So Much . CSpace . October 18, 2025 . July 29, 2025 . https://web.archive.org/web/20250729074012/https://utcc.utoronto.ca/~cks/space/blog/unix/V7WhyItMattersSoMuch . live .
  2. Web site: alt.folklore.computers: BSD (Dennis Ritchie). Dennis. Ritchie. 26 October 2000. 3 July 2014. 14 July 2014. https://web.archive.org/web/20140714222327/http://yarchive.net/comp/bsd.html. live.
  3. M. D. . McIlroy . Doug McIlroy . 1987 . A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 . CSTR . 139 . Bell Labs.
  4. Book: Ken . Thompson . Dennis M. . Ritchie . UNIX Programmer's Manual, Second Edition . June 12, 1972 . Bell Telephone Laboratories . https://web.archive.org/web/20161006034736/http://sunsite.icm.edu.pl/pub/unix/UnixArchive/PDP-11/Distributions/research/1972_stuff/unix_2nd_edition_manual.pdf . dead . 2016-10-06 .
  5. D. M. . Ritchie . K. . Thompson . 1974 . The UNIX Time-Sharing System . Communications of the ACM . 17 . 7 . 365–375 . 10.1145/361011.361061 . 53235982 . free . 2017-02-18 . 2017-03-04 . https://web.archive.org/web/20170218050938/http://www.bell-labs.com/usr/dmr/www/cacm.html . live .
  6. News: The Unix Tutorial / Part 3: Unix in the Microcomputer Marketplace . BYTE . October 1983 . 30 January 2015 . Fiedler, Ryan . 132.
  7. Web site: [TUHS] Re: V7 UNIX on VAX 11/750 ]. Dennis . Ritchie . Dennis Ritchie . minnie.tuhs.org . 27 June 2003 . 9 April 2014 . https://web.archive.org/web/20170305042336/http://minnie.tuhs.org/pipermail/tuhs/2003-June/002195.html. 2017-03-05.
  8. Web site: csh . . n.d. . . December 19, 2022 . December 20, 2022 . https://web.archive.org/web/20221220030733/https://minnie.tuhs.org/cgi-bin/utree.pl?file=V8/usr/src/cmd/csh . live .
  9. regexp(3) . Henry . Spencer . 1986-01-19 . mod.sources . [email protected] . 9 January 2013 . 2025-09-15 . https://web.archive.org/web/20250915161221/https://groups.google.com/forum/#!original/mod.sources/OqVZYQNSmDs/G_T2jHu5QI8J . live .
  10. David L. . Presotto . Dennis M. . Ritchie . 1990 . . 19 . Interprocess Communication in the Ninth Edition Unix System . 2017-04-03 . 2017-03-04 . https://web.archive.org/web/20170403063718/https://www.bell-labs.com/usr/dmr/www/ipcpaper.html . live .
  11. Web site: Unix Tenth Edition Manual . . 25 December 2013 . dead . https://web.archive.org/web/20150203070035/http://www.cs.bell-labs.com/10thEdMan/ . 3 February 2015 .
  12. Web site: The IX Multilevel-Secure UNIX System . 2013-12-25 . 2015-09-23 . https://web.archive.org/web/20150923211409/http://www.cs.dartmouth.edu/~doug/IX/ . live .
  13. Web site: Liberal license for ancient UNIX sources. Johnson II. Dion L.. 2002-01-24. 2017-03-30. 2022-03-05. https://web.archive.org/web/20220305150312/http://www.lemis.com/grog/UNIX/. live.
  14. Web site: UNIX® on the Game Boy Advance . Singh . Amit . August 2004 . 2009-10-22 . 2006-08-31 . https://web.archive.org/web/20060831141959/http://www.kernelthread.com/publications/gbaunix/ . dead .
  15. Web site: The Traditional Vi . 2025-08-11 . 2025-08-13 . https://web.archive.org/web/20250813052344/https://ex-vi.sourceforge.net/ . live .
  16. Web site: 10th Circuit Court of Appeals Decision. https://web.archive.org/web/20110926220558/http://www.groklaw.net/pdf3/SCOvNovell10-4122.pdf. usurped. September 26, 2011.
  17. Web site: The Push to Get Free Unix Licenses. Warren Toomey. 2025-06-15. 2025-05-20. https://web.archive.org/web/20250520232649/https://wiki.tuhs.org/doku.php?id=events:free_licenses. live.
  18. Web site: Why BSD/OS is the best candidate for being the only tested legally open UNIX. . 26 November 2018 . 15 June 2025 . 15 June 2025 . https://web.archive.org/web/20250615084518/https://virtuallyfun.com/wordpress/2018/11/26/why-bsd-os-is-the-best-candidate-for-being-the-only-tested-legally-open-unix/ . live .
  19. News: Davis . A. Jesse Jiryu . Assembling the history of Unix . 15 June 2023 . LWN.net . June 14, 2017 . 15 June 2023 . https://web.archive.org/web/20230615220253/https://lwn.net/Articles/725297/ . live .
  20. Web site: Jude . Allan . Warren Toomey interview . BSD Now . 15 June 2023 . October 13, 2022 . 15 June 2023 . https://web.archive.org/web/20230615220257/https://www.bsdnow.tv/476 . live . MP3 44:34
  21. Toomey . Warren . July 2010 . First Edition Unix: Its Creation and Restoration . IEEE Annals of the History of Computing . 32 . 3 . 74–82 . 10.1109/MAHC.2009.55. 2010IAHC...32c..74T . 18586380 .
  22. Web site: The Restoration of Early UNIX Artifacts . 2025-06-15 . 2025-06-27 . https://web.archive.org/web/20250627095821/https://www.usenix.org/legacy/events/usenix09/tech/full_papers/toomey/toomey.pdf . live .
  23. http://slashdot.org/articles/02/01/24/0146248.shtml Caldera releases original unices under BSD license
  24. Web site: UNIX is free!. lemis.com. 2002-01-24. 2017-03-30. 2022-03-05. https://web.archive.org/web/20220305150312/http://www.lemis.com/grog/UNIX/. live.
  25. Web site: Dear Unix enthusiasts . https://web.archive.org/web/20090219220353/http://www.tuhs.org/Archive/Caldera-license.pdf. 19 February 2009 . Broderick . Bill . January 23, 2002 . Caldera International.
  26. Web site: Why Caldera Released Unix: A Brief History . https://web.archive.org/web/20040601025000/http://www.linuxdevcenter.com/pub/a/linux/2002/02/28/caldera.html . . Linuxdevcenter . Ian F. . Darwin . 2002-02-03. 2004-06-01 . 2022-01-18.
  27. News: Chirgwin . Richard . 30 March 2017 . Samizdat no more: Old Unix source code opened for study . . 30 March 2017 . 30 March 2017 . https://web.archive.org/web/20170330134247/https://www.theregister.co.uk/2017/03/30/old_unix_source_code_opened_for_study/ . live .