Browse Source

Plan 9 from Bell Labs 2004-11-29

David du Colombier 19 years ago
parent
commit
d08d74a444
11 changed files with 92 additions and 38 deletions
  1. 8 8
      dist/replica/_plan9.db
  2. 8 8
      dist/replica/plan9.db
  3. 8 0
      dist/replica/plan9.log
  4. 1 1
      sys/man/1/0intro
  5. 2 2
      sys/man/1/2a
  6. 23 1
      sys/man/1/2c
  7. 25 2
      sys/man/1/2l
  8. 3 3
      sys/man/1/acid
  9. 4 2
      sys/man/1/replica
  10. 2 11
      sys/man/1/vi
  11. 8 0
      sys/man/4/fossil

+ 8 - 8
dist/replica/_plan9.db

@@ -4643,13 +4643,13 @@ sys/log/timesync - 10000000666 sys sys 958934040 0
 sys/log/timesync.d - 20000000775 sys sys 947099701 0
 sys/man - 20000000775 sys sys 1012278794 0
 sys/man/1 - 20000000775 sys sys 1018897631 0
-sys/man/1/0intro - 664 sys sys 958249499 9623
-sys/man/1/2a - 664 sys sys 1089299164 1188
-sys/man/1/2c - 664 sys sys 1089299164 7193
-sys/man/1/2l - 664 sys sys 1089903786 3992
+sys/man/1/0intro - 664 sys sys 1101668050 9625
+sys/man/1/2a - 664 sys sys 1101668050 1188
+sys/man/1/2c - 664 sys sys 1101668050 7700
+sys/man/1/2l - 664 sys sys 1101668051 4365
 sys/man/1/INDEX - 664 sys sys 1100579340 3010
 sys/man/1/INDEX.html - 664 sys sys 1089320990 16634
-sys/man/1/acid - 664 sys sys 1082404958 9725
+sys/man/1/acid - 664 sys sys 1101668051 9727
 sys/man/1/acme - 664 sys sys 1019828741 17587
 sys/man/1/ap - 664 sys sys 1068471657 364
 sys/man/1/ar - 664 sys sys 1079397701 3153
@@ -4747,7 +4747,7 @@ sys/man/1/ps - 664 sys sys 1019769758 1642
 sys/man/1/ps2pdf - 664 sys sys 1032632098 1359
 sys/man/1/pwd - 664 sys sys 957920008 930
 sys/man/1/rc - 664 sys sys 1100894083 19898
-sys/man/1/replica - 664 sys sys 1021927495 6619
+sys/man/1/replica - 664 sys sys 1101668051 6647
 sys/man/1/resample - 664 sys sys 1015024740 1083
 sys/man/1/rio - 664 sys sys 1072729053 14321
 sys/man/1/rm - 664 sys sys 944959673 515
@@ -4789,7 +4789,7 @@ sys/man/1/uniq - 664 sys sys 944959674 995
 sys/man/1/units - 664 sys sys 944959673 2049
 sys/man/1/uptime - 664 sys sys 1074733782 380
 sys/man/1/vac - 664 sys sys 1021579977 3227
-sys/man/1/vi - 664 sys sys 1076688637 2980
+sys/man/1/vi - 664 sys sys 1101668051 2904
 sys/man/1/vnc - 664 sys sys 1045501432 4186
 sys/man/1/vt - 664 sys sys 1018386774 2210
 sys/man/1/wc - 664 sys sys 944959675 908
@@ -4993,7 +4993,7 @@ sys/man/4/execnet - 664 sys sys 1019866708 1069
 sys/man/4/exportfs - 664 sys sys 1100524176 4540
 sys/man/4/ext2srv - 664 sys sys 1055692986 2409
 sys/man/4/factotum - 664 sys sys 1053127875 14460
-sys/man/4/fossil - 664 sys sys 1087005581 9423
+sys/man/4/fossil - 664 sys sys 1101668322 9564
 sys/man/4/fs - 664 sys sys 1019058716 3387
 sys/man/4/ftpfs - 664 sys sys 1048285446 4327
 sys/man/4/import - 664 sys sys 1034195346 2204

+ 8 - 8
dist/replica/plan9.db

@@ -4643,13 +4643,13 @@ sys/log/timesync - 10000000666 sys sys 958934040 0
 sys/log/timesync.d - 20000000775 sys sys 947099701 0
 sys/man - 20000000775 sys sys 1012278794 0
 sys/man/1 - 20000000775 sys sys 1018897631 0
