]> git.lizzy.rs Git - plan9front.git/blob - sys/doc/release3.ms
qer(8): correct man page example (thanks, kenji)
[plan9front.git] / sys / doc / release3.ms
1 .HTML "Plan 9 — Third Edition Release Notes
2 .TL
3 Plan 9 From Bell Labs
4 .br
5 Third Release Notes
6 .br
7 June 7, 2000
8 .LP
9 .sp -.4i
10 .nf
11 .ce 1000
12 Copyright © 2000 Lucent Technologies Inc.
13 All Rights Reserved
14 .sp .2i
15 .fi
16 .LP
17 The third release of the Plan 9 operating system from Bell Labs
18 is something of a snapshot of the current system.
19 This differs from the previous, 1995 release,
20 which was a more coordinated, well-defined release of an already-out-of-date
21 system.
22 Also, the previous releases were distributed on fixed media, while this release
23 is being done over the web.
24 The other major difference is that the third release is licensed under
25 an open source agreement, which we hope will encourage people
26 to experiment with it.
27 .LP
28 Beyond that, there are innumerable little changes throughout the code.
29 Although superficially it is the same environment, there is hardly an aspect
30 of the system that has not been redesigned, rewritten, or replaced.
31 The following is an incomplete list of changes.
32 .de Xx
33 .LP
34 \(bu
35 ..
36 .Xx
37 The list of architectures has changed; more compilers are included
38 and the list of kernels has changed.
39 There is solid support for Intel x86 multiprocessors.
40 Also, although the sources are available for
41 other architectures, the binaries and libraries are built only for the
42 Intel x86 architectures.
43 Kernel source is available for x86, Mips, DEC Alpha, and Power PC architectures.
44 Compilers also exist for AMD 29000, Motorola MC68000 and MC68020,
45 Intel i960, and SPARC.
46 (Unlike the the last release, no SPARC kernel exists for the current system.)
47 The compilers and related tools
48 have been made easier to port to Unix and Windows.
49 .Xx
50 The kernel now has a file cache to improve I/O performance.
51 Other kernel changes include the replacement of the streams interface
52 with a simpler, faster, but less flexible I/O queue structure.
53 The x86 kernels support PCI and PCMCIA devices.
54 .Xx
55 Network management has been simplified and generalized.
56 DNS supports a resolver mode and the DNS server is now solid.
57 DHCP is supported both at the client and server ends.
58 The system can handle multiple IP stacks, which are also
59 no longer Ethernet-specific.
60 .Xx
61 The organization of disks in the kernel has been unified, providing
62 a consistent interface to all disks and controllers: SCSI or ATAPI,
63 magnetic or CD-ROM.
64 .Xx
65 File offsets, such as in the
66 .CW seek
67 system call, are now 64-bit values.
68 The 1995 release defined the type
69 .CW Length
70 for the x86 as
71 .P1
72 typedef union
73 {
74         char    clength[8];
75         vlong   vlength;
76         struct
77         {
78                 long    hlength;
79                 long    length;
80         };
81 } Length;
82 .P2
83 which is the wrong byte order.
84 Now, for all architectures,
85 .CW Length
86 is well handled by a
87 .CW vlong
88 .CW long "" (
89 .CW long )
90 type, although for compatibility it's still held in a union:
91 .P1
92 typedef union
93 {
94         vlong   length;
95 } Length;
96 .P2
97 .Xx
98 The kernel now maintains a file name associated with each open file or
99 directory, which can be cheaply recovered by the
100 .CW fd2path
101 system call.
102 Plan 9 now does a much better job with
103 .CW ..
104 (dot-dot).
105 On a related note, a description of a process's name space may be
106 read with the
107 .CW ns
108 file in
109 .CW /proc ,
110 or by the
111 .CW ns
112 command.
113 .Xx
114 The security model is the same, although
115 the key format has changed.
116 If you have an old key file, use
117 .CW auth/convkeys2
118 (see
119 .I auth (8))
120 to update it.
121 There are new libraries for mulitprecision arithmetic and security.
122 .Xx
123 The graphics model is very different.
124 It is based on the Porter-Duff compositing algebra rather than
125 .CW bitblt ,
126 and the system supports everything from bitmaps to true-color displays.
127 Some of the graphics drivers exploit hardware acceleration.
128 .Xx
129 Coupled to the graphics changes, the image and font file formats have
130 changed.
131 They can represent a wider range of pixel formats and compress the data.
132 Also the white/black sense of value is reversed (zero is now black; pixels
133 represent light, not ink).
134 Most of the tools can handle the old format, but they all write the new format only.
135 .Xx
136 The user interface now incorporates plumbing, a language-driven
137 way for applications to communicate.  See
138 .I plumb (6)
139 for information.
140 .Xx
141 Building on plumbing and a program that presents the mail box as a file
142 system, Plan 9 now has convenient support for MIME mail messages.
143 .Xx
144 .CW 8½
145 has been replaced by
146 .CW rio ,
147 which has a similar appearance but a different architecture.
148 Although still a file server, it is much more efficient: the kernel driver
149 multiplexes graphics output so
150 .CW rio
151 is not in the display path.
152 .CW Rio
153 handles input and window control only.
154 .Xx
155 PC booting is more sophisticated.  PCs can now boot Plan 9 directly from
156 the disk without running DOS.
157 .Xx
158 Alef is gone.
159 It was deemed too difficult to maintain two sets of compilers and libraries
160 for all architectures.
161 Alef programs were translated into C, with the help of a new thread library
162 that preserves much of Alef's functionality, but none of its syntax.
163 .Xx
164 Mothra is gone.  There is no web browser included in this release,
165 but something may well appear before long.
166 .Xx
167 The
168 .CW fb
169 (frame buffer) suite is gone. Most of its tools are
170 supplanted by new ones, such as
171 .CW page ,
172 .CW jpg ,
173 and
174 .CW togif .
175 .Xx
176 Also gone from this release are the games and support for
177 international input
178 .CW ktrans "" (
179 etc.).
180 Both may return.
181 .Xx
182 New things include an implementation of
183 .CW ssh ,
184 an IMAP4 server,
185 and some spam-filtering software (see
186 .I scanmail (8)).
187 .LP
188 There's lots more.
189 If you have problems, mail
190 .CW 9trouble@plan9.bell-labs.com .
191 Please don't mail us individually.
192 .LP
193 Good Luck!