Version 7 Unix, also called Seventh Edition Unix, Version 7 or just V7, was an important early release of the
Unix operating system
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
. V7, released in 1979, was the last
Bell Laboratories release to see widespread distribution before the commercialization of Unix by
AT&T Corporation in the early 1980s. V7 was originally developed for
Digital Equipment Corporation
Digital Equipment Corporation (DEC ), using the trademark Digital, was a major American company in the computer industry from the 1960s to the 1990s. The company was co-founded by Ken Olsen and Harlan Anderson in 1957. Olsen was president until ...
's
PDP-11 minicomputers and was later ported to other platforms.
Overview
Unix versions from Bell Labs were designated by the edition of the user's manual with which they were accompanied. Released in 1979, the Seventh Edition was preceded by
Sixth Edition, which was the first version licensed to commercial users.
Development of the
Research Unix line continued with the
Eighth Edition, which incorporated development from
4.1BSD, through the Tenth Edition, after which the Bell Labs researchers concentrated on developing
Plan 9.
V7 was the first readily
portable version of Unix. As this was the era of
minicomputers, with their many architectural variations, and also the beginning of the market for 16-bit microprocessors, many ports were completed within the first few years of its release. The first
Sun workstations (then based on the
Motorola 68000) ran a V7 port by
UniSoft; the first version of
Xenix for the
Intel 8086
The 8086 (also called iAPX 86) is a 16-bit computing, 16-bit microprocessor chip designed by Intel between early 1976 and June 8, 1978, when it was released. The Intel 8088, released July 1, 1979, is a slightly modified chip with an external 8-b ...
was derived from V7 and
Onyx Systems soon produced a
Zilog Z8000 computer running V7. The
VAX port of V7, called
UNIX/32V, was the direct ancestor of the popular
4BSD family of Unix systems.
The group at the
University of Wollongong that had
ported V6 to the
Interdata 7/32 ported V7 to that machine as well.
Interdata sold the port as Edition VII, making it the first commercial UNIX offering.
DEC distributed their own PDP-11 version of V7, called V7M (for modified). V7M, developed by DEC's original Unix Engineering Group (UEG), contained many enhancements to the kernel for the PDP-11 line of computers including significantly improved hardware error recovery and many additional device drivers. UEG evolved into the group that later developed
Ultrix.
Reception
Due to its power yet elegant simplicity, many old-time Unix users remember V7 as the pinnacle of Unix development and have dubbed it "the last true Unix", an improvement over all preceding and following Unices. At the time of its release, though, its greatly extended feature set came at the expense of a decrease in performance compared to V6, which was to be corrected largely by the user community.
The number of
system calls in Version 7 was only around 50, while later Unix and Unix-like systems continued to add many more:
Released as free software

In 2002,
Caldera International released V7 as
FOSS under a
permissive BSD-like software license.
Bootable images for V7 can still b
downloadedtoday, and can be run on modern hosts using PDP-11 emulators such as
SIMH.
An
x86 port has been developed by Nordier & Associates.
Paul Allen maintained several publicly accessible historic computer systems, including a PDP-11/70 running Unix Version 7.
New features in Version 7
Many new features were introduced in Version 7.
*Programming tools:
lex,
lint, and
make.
The
Portable C Compiler (pcc) was provided along with the earlier, PDP-11-specific, C compiler by
Ritchie.
These first appeared in the Research Unix lineage in Version 7, although early versions of some of them had already been picked up by
PWB/UNIX.
*New commands: the
Bourne shell, at,
awk, calendar,
f77,
fortune,
tar (replacing the tp command), touch
*Networking support, in the form of
uucp and
Datakit
*New
system calls: access, acct, alarm,
chroot
chroot is a shell (computer), shell command (computing), command and a system call on Unix and Unix-like operating systems that changes the apparent root directory for the current running process and its Child process, children. A program that i ...
(originally used to test the V7 distribution during preparation), exece,
ioctl, lseek (previously only 24-bit offsets were available),
umask, utime
*New library calls: The new
stdio routines,
malloc, getenv, popen/system
*
Environment variable
An environment variable is a user-definable value that can affect the way running processes will behave on a computer. Environment variables are part of the environment in which a process runs. For example, a running process can query the va ...
s
*A maximum file size of just over one
gigabyte
The gigabyte () is a multiple of the unit byte for digital information. The SI prefix, prefix ''giga-, giga'' means 109 in the International System of Units (SI). Therefore, one gigabyte is one billion bytes. The unit symbol for the gigabyte i ...
, through a system of indirect addressing
Multiplexed files
A feature that did not survive long was a second way (besides pipes) to do
inter-process communication
In computer science, interprocess communication (IPC) is the sharing of data between running Process (computing), processes in a computer system. Mechanisms for IPC may be provided by an operating system. Applications which use IPC are often cat ...
: multiplexed files. A process could create a special type of file with the
mpx
system call; other processes could then open this file to get a "channel", denoted by a
file descriptor, which could be used to communicate with the process that created the multiplexed file. Mpx files were considered experimental, not enabled in the default kernel, and disappeared from later versions, which offered
sockets (BSD) or
CB UNIX's IPC facilities (System V) instead (although mpx files were still present in 4.1BSD
).
See also
*
Version 6 Unix
*
Seventh Edition Unix terminal interface
*
Ancient UNIX
References
External links
Unix Seventh Edition manualat
Plan 9 from Bell Labs
Plan 9 from Bell Labs is a distributed operating system which originated from the Computing Science Research Center (CSRC) at Bell Labs in the mid-1980s and built on UNIX concepts first developed there in the late 1960s. Since 2000, Plan 9 has ...
Browsable source codeat
The Unix Heritage Society
PDP Unix Preservation Societyat
The Unix Heritage Society
''Unix Archive'' Sites Listat
The Unix Heritage Society
{{Unix-like
Bell Labs Unices
Berkeley Software Distribution
Discontinued operating systems
Free software operating systems
1979 software