Blob


2 <html>
3 <!--
4 Edit ./^$/,s/<table border=0 cellspacing=0 cellpadding=0 width=100%/<Table/g
5 Edit ./^$/,s/<Table/<table border=0 cellspacing=0 cellpadding=0 width=100%/g
6 -->
8 <head>
9 <base href="https://9fans.github.io/plan9port/unix/">
10 <title>Unix Software from Plan 9</title>
11 </head>
12 <body bgcolor=#ffffff>
13 <table border=0 cellspacing=0 cellpadding=0 width=100%>
14 <tr height=10><td width=20><td><td width=20>
15 <tr><td><td>
16 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
17 <center>
18 <font size=+1><b>Unix Software from Plan 9</b></font>
19 </center>
21 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
22 These are ports of <a href="http://9p.io/plan9">Plan 9</a>'s
23 UTF-8, formatted print, buffered I/O, and regular expression
24 libraries, along with mk, a simple replacement for make.
25 <p>
27 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
28 <b>supported systems</b>
29 <table border=0 cellspacing=0 cellpadding=0 width=100%>
30 <tr height=10><td width=20><td>
31 <tr><td><td>
32 Digital Unix OSF1 <font size=-1>(Alpha)</font>,
33 Linux <font size=-1>(x86 and PowerPC)</font>,
34 FreeBSD <font size=-1>(x86)</font>,
35 NetBSD <font size=-1>(x86)</font>,
36 Mac OS X <font size=-1>(Power PC)</font>,
37 OpenBSD <font size=-1>(x86)</font>,
38 SunOS <font size=-1>(Sparc)</font>
39 </table>
41 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
42 <b>installation</b>
43 <table border=0 cellspacing=0 cellpadding=0 width=100%>
44 <tr height=10><td width=20><td>
45 <tr><td><td>
46 Links to source tgzs are below.
47 On supported systems, extract and <font size=+1><tt>make install</tt></font>.
48 The default installation target is <font size=+1><tt>/usr/local</tt></font>. To install elsewhere,
49 <font size=+1><tt>make PREFIX=/usr/elsewhere install</tt></font>.
51 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
53 On unsupported systems, you will need to create
54 <font size=+1><tt>Make.<i>YourOS</i>-<i>YourArch</i></tt></font>.
55 See the existing ones for examples. If you write one for a new system,
56 please send it to us for inclusion in the tar files.
58 </table>
60 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
61 <b>libutf</b>
62 <table border=0 cellspacing=0 cellpadding=0 width=100%>
63 <tr height=10><td width=20><td>
64 <tr><td><td>
66 Libutf is a port of Plan 9's support library for UTF-8 and Unicode.
68 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
70 <font size=-1>manual:</font>
71 <!-- [ 9 man -w `{nm /usr/local/lib/libutf.a | awk '$2=="T" {print $3}'} ]-->
72 <a href="man/isalpharune3.html"><i>isalpharune</i>(3)</a>,
73 <a href="man/rune3.html"><i>rune</i>(3)</a>,
74 <a href="man/runestrcat3.html"><i>runestrcat</i>(3)</a>,
75 <a href="man/utf7.html"><i>utf</i>(7)</a>
77 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
79 <font size=-1>download:</font> <a href="libutf.tgz">libutf.tgz</a>
81 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
83 <font size=-1>license: MIT</font>
85 </table>
87 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
88 <b>libfmt</b>
89 <table border=0 cellspacing=0 cellpadding=0 width=100%>
90 <tr height=10><td width=20><td>
91 <tr><td><td>
93 Libfmt is a port of Plan 9's formatted print library.
94 As a base it provides all the syntax of ANSI C's printf but adds
95 the ability for client programs to install new print verbs.
96 One such print verb (installed by default) is <font size=+1><tt>%r</tt></font>, which prints
97 the system error string.
98 Instead of <font size=+1><tt>perror("foo")</tt></font>, you can write
99 <font size=+1><tt>fprint(2, "foo: %r\n");</tt></font>.
100 This is especially nice when you write verbs to format the
101 data structures used by your particular programs.
102 Needs libutf.
104 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
106 <font size=-1>manual:</font>
107 <!-- [ 9 man -w `{nm /usr/local/lib/libfmt.a | awk '$2=="T" {print $3}'} ]-->
108 <a href="man/print3.html"><i>print</i>(3)</a>,
109 <a href="man/fmtinstall3.html"><i>fmtinstall</i>(3)</a>,
110 <a href="man/quote3.html"><i>quote</i>(3)</a>,
111 <a href="man/fmtstrtod3.html"><i>fmtstrtod</i>(3)</a>
113 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
115 <font size=-1>download:</font> <a href="libfmt.tgz">libfmt.tgz</a>
117 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
119 <font size=-1>license: MIT</font>
121 </table>
123 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
124 <b>libbio</b>
125 <table border=0 cellspacing=0 cellpadding=0 width=100%>
126 <tr height=10><td width=20><td>
127 <tr><td><td>
129 Libbio is a port of Plan 9's buffered I/O library.
130 It provides most of the same functionality as stdio or sfio,
131 but with a simpler interface and smaller footprint.
132 Needs libutf and libfmt.
134 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
136 <font size=-1>manual:</font>
137 <a href="man/bio3.html"><i>bio</i>(3)</a>
139 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
141 <font size=-1>download:</font> <a href="libbio.tgz">libbio.tgz</a>
143 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
145 <font size=-1>license: MIT</font>
146 </table>
148 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
149 <b>libregexp9</b>
150 <table border=0 cellspacing=0 cellpadding=0 width=100%>
151 <tr height=10><td width=20><td>
152 <tr><td><td>
154 Libregexp9 is a port of Plan 9's Unicode-capable regular expression library.
155 It is small and simple and provides the traditional extended regular
156 expressions (without modern complications like
157 <font size=+1><tt>{}</tt></font> and various <font size=+1><tt>\x</tt></font> character classes).
158 It supports Unicode via wide character or UTF-8 encoding.
159 Needs libutf and libfmt.
161 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
163 <font size=-1>manual:</font>
164 <a href="man/regexp93.html"><i>regexp9</i>(3)</a>,
165 <a href="man/regexp97.html"><i>regexp9</i>(7)</a>
167 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
169 <font size=-1>download:</font> <a href="libregexp9.tgz">libregexp9.tgz</a>
171 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
173 <font size=-1>license: MIT</font>
175 </table>
177 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
178 <b>mk</b>
179 <table border=0 cellspacing=0 cellpadding=0 width=100%>
180 <tr height=10><td width=20><td>
181 <tr><td><td>
183 Mk is a simple replacement for <i>make</i>.
184 Needs libutf, libfmt, libbio, and libregexp9.
186 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
188 <font size=-1>manual:</font>
189 <a href="man/mk1.html"><i>mk</i>(1)</a>
191 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
193 <font size=-1>download:</font> <a href="mk.tgz">mk.tgz</a>
195 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
197 <font size=-1>license: MIT</font>
198 </table>
200 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
201 <b>one with everything</b>
202 <table border=0 cellspacing=0 cellpadding=0 width=100%>
203 <tr height=10><td width=20><td>
204 <tr><td><td>
206 Includes mk and all the libraries.
208 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
209 <font size=-1>download:</font> <a href="mk-with-libs.tgz">mk-with-libs.tgz</a>
210 </table>
213 <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table>
214 <b>contact</b>
215 <table border=0 cellspacing=0 cellpadding=0 width=100%>
216 <tr height=10><td width=20><td>
217 <tr><td><td>
218 Russ Cox <font size=-1>(<a href="mailto:rsc@swtch.com">rsc@swtch.com</a>)
219 </table>
220 <tr height=10><td>
221 <tr><td><td><center><a href=".."><img src="../dist/spaceglenda100.png" border=1 alt="Space Glenda"></a></center>
223 <tr height=10><td>
224 </table>
226 </body>
227 </html>