-sys/man/1/0intro - 664 sys sys 958249499 9623
-sys/man/1/2a - 664 sys sys 1089299164 1188
-sys/man/1/2c - 664 sys sys 1089299164 7193
-sys/man/1/2l - 664 sys sys 1089903786 3992
+sys/man/1/0intro - 664 sys sys 1101668050 9625
+sys/man/1/2a - 664 sys sys 1101668050 1188
+sys/man/1/2c - 664 sys sys 1101668050 7700
+sys/man/1/2l - 664 sys sys 1101668051 4365
 sys/man/1/INDEX - 664 sys sys 1100579340 3010
 sys/man/1/INDEX.html - 664 sys sys 1089320990 16634
-sys/man/1/acid - 664 sys sys 1082404958 9725
+sys/man/1/acid - 664 sys sys 1101668051 9727
 sys/man/1/acme - 664 sys sys 1019828741 17587
 sys/man/1/ap - 664 sys sys 1068471657 364
 sys/man/1/ar - 664 sys sys 1079397701 3153
@@ -4747,7 +4747,7 @@ sys/man/1/ps - 664 sys sys 1019769758 1642
 sys/man/1/ps2pdf - 664 sys sys 1032632098 1359
 sys/man/1/pwd - 664 sys sys 957920008 930
 sys/man/1/rc - 664 sys sys 1100894083 19898
-sys/man/1/replica - 664 sys sys 1021927495 6619
+sys/man/1/replica - 664 sys sys 1101668051 6647
 sys/man/1/resample - 664 sys sys 1015024740 1083
 sys/man/1/rio - 664 sys sys 1072729053 14321
 sys/man/1/rm - 664 sys sys 944959673 515
@@ -4789,7 +4789,7 @@ sys/man/1/uniq - 664 sys sys 944959674 995
 sys/man/1/units - 664 sys sys 944959673 2049
 sys/man/1/uptime - 664 sys sys 1074733782 380
 sys/man/1/vac - 664 sys sys 1021579977 3227
-sys/man/1/vi - 664 sys sys 1076688637 2980
+sys/man/1/vi - 664 sys sys 1101668051 2904
 sys/man/1/vnc - 664 sys sys 1045501432 4186
 sys/man/1/vt - 664 sys sys 1018386774 2210
 sys/man/1/wc - 664 sys sys 944959675 908
@@ -4993,7 +4993,7 @@ sys/man/4/execnet - 664 sys sys 1019866708 1069
 sys/man/4/exportfs - 664 sys sys 1100524176 4540
 sys/man/4/ext2srv - 664 sys sys 1055692986 2409
 sys/man/4/factotum - 664 sys sys 1053127875 14460
-sys/man/4/fossil - 664 sys sys 1087005581 9423
+sys/man/4/fossil - 664 sys sys 1101668322 9564
 sys/man/4/fs - 664 sys sys 1019058716 3387
 sys/man/4/ftpfs - 664 sys sys 1048285446 4327
 sys/man/4/import - 664 sys sys 1034195346 2204

+ 8 - 0
dist/replica/plan9.log

@@ -17115,3 +17115,11 @@
 1101270700 2 c 386/bin/fossil/fossil - 775 sys sys 1101269452 358243
 1101312107 0 c sys/src/cmd/mkone - 664 sys sys 1101311048 835
 1101398463 0 c sys/man/4/usb - 664 sys sys 1101397021 3413
+1101668515 0 c sys/man/1/2a - 664 sys sys 1101668050 1188
+1101668515 1 c sys/man/1/0intro - 664 sys sys 1101668050 9625
+1101668515 2 c sys/man/1/2c - 664 sys sys 1101668050 7700
+1101668515 3 c sys/man/1/2l - 664 sys sys 1101668051 4365
+1101668515 4 c sys/man/1/acid - 664 sys sys 1101668051 9727
+1101668515 5 c sys/man/1/replica - 664 sys sys 1101668051 6647
+1101668515 6 c sys/man/1/vi - 664 sys sys 1101668051 2904
+1101668515 7 c sys/man/4/fossil - 664 sys sys 1101668322 9564

+ 1 - 1
sys/man/1/0intro

@@ -13,7 +13,7 @@ CPU servers alike.
 .SS Name Spaces
 In Plan 9, almost all objects look like files.
 The object retrieved by a given name is determined by a mapping called the
-.IR name space .
+.IR "name space" .
 A quick tour of the standard name space is in
 .IR namespace (4).
 Every program running in Plan 9 belongs to a

+ 2 - 2
sys/man/1/2a

@@ -17,8 +17,8 @@ assemble the named files into object files
 for the corresponding architectures; see
 .IR 2c (1)
 for the correspondence between an architecture and the character
