[TUHS] FD 2

Jonathan Gray jsg at jsg.id.au
Sun Jan 22 21:05:16 AEST 2023


On Sat, Jan 21, 2023 at 11:37:42AM -0700, Warner Losh wrote:
> On Sat, Jan 21, 2023, 11:26 AM Clem Cole <clemc at ccc.com> wrote:
> 
> With typesetter C -- we get dmr's new stdio library (libS.a) replacing
> > Lesk's portable C library.  This was released independent of V6 as what DEC
> > would have called a 'layered product"  that ran on top of V6.    As I said,
> > this is the language that Dennis and Brian describe in K&R (version 1).
> >
> 
> Do we have extant copies of that? So far I have see the kernel patches that
> were "leaked" but not the rest of it.

Of the "Phototypesetter Version 7" tape?  The compiler and stdio
show up in other places before v7.

libp/iolib described in
M. E. Lesk - The Portable C Library
https://archive.org/details/ThePortableCLibrary_May75
(abbreviated in https://minnie.tuhs.org/cgi-bin/utree.pl?file=V6/usr/doc/iolib/iolib )

libS/stdio appears in a modified form in PWB/UNIX 1.0

As does "A New Input-Output Package"
https://minnie.tuhs.org/cgi-bin/utree.pl?file=PWB1/sys/source/s4/stdio/ios.r
included in "Documents for the PWB/UNIX Time-Sharing System Edition 1.0"
https://bitsavers.org/pdf/att/unix/PWB_UNIX/Documents_for_the_PWB_UNIX_Time-Sharing_System_Edition_1.0_197710.pdf

an older? version appears in
tuhs/Applications/Spencer_Tapes/unsw3.tar.gz usr/source/stdio

also part of
https://minnie.tuhs.org/cgi-bin/utree.pl?file=Interdata732/usr/source/stdio
https://minnie.tuhs.org/cgi-bin/utree.pl?file=Interdata732/usr/doc/cdoc/ios.nr

tuhs/Distributions/Research/Tim_Shoppa_v6 (libS, stdio.h, no libS source)

and MERT Release 0, NEWIO(III) newio - a new IO subroutine package
https://www.tuhs.org/Archive/Documentation/Manuals/MERT_Release_0/Unix%20Programmer%20Manual%20-%20UPM%20-%20White%20Tabs/Subroutines%20-%20man3/newio.3.pdf

"part of the effort in moving programs to the Interdata machine was
devoted to making programs use the new standard I/O library"
S. C. Johnson, D. M. Ritchie - Portability of C Programs and the UNIX System
https://www.bell-labs.com/usr/dmr/www/portpap.html

"In the first sense, the portability of C programs have been recently
enhanced by new tools developed by center 127:
...
* The Standard I/O package implements efficient portable I/O. This
package should be used for nearly all new C development. The bulk of
existing programs should be converted, as well."
B. A. Tague - C Language Portability
https://archive.org/details/CLanguagePortability_Sept77

"2.2 The Standard I/O Library

In the past, there were two I/O libraries available. One was documented
by A New Input-Output Package (Ritchie), and was made available through
the -lS loader option. The other, older one was made available whenever
a C program was being compiled; it was characterized, among other
things, by use of the names fin and fout to control disposition of
standard input and output files.

The older library has now vanished, along with the -lS option. All
programs will receive the new I/O library without any explicit action.
In addition, the libraries obtained by -lc and -la have been
merged; this combined library is accessed (where needed) by -lc or -l."

Andrew R. Koenig - The C Environment of UNIX/TS
https://bitsavers.org/pdf/plexus/Sys3/98-05036.5_Plexus_Sys3_UNIX_Programmers_Manual_Vol_2A_RevA_198409.pdf

"New archiver ... uses long (double-word) integers, which can only be
compiled by the new C compiler which we can't distribute yet."
UNIX News, May-June 1976, 6-3
https://www.tuhs.org/Archive/Documentation/Usenix/Early_Newsletters/197605-unix-news-n6.pdf

"a new tape is in the process of preparation, and should be available as
soon as it clears the lawyers, for the usual free license and handling
fee.  It contains the new nroff, the new C, the new I/O library (faster
& smaller than anything to date), and a bunch of other such things.  It
will be available from Bell, not the Center.  Ken is going to send a
formal notice to the News."
UNIX News, November 1976, pg 1
https://www.tuhs.org/Archive/Documentation/Usenix/Early_Newsletters/197611-unix-news-n11.pdf

'Among the items listed are mini-UNIX (previously announced) and
"PHOTOTYPESETTER VERSION 7" which is new.'
https://www.tuhs.org/Archive/Documentation/Usenix/Early_Newsletters/197703-unix-news-v2n3.pdf

"The principal speaker at the Phototypesetting session was Joe Ossana.
He announced a new phototypesetting package, typesetter V7, which is or
soon will be available from Western Electric for a $3300 license fee.
The new package combines NROFF and TROFF and is written in C."
https://archive.org/details/login_august-1977/page/n21/mode/2up
https://www.usenix.org/system/files/login/articles/login_dec15_11_history_login.pdf

https://www.bell-labs.com/usr/dmr/www/licenses/pricelist84.pdf
has different items for
"Phototypesetter Programmer's Workbench"
"Phototypesetter V7"
"Independent TROFF"
these are also mentioned in
https://archive.org/details/login_april83_issue/page/n13/mode/2up

"On November 1, 1977 Toronto received a license for Phototypesetter V7"
Salus QCU pg 123


More information about the TUHS mailing list