Index | Thread | Search

From:
Jonathan Gray <jsg@jsg.id.au>
Subject:
Re: update manual history for fourth edition Unix
To:
tech@openbsd.org, schwarze@openbsd.org
Date:
Sat, 20 Dec 2025 17:03:06 +1100

Download raw body.

Thread
On Sat, Dec 20, 2025 at 02:21:20PM +1100, Jonathan Gray wrote:
> A fourth edition Unix tape was recently found at the University of Utah.
> Update manual history based on the contents.

Thalia Archibald notes the tape is perhaps closer to v5 than the initial
v4 as tapes were snapshots at that stage:
https://www.tuhs.org/pipermail/tuhs/2025-December/032861.html

dropping this patch

> 
> https://archive.org/details/utah_unix_v4_raw
> http://squoze.net/UNIX/v4/
> 
> 	dd
> bin/dd
> usr/source/s1/dd.c
> 
> 	diff
> usr/bin/diff
> usr/source/s1/diff1.c
> usr/source/s1/diff2.s
> 
> 	find
> usr/bin/find
> usr/source/s1/find.c
> 
> 	lpr
> bin/lpr
> usr/source/s1/lpr.c
> 
> 	lpd
> etc/lpd
> usr/source/s1/lpd.s
> 
> 	pwd
> usr/bin/pwd
> usr/source/s2/pwd.c
> 
> 	profil
> usr/sys/ken/sys4.c:profil()
> 
> 	abort
> usr/source/s4/abort.s
> 
> 	localtime
> usr/source/s3/ctime.c:localtime(tim)
> 
> 	floor
> usr/source/s4/floor.s
> 
> 	fmod
> usr/source/s4/fmod.s
> 
> 	gamma
> usr/source/s3/gamma.s
> 
> 	ttys
> etc/ttys
> 
> 	ac
> usr/bin/ac
> usr/source/s1/ac.c
> 
> 	sa
> usr/bin/sa
> usr/source/s2/sa.c
> 
> 	mount
> usr/source/s4/mount.s
> / error = mount(dev, file, flag)
> 
> diff --git bin/dd/dd.1 bin/dd/dd.1
> index 8a9049da383..3a6e289a449 100644
> --- bin/dd/dd.1
> +++ bin/dd/dd.1
> @@ -379,4 +379,4 @@ specification.
>  A
>  .Nm
>  utility appeared in
> -.At v5 .
> +.At v4 .
> diff --git bin/pwd/pwd.1 bin/pwd/pwd.1
> index 17c200cf912..790b056b6f9 100644
> --- bin/pwd/pwd.1
> +++ bin/pwd/pwd.1
> @@ -103,7 +103,7 @@ had been specified.
>  An
>  .Nm
>  utility appeared in
> -.At v5 .
> +.At v4 .
>  Support for the
>  .Fl L
>  option was added in
> diff --git lib/libc/stdlib/abort.3 lib/libc/stdlib/abort.3
> index 2f15cd827c8..810fe070e57 100644
> --- lib/libc/stdlib/abort.3
> +++ lib/libc/stdlib/abort.3
> @@ -66,7 +66,7 @@ function conforms to
>  The
>  .Fn abort
>  function first appeared in
> -.At v5 .
> +.At v4 .
>  .Pp
>  Historically, previous standards required
>  .Fn abort
> diff --git lib/libc/sys/mount.2 lib/libc/sys/mount.2
> index 851e73ff836..c2428ffaff0 100644
> --- lib/libc/sys/mount.2
> +++ lib/libc/sys/mount.2
> @@ -418,7 +418,7 @@ The
>  argument is supported by
>  .Fn mount
>  since
> -.At v5
> +.At v4
>  and by
>  .Fn unmount
>  since
> diff --git lib/libc/sys/profil.2 lib/libc/sys/profil.2
> index 0976efa7e85..7e40418c035 100644
> --- lib/libc/sys/profil.2
> +++ lib/libc/sys/profil.2
> @@ -159,7 +159,7 @@ value is too large.
>  The
>  .Fn profil
>  system call first appeared in
> -.At v5 .
> +.At v4 .
>  .Pp
>  Historically, profile information was written to the file by the C-run-time
>  exit processing code using
> diff --git lib/libc/time/ctime.3 lib/libc/time/ctime.3
> index 44a3a01a22b..7bc205c0e0e 100644
> --- lib/libc/time/ctime.3
> +++ lib/libc/time/ctime.3
> @@ -343,7 +343,7 @@ The functions
>  and
>  .Fn localtime
>  first appeared in
> -.At v5 ,
> +.At v4 ,
>  .Fn difftime
>  and
>  .Fn mktime
> diff --git lib/libm/man/floor.3 lib/libm/man/floor.3
> index e6e50fa71a1..1fa076c5628 100644
> --- lib/libm/man/floor.3
> +++ lib/libm/man/floor.3
> @@ -74,4 +74,4 @@ function conforms to
>  A
>  .Fn floor
>  function first appeared in
> -.At v5 .
> +.At v4 .
> diff --git lib/libm/man/fmod.3 lib/libm/man/fmod.3
> index 78390d08cfe..dbe4368f78a 100644
> --- lib/libm/man/fmod.3
> +++ lib/libm/man/fmod.3
> @@ -92,4 +92,4 @@ function conforms to
>  An
>  .Fn fmod
>  function first appeared in
> -.At v5 .
> +.At v4 .
> diff --git lib/libm/man/lgamma.3 lib/libm/man/lgamma.3
> index 08dc93ff9ee..5672f7b3fd3 100644
> --- lib/libm/man/lgamma.3
> +++ lib/libm/man/lgamma.3
> @@ -178,7 +178,7 @@ respectively.
>  A
>  .Fn gamma
>  function first appeared in
> -.At v5 .
> +.At v4 .
>  The
>  .Fn lgamma
>  function first appeared in
> diff --git libexec/getty/ttys.5 libexec/getty/ttys.5
> index 1f8647a736d..7f1ad79d07a 100644
> --- libexec/getty/ttys.5
> +++ libexec/getty/ttys.5
> @@ -185,4 +185,4 @@ ttyp1	none	network	off
>  A
>  .Nm
>  file appeared in
> -.At v5 .
> +.At v4 .
> diff --git usr.bin/diff/diff.1 usr.bin/diff/diff.1
> index c0e2d76ee34..b1567d809cd 100644
> --- usr.bin/diff/diff.1
> +++ usr.bin/diff/diff.1
> @@ -472,4 +472,4 @@ are extensions to that specification.
>  A
>  .Nm
>  command appeared in
> -.At v5 .
> +.At v4 .
> diff --git usr.bin/find/find.1 usr.bin/find/find.1
> index 6d0f86cbca3..fa9461a510f 100644
> --- usr.bin/find/find.1
> +++ usr.bin/find/find.1
> @@ -675,7 +675,7 @@ A new
>  .Nm
>  command was written for the Programmer's Workbench (PWB)
>  and appeared in
> -.At v5 .
> +.At v4 .
>  It was rewritten for
>  .Bx 4.3 Reno .
>  .Sh CAVEATS
> diff --git usr.sbin/ac/ac.8 usr.sbin/ac/ac.8
> index be3df8b93a3..a776935c110 100644
> --- usr.sbin/ac/ac.8
> +++ usr.sbin/ac/ac.8
> @@ -144,7 +144,7 @@ $ ac -p -t "!ttyd*" \*(Gt other
>  An
>  .Nm
>  command appeared in
> -.At v5 .
> +.At v4 .
>  This version of
>  .Nm
>  was written for
> diff --git usr.sbin/lpr/lpd/lpd.8 usr.sbin/lpr/lpd/lpd.8
> index 4289d48c695..7450cb72efb 100644
> --- usr.sbin/lpr/lpd/lpd.8
> +++ usr.sbin/lpr/lpd/lpd.8
> @@ -353,7 +353,7 @@ lists machine names allowed printer access
>  An
>  .Nm
>  daemon appeared in
> -.At v5 .
> +.At v4 .
>  .Pp
>  .Nm
>  previously required that clients connected using a privileged port
> diff --git usr.sbin/lpr/lpr/lpr.1 usr.sbin/lpr/lpr/lpr.1
> index 69f7cb5a764..f4724c10258 100644
> --- usr.sbin/lpr/lpr/lpr.1
> +++ usr.sbin/lpr/lpr/lpr.1
> @@ -253,7 +253,7 @@ regarding missing spool files by
>  The
>  .Nm
>  command appeared in
> -.At v5 .
> +.At v4 .
>  .Sh BUGS
>  Fonts for troff and tex reside on the host with the printer.
>  It is currently not possible to use local font libraries.
> diff --git usr.sbin/sa/sa.8 usr.sbin/sa/sa.8
> index edc38ecc655..e08cc7a7fe4 100644
> --- usr.sbin/sa/sa.8
> +++ usr.sbin/sa/sa.8
> @@ -214,7 +214,7 @@ per-user accounting summary database
>  .Sh HISTORY
>  .Nm
>  first appeared in
> -.At v5 .
> +.At v4 .
>  .Nm
>  was rewritten for
>  .Nx 0.9a
> 
>