-.RB ( 0 ,
-.RB 1 ,
+.RB ( 1 ,
+.RB 2 ,
 etc.) that specifies it.
 The assemblers handle the most common C preprocessor directives and the associated
 command-line options

+ 23 - 1
sys/man/1/2c

@@ -52,7 +52,6 @@ Let the first letter of the compiler name be
 .IR O =
 .BR 1 ,
 .BR 2 ,
-.BR 4 ,
 .BR 5 ,
 .BR 7 ,
 .BR 8 ,
@@ -157,6 +156,14 @@ on standard output as well as generating the
 .RI . O
 file.
 .TP
+.B -T
+Pass type signatures on all external and global entities.
+The signature is based on the C
+.B signof
+operator.
+See
+.IR dynld (2).
+.TP
 .B -V
 By default, the compilers are non-standardly lax about type equality between
 .B void*
@@ -300,6 +307,21 @@ option is enabled, to type-check calls to
 and other such routines.
 .TP
 \-
+A
+.B #pragma
+of the form
+.EX
+    #pragma incomplete type
+.EE
+tells the compiler that
+.B type
+should have its signature calculated as an incomplete type
+even when it is fully defined.
+This allows the type signature mechanism to work in the presence
+of opaque types declared in header files while their full definitions
+are known only to the code which manipulates them.
+.TP
+\-
 The C++ comment
 .RB ( //
 to end of line)

+ 25 - 2
sys/man/1/2l

@@ -18,8 +18,8 @@ load the named
 into executable files for the corresponding architectures; see
 .IR 2c (1)
 for the correspondence between an architecture and the character
-.RB ( 0 ,
-.RB 1 ,
+.RB ( 1 ,
+.RB 2 ,
 etc.) that specifies it.
 The files should be object files or libraries (archives of object files)
 for the appropriate architecture.
@@ -115,6 +115,29 @@ The entry point for the binary is
 under
 .BR -p ).
 .TP
+.B -x 
+[
+.I file
+]
+Produce an export table in the executable.
+The optional
+.I file
+restricts the exported symbols to those listed in the file.
+See
+.IR dynld (2).
+.TP
+.B -u 
+[
+.I file
+]
+Produce an export table, import table
+and a dynamic load section in the executable.
+The optional
+.I file
+restricts the imported symbols to those listed in the file.
+See
+.IR dynld (2).
+.TP
 .BI -H n
 Executable header is type
 .IR n .

+ 3 - 3
sys/man/1/acid

@@ -60,7 +60,7 @@ at startup; see below.
 .BI -m " machine
 Assume instructions are for the given CPU type
 (one of
-.BR 3210 ,
+.BR alpha ,
 .BR 386 ,
 etc., as listed in
 .IR 2c (1),
@@ -107,9 +107,9 @@ When program symbols conflict with
 words, distinguishing 
 .B $
 signs are prefixed.
-Such renamings are reported at startup; option
+Such renamings are reported at startup if the option
 .B -q
-suppresses them.
+is enabled.
 .PP
 Variable types
 .RI ( "integer, float, list, string" )

+ 4 - 2
sys/man/1/replica

@@ -89,7 +89,8 @@ or
 .I push
 to print a summary of what it is doing.
 Each status line is of the form
-.sp 0.5
+.ift .sp 0.5
+.ifn .sp
 \h'0.25i'
 .I verb
 .I path
@@ -99,7 +100,8 @@ Each status line is of the form
 .I gid
 .I mtime
 .I length
-.sp 0.5
+.ift .sp 0.5
+.ifn .sp
 .I Verb
 describes the event:
 addition of a file

+ 2 - 11
sys/man/1/vi

@@ -1,6 +1,6 @@
 .TH VI 1
 .SH NAME
-0i, 5i, ki, vi, qi \- instruction simulators
+5i, ki, vi, qi \- instruction simulators
 .SH SYNOPSIS
 .B vi
 [
@@ -10,14 +10,6 @@
 .B vi
 .I pid
 .br
-.B 0i
-[
-.I textfile
-]
-.br
-.B 0i
-.I pid
-.br
 .B 5i
 [
 .I textfile
@@ -53,14 +45,13 @@ execute about two hundred times
 slower than normal\(embut faster than
 single stepping under
 .IR db .
-.IR 0i ,
 .IR 5i ,
 .IR ki ,
 and
 .IR qi
 are similar to
 .I vi
-but interpret little-endian MIPS, ARM, SPARC, and PowerPC binaries.
+but interpret ARM, SPARC, and PowerPC binaries.
 The following discussion refers to
 .I vi
 but applies to the others

+ 8 - 0
sys/man/4/fossil

@@ -59,6 +59,9 @@ fossil \- archival file server
 [
 .I config
 ]
+.PP
+.B fossil/last
+.I file
 .SH DESCRIPTION
 Fossil
 will become the main file system for Plan 9.
@@ -372,6 +375,11 @@ The Plan 9 kernel boot process runs
 to start a Fossil file server.
 The disk is just a convenient place to store configuration
 information.
+.PP
+.I Last
+prints the vac score that resulted after the most recent archival snapshot 
+of the fossil in
+.I file.
 .SH EXAMPLES
 .PP
 Place the root of the archive file system on