plan9port/dist/unix.html
Russ Cox 88a87fadae all: update for new MIT license
On March 23, 2021, Nokia transferred the copyrights in the Plan 9 software
to the Plan 9 Foundation, which relicensed them under the MIT license.

This commit updates the Plan 9 from User Space license to reflect the
new base license. The vast majority of the contributions beyond the
base Plan 9 set were by me, many of them explicitly under an MIT license.
Those are all under the new MIT license now as well.

The port of mk to Unix was taken from Inferno via Vita Nuova and had
been made available under GPL, but Vita Nuova has relicensed Inferno
under the MIT license as well, to match the new Plan 9 license.

Michael Teichgraber contributed src/lib9/zoneinfo.c explicitly under
the Lucent Public License but has agreed to change the contribution
to the MIT license now used in the rest of the distribution.

There remain a few exceptions, most notably fonts.
See the root LICENSE file for full details.

The only mention of the Lucent Public License in the whole tree now
is in the LICENSE file, explaining the history.
2021-03-23 20:59:23 -04:00

227 lines
8.8 KiB
HTML

<html>
<!--
Edit ./^$/,s/<table border=0 cellspacing=0 cellpadding=0 width=100%/<Table/g
Edit ./^$/,s/<Table/<table border=0 cellspacing=0 cellpadding=0 width=100%/g
-->
<head>
<base href="https://9fans.github.io/plan9port/unix/">
<title>Unix Software from Plan 9</title>
</head>
<body bgcolor=#ffffff>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td><td width=20>
<tr><td><td>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<center>
<font size=+1><b>Unix Software from Plan 9</b></font>
</center>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
These are ports of <a href="http://9p.io/plan9">Plan 9</a>'s
UTF-8, formatted print, buffered I/O, and regular expression
libraries, along with mk, a simple replacement for make.
<p>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>supported systems</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Digital Unix OSF1 <font size=-1>(Alpha)</font>,
Linux <font size=-1>(x86 and PowerPC)</font>,
FreeBSD <font size=-1>(x86)</font>,
NetBSD <font size=-1>(x86)</font>,
Mac OS X <font size=-1>(Power PC)</font>,
OpenBSD <font size=-1>(x86)</font>,
SunOS <font size=-1>(Sparc)</font>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>installation</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Links to source tgzs are below.
On supported systems, extract and <font size=+1><tt>make install</tt></font>.
The default installation target is <font size=+1><tt>/usr/local</tt></font>. To install elsewhere,
<font size=+1><tt>make PREFIX=/usr/elsewhere install</tt></font>.
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
On unsupported systems, you will need to create
<font size=+1><tt>Make.<i>YourOS</i>-<i>YourArch</i></tt></font>.
See the existing ones for examples. If you write one for a new system,
please send it to us for inclusion in the tar files.
</table>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>libutf</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Libutf is a port of Plan 9's support library for UTF-8 and Unicode.
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>manual:</font>
<!-- [ 9 man -w `{nm /usr/local/lib/libutf.a | awk '$2=="T" {print $3}'} ]-->
<a href="man/isalpharune3.html"><i>isalpharune</i>(3)</a>,
<a href="man/rune3.html"><i>rune</i>(3)</a>,
<a href="man/runestrcat3.html"><i>runestrcat</i>(3)</a>,
<a href="man/utf7.html"><i>utf</i>(7)</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>download:</font> <a href="libutf.tgz">libutf.tgz</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>license: MIT</font>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>libfmt</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Libfmt is a port of Plan 9's formatted print library.
As a base it provides all the syntax of ANSI C's printf but adds
the ability for client programs to install new print verbs.
One such print verb (installed by default) is <font size=+1><tt>%r</tt></font>, which prints
the system error string.
Instead of <font size=+1><tt>perror("foo")</tt></font>, you can write
<font size=+1><tt>fprint(2, "foo: %r\n");</tt></font>.
This is especially nice when you write verbs to format the
data structures used by your particular programs.
Needs libutf.
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>manual:</font>
<!-- [ 9 man -w `{nm /usr/local/lib/libfmt.a | awk '$2=="T" {print $3}'} ]-->
<a href="man/print3.html"><i>print</i>(3)</a>,
<a href="man/fmtinstall3.html"><i>fmtinstall</i>(3)</a>,
<a href="man/quote3.html"><i>quote</i>(3)</a>,
<a href="man/fmtstrtod3.html"><i>fmtstrtod</i>(3)</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>download:</font> <a href="libfmt.tgz">libfmt.tgz</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>license: MIT</font>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>libbio</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Libbio is a port of Plan 9's buffered I/O library.
It provides most of the same functionality as stdio or sfio,
but with a simpler interface and smaller footprint.
Needs libutf and libfmt.
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>manual:</font>
<a href="man/bio3.html"><i>bio</i>(3)</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>download:</font> <a href="libbio.tgz">libbio.tgz</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>license: MIT</font>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>libregexp9</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Libregexp9 is a port of Plan 9's Unicode-capable regular expression library.
It is small and simple and provides the traditional extended regular
expressions (without modern complications like
<font size=+1><tt>{}</tt></font> and various <font size=+1><tt>\x</tt></font> character classes).
It supports Unicode via wide character or UTF-8 encoding.
Needs libutf and libfmt.
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>manual:</font>
<a href="man/regexp93.html"><i>regexp9</i>(3)</a>,
<a href="man/regexp97.html"><i>regexp9</i>(7)</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>download:</font> <a href="libregexp9.tgz">libregexp9.tgz</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>license: MIT</font>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>mk</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Mk is a simple replacement for <i>make</i>.
Needs libutf, libfmt, libbio, and libregexp9.
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>manual:</font>
<a href="man/mk1.html"><i>mk</i>(1)</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>download:</font> <a href="mk.tgz">mk.tgz</a>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>license: MIT</font>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>one with everything</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Includes mk and all the libraries.
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
<font size=-1>download:</font> <a href="mk-with-libs.tgz">mk-with-libs.tgz</a>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
<b>contact</b>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr height=10><td width=20><td>
<tr><td><td>
Russ Cox <font size=-1>(<a href="mailto:rsc@swtch.com">rsc@swtch.com</a>)
</table>
<tr height=10><td>
<tr><td><td><center><a href=".."><img src="../dist/spaceglenda100.png" border=1 alt="Space Glenda"></a></center>
<tr height=10><td>
</table>
</body>
</html>