aboutsummaryrefslogtreecommitdiff
path: root/dist/unix.html
blob: 9948da2f4f450a0be6010f80523e684f64ee2beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234

<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> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/libutf.tgz">checksums</a>)</font>

        
        <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
        
        <font size=-1>license: original <a href="license-bl.txt">Bell Labs MIT-like</a> 
        or <a href="http://9p.io/plan9/license.html">Lucent Public License</a></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> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/libfmt.tgz">checksums</a>)</font>
          
        <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
        
        <font size=-1>License: original <a href="license-bl.txt">Bell Labs MIT-like</a> 
        or <a href="http://9p.io/plan9/license.html">Lucent Public License</a></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> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/libbio.tgz">checksums</a>)</font>
          
        <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
        
        <font size=-1>License: <a href="license-vn.txt">Vita Nuova MIT-like</a> 
        or <a href="http://9p.io/plan9/license.html">Lucent Public License</a></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> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/libregexp9.tgz">checksums</a>)</font>
          
        <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
        
        <font size=-1>License: original <a href="license-bl.txt">Bell Labs MIT-like</a> 
        or <a href="http://9p.io/plan9/license.html">Lucent Public License</a></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> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/mk.tgz">checksums</a>)</font>
          
        <table border=0 cellspacing=0 cellpadding=0 width=100%><tr height=10><td></table>
        
        <font size=-1>License: <a href="license-vn.txt">Vita Nuova MIT-like</a> 
        or <a href="http://9p.io/plan9/license.html">Lucent Public License</a></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> <font size=-1>(<a href="/cgi-bin/info.cgi?file=/plan9port/unix/mk-with-libs.tgz">checksums</a>)</font>
    </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>