rsc | 78e51a8 | 2005-01-14 03:45:44 +0000 | [diff] [blame] | 1 | |
| 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 | --> |
| 7 | |
| 8 | <head> |
| 9 | <base href="http://swtch.com/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> |
| 20 | |
| 21 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 22 | These are ports of <a href="http://plan9.bell-labs.com/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> |
| 26 | |
| 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> |
| 40 | |
| 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>. |
| 50 | |
| 51 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 52 | |
| 53 | On unsupported systems, you will need to create |
| 54 | <font size=+1><tt>Make.<i>YourOS</i>-<i>YourArch</i></tt></font>. |
rsc | 722c34e | 2005-01-14 18:00:26 +0000 | [diff] [blame] | 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. |
rsc | 78e51a8 | 2005-01-14 03:45:44 +0000 | [diff] [blame] | 57 | |
| 58 | </table> |
| 59 | |
| 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> |
| 65 | |
| 66 | Libutf is a port of Plan 9's support library for UTF-8 and Unicode. |
| 67 | |
| 68 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 69 | |
| 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> |
| 76 | |
| 77 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 78 | |
| 79 | <font size=-1>download:</font> <a href="libutf.tgz">libutf.tgz</a> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/libutf.tgz">checksums</a>)</font> |
| 80 | |
| 81 | |
| 82 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 83 | |
| 84 | <font size=-1>license: original <a href="license-bl.txt">Bell Labs MIT-like</a> |
| 85 | or <a href="http://plan9.bell-labs.com/plan9dist/license.html">Lucent Public License</a></font> |
| 86 | |
| 87 | </table> |
| 88 | |
| 89 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table> |
| 90 | <b>libfmt</b> |
| 91 | <table border=0 cellspacing=0 cellpadding=0 width=100%> |
| 92 | <tr height=10><td width=20><td> |
| 93 | <tr><td><td> |
| 94 | |
| 95 | Libfmt is a port of Plan 9's formatted print library. |
| 96 | As a base it provides all the syntax of ANSI C's printf but adds |
| 97 | the ability for client programs to install new print verbs. |
| 98 | One such print verb (installed by default) is <font size=+1><tt>%r</tt></font>, which prints |
| 99 | the system error string. |
| 100 | Instead of <font size=+1><tt>perror("foo")</tt></font>, you can write |
| 101 | <font size=+1><tt>fprint(2, "foo: %r\n");</tt></font>. |
| 102 | This is especially nice when you write verbs to format the |
| 103 | data structures used by your particular programs. |
| 104 | Needs libutf. |
| 105 | |
| 106 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 107 | |
| 108 | <font size=-1>manual:</font> |
| 109 | <!-- [ 9 man -w `{nm /usr/local/lib/libfmt.a | awk '$2=="T" {print $3}'} ]--> |
| 110 | <a href="man/print3.html"><i>print</i>(3)</a>, |
| 111 | <a href="man/fmtinstall3.html"><i>fmtinstall</i>(3)</a>, |
| 112 | <a href="man/quote3.html"><i>quote</i>(3)</a>, |
| 113 | <a href="man/fmtstrtod3.html"><i>fmtstrtod</i>(3)</a> |
| 114 | |
| 115 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 116 | |
| 117 | <font size=-1>download:</font> <a href="libfmt.tgz">libfmt.tgz</a> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/libfmt.tgz">checksums</a>)</font> |
| 118 | |
| 119 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 120 | |
| 121 | <font size=-1>License: original <a href="license-bl.txt">Bell Labs MIT-like</a> |
| 122 | or <a href="http://plan9.bell-labs.com/plan9dist/license.html">Lucent Public License</a></font> |
| 123 | |
| 124 | </table> |
| 125 | |
| 126 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table> |
| 127 | <b>libbio</b> |
| 128 | <table border=0 cellspacing=0 cellpadding=0 width=100%> |
| 129 | <tr height=10><td width=20><td> |
| 130 | <tr><td><td> |
| 131 | |
| 132 | Libbio is a port of Plan 9's buffered I/O library. |
| 133 | It provides most of the same functionality as stdio or sfio, |
| 134 | but with a simpler interface and smaller footprint. |
| 135 | Needs libutf and libfmt. |
| 136 | |
| 137 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 138 | |
| 139 | <font size=-1>manual:</font> |
| 140 | <a href="man/bio3.html"><i>bio</i>(3)</a> |
| 141 | |
| 142 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 143 | |
| 144 | <font size=-1>download:</font> <a href="libbio.tgz">libbio.tgz</a> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/libbio.tgz">checksums</a>)</font> |
| 145 | |
| 146 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 147 | |
rsc | a8fe99c | 2005-08-31 03:57:47 +0000 | [diff] [blame] | 148 | <font size=-1>License: <a href="license-vn.txt">Vita Nuova MIT-like</a> |
rsc | 78e51a8 | 2005-01-14 03:45:44 +0000 | [diff] [blame] | 149 | or <a href="http://plan9.bell-labs.com/plan9dist/license.html">Lucent Public License</a></font> |
rsc | 78e51a8 | 2005-01-14 03:45:44 +0000 | [diff] [blame] | 150 | </table> |
| 151 | |
| 152 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table> |
| 153 | <b>libregexp9</b> |
| 154 | <table border=0 cellspacing=0 cellpadding=0 width=100%> |
| 155 | <tr height=10><td width=20><td> |
| 156 | <tr><td><td> |
| 157 | |
| 158 | Libregexp9 is a port of Plan 9's Unicode-capable regular expression library. |
| 159 | It is small and simple and provides the traditional extended regular |
| 160 | expressions (without modern complications like |
| 161 | <font size=+1><tt>{}</tt></font> and various <font size=+1><tt>\x</tt></font> character classes). |
| 162 | It supports Unicode via wide character or UTF-8 encoding. |
| 163 | Needs libutf and libfmt. |
| 164 | |
| 165 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 166 | |
| 167 | <font size=-1>manual:</font> |
| 168 | <a href="man/regexp93.html"><i>regexp9</i>(3)</a>, |
| 169 | <a href="man/regexp97.html"><i>regexp9</i>(7)</a> |
| 170 | |
| 171 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 172 | |
| 173 | <font size=-1>download:</font> <a href="libregexp9.tgz">libregexp9.tgz</a> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/libregexp9.tgz">checksums</a>)</font> |
| 174 | |
| 175 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 176 | |
rsc | f76c803 | 2005-02-11 16:52:20 +0000 | [diff] [blame] | 177 | <font size=-1>License: original <a href="license-bl.txt">Bell Labs MIT-like</a> |
rsc | 78e51a8 | 2005-01-14 03:45:44 +0000 | [diff] [blame] | 178 | or <a href="http://plan9.bell-labs.com/plan9dist/license.html">Lucent Public License</a></font> |
| 179 | |
| 180 | </table> |
| 181 | |
| 182 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table> |
| 183 | <b>mk</b> |
| 184 | <table border=0 cellspacing=0 cellpadding=0 width=100%> |
| 185 | <tr height=10><td width=20><td> |
| 186 | <tr><td><td> |
| 187 | |
| 188 | Mk is a simple replacement for <i>make</i>. |
| 189 | Needs libutf, libfmt, libbio, and libregexp9. |
| 190 | |
| 191 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 192 | |
| 193 | <font size=-1>manual:</font> |
| 194 | <a href="man/mk1.html"><i>mk</i>(1)</a> |
| 195 | |
| 196 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 197 | |
| 198 | <font size=-1>download:</font> <a href="mk.tgz">mk.tgz</a> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/mk.tgz">checksums</a>)</font> |
| 199 | |
| 200 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 201 | |
rsc | a8fe99c | 2005-08-31 03:57:47 +0000 | [diff] [blame] | 202 | <font size=-1>License: <a href="license-vn.txt">Vita Nuova MIT-like</a> |
rsc | 78e51a8 | 2005-01-14 03:45:44 +0000 | [diff] [blame] | 203 | or <a href="http://plan9.bell-labs.com/plan9dist/license.html">Lucent Public License</a></font> |
| 204 | </table> |
| 205 | |
| 206 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table> |
| 207 | <b>one with everything</b> |
| 208 | <table border=0 cellspacing=0 cellpadding=0 width=100%> |
| 209 | <tr height=10><td width=20><td> |
| 210 | <tr><td><td> |
| 211 | |
| 212 | Includes mk and all the libraries. |
| 213 | |
| 214 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table> |
| 215 | |
| 216 | <font size=-1>download:</font> <a href="mk-with-libs.tgz">mk-with-libs.tgz</a> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/mk-with-libs.tgz">checksums</a>)</font> |
| 217 | </table> |
| 218 | |
| 219 | |
| 220 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=20><td></table> |
| 221 | <b>contact</b> |
| 222 | <table border=0 cellspacing=0 cellpadding=0 width=100%> |
| 223 | <tr height=10><td width=20><td> |
| 224 | <tr><td><td> |
| 225 | Russ Cox <font size=-1>(<a href="mailto:rsc@swtch.com">rsc@swtch.com</a>) |
| 226 | </table> |
| 227 | <tr height=10><td> |
rsc | bd1c600 | 2005-01-14 20:41:26 +0000 | [diff] [blame] | 228 | <tr><td><td><center><a href=".."><img src="../dist/spaceglenda100.png" border=1 alt="Space Glenda"></a></center> |
rsc | 78e51a8 | 2005-01-14 03:45:44 +0000 | [diff] [blame] | 229 | |
| 230 | <tr height=10><td> |
| 231 | </table> |
| 232 | |
| 233 | </body> |
| 234 | </html> |