Browse Source

Plan 9 from Bell Labs 2007-12-14

David du Colombier 13 years ago
parent
commit
01f0a2c57d

+ 1 - 1
acme/wiki/guide

@@ -1,3 +1,3 @@
-Local srv net!plan9.bell-labs.com!wiki wiki /mnt/wiki
+Local 9fs wiki
 # Local wikifs /sys/lib/wiki
 Wiki /mnt/wiki

+ 7 - 7
dist/replica/_plan9.db

@@ -409,7 +409,7 @@
 386/bin/snap - 775 sys sys 1188530194 316182
 386/bin/snapfs - 775 sys sys 1188530202 390401
 386/bin/sniffer - 775 sys sys 1038443185 99028
-386/bin/snoopy - 775 sys sys 1196742526 194911
+386/bin/snoopy - 775 sys sys 1197579415 195288
 386/bin/sort - 775 sys sys 1178568303 81057
 386/bin/spin - 775 sys sys 1186543935 769291
 386/bin/split - 775 sys sys 1181507270 75811
@@ -730,7 +730,7 @@ acme/news/src/util.c - 664 sys sys 1015097408 1385
 acme/news/src/win.c - 664 sys sys 1015097408 5174
 acme/news/src/win.h - 664 sys sys 1015011247 1655
 acme/wiki - 20000000775 sys sys 1039727915 0
-acme/wiki/guide - 444 sys sys 1038243508 98
+acme/wiki/guide - 444 sys sys 1197570947 59
 acme/wiki/src - 20000000775 sys sys 1039727915 0
 acme/wiki/src/awiki.h - 664 sys sys 1125314888 2172
 acme/wiki/src/main.c - 664 sys sys 1018387015 848
@@ -7841,8 +7841,8 @@ sys/man/8/getflags - 664 sys sys 1196638947 1713
 sys/man/8/gpsfs - 664 sys sys 1196638947 4918
 sys/man/8/httpd - 664 sys sys 1196638947 6866
 sys/man/8/init - 664 sys sys 1196638947 1430
-sys/man/8/ipconfig - 664 sys sys 1196638947 8187
-sys/man/8/ipserv - 664 sys sys 1196638947 4411
+sys/man/8/ipconfig - 664 sys sys 1197574322 8207
+sys/man/8/ipserv - 664 sys sys 1197574309 3268
 sys/man/8/kfscmd - 664 sys sys 1196638947 4514
 sys/man/8/listen - 664 sys sys 1196638947 4032
 sys/man/8/lp - 664 sys sys 1196638947 2491
@@ -7860,7 +7860,7 @@ sys/man/8/pcmcia - 664 sys sys 1196638947 408
 sys/man/8/pem - 664 sys sys 1196638947 1189
 sys/man/8/ping - 664 sys sys 1196638947 3650
 sys/man/8/plan9.ini - 664 sys sys 1196638947 23835
-sys/man/8/pop3 - 664 sys sys 1196638948 2720
+sys/man/8/pop3 - 664 sys sys 1197574309 3122
 sys/man/8/ppp - 664 sys sys 1196638948 4430
 sys/man/8/prep - 664 sys sys 1196638948 14201
 sys/man/8/qer - 664 sys sys 1196638948 4909
@@ -7883,7 +7883,7 @@ sys/man/8/tlssrv - 664 sys sys 1196638948 2589
 sys/man/8/trampoline - 664 sys sys 1196638948 1199
 sys/man/8/udpecho - 664 sys sys 1196638948 303
 sys/man/8/update - 664 sys sys 1196638948 2336
-sys/man/8/venti - 664 sys sys 1196638948 12190
+sys/man/8/venti - 664 sys sys 1197570117 12190
 sys/man/8/venti-backup - 664 sys sys 1196638948 2102
 sys/man/8/venti-fmt - 664 sys sys 1196638948 8626
 sys/man/8/vga - 664 sys sys 1196638948 4129
@@ -12565,7 +12565,7 @@ sys/src/cmd/ip/snoopy/aoeata.c - 664 sys sys 1181426199 1852
 sys/src/cmd/ip/snoopy/aoecmd.c - 664 sys sys 1181426199 1152
 sys/src/cmd/ip/snoopy/arp.c - 664 sys sys 1128179536 1914
 sys/src/cmd/ip/snoopy/bootp.c - 664 sys sys 1139667382 3442
-sys/src/cmd/ip/snoopy/cec.c - 664 sys sys 1181426201 1476
+sys/src/cmd/ip/snoopy/cec.c - 664 sys sys 1197570703 1507
 sys/src/cmd/ip/snoopy/dat.h - 664 sys sys 1146318302 1933
 sys/src/cmd/ip/snoopy/dhcp.c - 664 sys sys 1186081890 8965
 sys/src/cmd/ip/snoopy/dns.c - 664 sys sys 1186081910 8710

+ 7 - 7
dist/replica/plan9.db

@@ -409,7 +409,7 @@
 386/bin/snap - 775 sys sys 1188530194 316182
 386/bin/snapfs - 775 sys sys 1188530202 390401
 386/bin/sniffer - 775 sys sys 1038443185 99028
-386/bin/snoopy - 775 sys sys 1196742526 194911
+386/bin/snoopy - 775 sys sys 1197579415 195288
 386/bin/sort - 775 sys sys 1178568303 81057
 386/bin/spin - 775 sys sys 1186543935 769291
 386/bin/split - 775 sys sys 1181507270 75811
@@ -730,7 +730,7 @@ acme/news/src/util.c - 664 sys sys 1015097408 1385
 acme/news/src/win.c - 664 sys sys 1015097408 5174
 acme/news/src/win.h - 664 sys sys 1015011247 1655
 acme/wiki - 20000000775 sys sys 1039727915 0
-acme/wiki/guide - 444 sys sys 1038243508 98
+acme/wiki/guide - 444 sys sys 1197570947 59
 acme/wiki/src - 20000000775 sys sys 1039727915 0
 acme/wiki/src/awiki.h - 664 sys sys 1125314888 2172
 acme/wiki/src/main.c - 664 sys sys 1018387015 848
@@ -7841,8 +7841,8 @@ sys/man/8/getflags - 664 sys sys 1196638947 1713
 sys/man/8/gpsfs - 664 sys sys 1196638947 4918
 sys/man/8/httpd - 664 sys sys 1196638947 6866
 sys/man/8/init - 664 sys sys 1196638947 1430
-sys/man/8/ipconfig - 664 sys sys 1196638947 8187
-sys/man/8/ipserv - 664 sys sys 1196638947 4411
+sys/man/8/ipconfig - 664 sys sys 1197574322 8207
+sys/man/8/ipserv - 664 sys sys 1197574309 3268
 sys/man/8/kfscmd - 664 sys sys 1196638947 4514
 sys/man/8/listen - 664 sys sys 1196638947 4032
 sys/man/8/lp - 664 sys sys 1196638947 2491
@@ -7860,7 +7860,7 @@ sys/man/8/pcmcia - 664 sys sys 1196638947 408
 sys/man/8/pem - 664 sys sys 1196638947 1189
 sys/man/8/ping - 664 sys sys 1196638947 3650
 sys/man/8/plan9.ini - 664 sys sys 1196638947 23835
-sys/man/8/pop3 - 664 sys sys 1196638948 2720
+sys/man/8/pop3 - 664 sys sys 1197574309 3122
 sys/man/8/ppp - 664 sys sys 1196638948 4430
 sys/man/8/prep - 664 sys sys 1196638948 14201
 sys/man/8/qer - 664 sys sys 1196638948 4909
@@ -7883,7 +7883,7 @@ sys/man/8/tlssrv - 664 sys sys 1196638948 2589
 sys/man/8/trampoline - 664 sys sys 1196638948 1199
 sys/man/8/udpecho - 664 sys sys 1196638948 303
 sys/man/8/update - 664 sys sys 1196638948 2336
-sys/man/8/venti - 664 sys sys 1196638948 12190
+sys/man/8/venti - 664 sys sys 1197570117 12190
 sys/man/8/venti-backup - 664 sys sys 1196638948 2102
 sys/man/8/venti-fmt - 664 sys sys 1196638948 8626
 sys/man/8/vga - 664 sys sys 1196638948 4129
@@ -12565,7 +12565,7 @@ sys/src/cmd/ip/snoopy/aoeata.c - 664 sys sys 1181426199 1852
 sys/src/cmd/ip/snoopy/aoecmd.c - 664 sys sys 1181426199 1152
 sys/src/cmd/ip/snoopy/arp.c - 664 sys sys 1128179536 1914
 sys/src/cmd/ip/snoopy/bootp.c - 664 sys sys 1139667382 3442
-sys/src/cmd/ip/snoopy/cec.c - 664 sys sys 1181426201 1476
+sys/src/cmd/ip/snoopy/cec.c - 664 sys sys 1197570703 1507
 sys/src/cmd/ip/snoopy/dat.h - 664 sys sys 1146318302 1933
 sys/src/cmd/ip/snoopy/dhcp.c - 664 sys sys 1186081890 8965
 sys/src/cmd/ip/snoopy/dns.c - 664 sys sys 1186081910 8710

+ 7 - 0
dist/replica/plan9.log

@@ -18136,3 +18136,10 @@
 1197063004 2 c sys/src/9/ppc/trap.c - 664 sys sys 1197062173 17083
 1197486005 0 c 386/lib/ape/libap.a - 664 sys sys 1197477002 820230
 1197493204 0 c 386/lib/ape/libap.a - 664 sys sys 1197493060 820230
+1197570603 0 c sys/man/8/venti - 664 sys sys 1197570117 12190
+1197570603 1 c sys/src/cmd/ip/snoopy/cec.c - 664 sys sys 1197570703 1507
+1197572405 0 c acme/wiki/guide - 444 sys sys 1197570947 59
+1197574206 0 c sys/man/8/ipconfig - 664 sys sys 1197574322 8207
+1197574206 1 c sys/man/8/ipserv - 664 sys sys 1197574309 3268
+1197574206 2 c sys/man/8/pop3 - 664 sys sys 1197574309 3122
+1197579605 0 c 386/bin/snoopy - 775 sys sys 1197579415 195288

+ 5 - 3
sys/man/8/ipconfig

@@ -47,7 +47,7 @@ ipconfig, rip, linklocal, ipv6on \- Internet configuration and routing
 .B ip/linklocal
 [
 .B -t
-.I ipv4
+.I gwipv4
 ]
 .I mac
 \&...
@@ -307,9 +307,11 @@ Given
 instead prints the
 .I 6to4
 EUI-64-based IPv6 address corresponding to
-.I ipv4
+.I mac
 and
-.IR mac .
+.I 6to4
+gateway
+.IR gwipv4 .
 .PP
 .I Ipv6on
 uses the network database at

+ 12 - 65
sys/man/8/ipserv

@@ -2,7 +2,6 @@
 .SH NAME
 telnetd, rlogind, rexexec, ftpd \- Internet remote access daemons
 .SH SYNOPSIS
-.PP
 .B ip/telnetd
 .RB [ -adnptN ]
 .RB [ -u
@@ -28,7 +27,7 @@ started from scripts in
 .I Telnetd
 allows login from a remote client.
 There are three types of login:
-.TF anonymous
+.TF anonymo
 .TP
 .I normal
 Normal users log in by encrypting and returning a
@@ -47,7 +46,7 @@ defines the namespace.
 Users in group
 .B noworld
 in
-.BR /adm/users 
+.BR /adm/users
 authenticate with a password in the clear.
 .B /lib/namespace.noworld
 defines the namespace.
@@ -56,12 +55,13 @@ defines the namespace.
 User
 .B none
 requires no authentication.
-.B /lib/namespace 
+.B /lib/namespace
 defines the namespace.
 .PD
 .PP
-The options are:
-.TP
+.IR Telnetd 's
+options are:
+.TP 4
 .B a
 allow anonymous login by
 .B none
@@ -109,7 +109,7 @@ remote machines.
 As for
 .IR telnetd ,
 there are three types of login:
-.TF anonymous
+.TF anonymo
 .TP
 .I normal
 Normal users authenticate
@@ -145,8 +145,9 @@ below
 .BR /incoming .
 .PD
 .PP
-The options are:
-.TP
+.IR Ftpd 's
+options are:
+.TP 4
 .B a
 allow anonymous access
 .B A
@@ -172,52 +173,6 @@ is locked by
 see
 .IR httpd (8).
 .PP
-.I Imap4d
-provides access to a user's mailboxes via the IMAP4rev1 protocol.
-Only files rooted in
-.BI /mail/box/ username /
-are accessible.
-The list of subscribed mailboxes is contained in
-.BI /mail/box/ username /imap.subscribed ,
-and initially contains only
-.BR INBOX ,
-IMAP's name for the user's mailbox.
-A shadow file,
-.IB mailbox .imp ,
-is created for each mailbox examined.
-.PP
-The options are:
-.TP
-.B a
-Assume the user is already authenticated.
-By default, the user must authenticate using
-CRAM-MD5 or
-.IR securenet (8)
-challenge/response authentication.
-.TP
-.B p
-Allow login authentication.  This option
-should only be enabled for servers using
-an encrypted connection, such as SSL,
-and when enabled, all non-encrypted connections should be disallowed.
-.I Imap4d
-does not enforce this policy.
-.TP
-.B s
-The server's name.
-If none is provided,
-.B cs
-(see
-.IR ndb (8))
-is queried or
-.B /env/sysname
-is used.
-.TP
-.B d
-The local mail domain.
-Defaults to the server
-.B /env/site
-in the mail server's domain.
 .SH FILES
 .B /lib/namepace
 .br
@@ -226,12 +181,6 @@ in the mail server's domain.
 .B /lib/namespace.world
 .br
 .B /lib/namespace.ftp
-.br
-.BI /mail/box/ username / mailbox
-.br
-.BI /mail/box/ username / mailbox .imp
-.br
-.BI /mail/box/ username /imap.subscribed
 .SH SOURCE
 .B /sys/src/cmd/ip/telnetd.c
 .br
@@ -240,8 +189,6 @@ in the mail server's domain.
 .B /sys/src/cmd/ip/rexexec.c
 .br
 .B /sys/src/cmd/ip/ftpd.c
-.br
-.B /sys/src/cmd/ip/imap4d/
-.br
 .SH "SEE ALSO"
-.IR ftpfs (4)
+.IR ftpfs (4),
+.IP pop3 (8)

+ 20 - 7
sys/man/8/pop3

@@ -1,6 +1,6 @@
 .TH POP3 8
 .SH NAME
-pop3, imap4d \-  mail servers
+pop3, imap4d \- Internet mail servers
 .SH SYNOPSIS
 .PP
 .B upas/pop3
@@ -27,11 +27,17 @@ pop3, imap4d \-  mail servers
 .RB [ -s
 .IR servername ]
 .SH DESCRIPTION
+These programs support remote access to mail across the Internet.
+All expect the network connection to be standard input, output, and error.
+They are normally started from scripts in
+.B /rc/bin/service
+(see
+.IR listen (8)).
 .PP
 .I Pop3
 provides access to a user's mailboxes via the POP3 protocol.
 The options are:
-.TP
+.TP 4
 .B -d
 create
 .I debugfile
@@ -74,8 +80,9 @@ A shadow file,
 .IB mailbox .imp ,
 is created for each mailbox examined.
 .PP
-The options are:
-.TP
+.IR Imap4d 's
+options are:
+.TP 4
 .B a
 Assume the user is already authenticated.
 By default, the user must authenticate using
@@ -122,13 +129,19 @@ secret held by
 .IR keyfs (4)
 running on the authentication server.
 .SH FILES
+.TF /mail/box/username/imap.subscrib
 .TP
 .B /sys/log/imap4d
-\- debugging output
-.SH SOURCE
+debugging output
 .TP
-.B /sys/src/cmd/upas/pop3
+.BI /mail/box/ username / mailbox
+.TP
+.BI /mail/box/ username / mailbox .imp
 .TP
+.BI /mail/box/ username /imap.subscribed
+.SH SOURCE
+.B /sys/src/cmd/upas/pop3
+.br
 .B /sys/src/cmd/ip/imap4d
 .SH "SEE ALSO"
 .IR aliasmail (8),

+ 1 - 1
sys/man/8/venti

@@ -40,7 +40,7 @@ venti \- archival storage server
 Venti
 is a SHA1-addressed archival storage server.
 See 
-.IR venti (8)
+.IR venti (6)
 for a full introduction to the system.
 This page documents the structure and operation of the server.
 .PP

+ 4 - 2
sys/src/cmd/ip/snoopy/cec.c

@@ -79,7 +79,7 @@ static char* ttab[] = {
 static int
 p_seprint(Msg *m)
 {
-	char *s, buf[4];
+	char *s, *p, buf[4];
 	Hdr *h;
 
 	if(m->pe - m->ps < Hsize)
@@ -97,8 +97,10 @@ p_seprint(Msg *m)
 		s = buf;
 	}
 
+	p = (char*)m->ps;
 	m->p = seprint(m->p, m->e, "type=%s conn=%d seq=%d len=%d %.*s",
-		s, h->conn, h->seq, h->len, h->len, (char*)m->ps);
+		s, h->conn, h->seq, h->len,
+		(int)utfnlen(p, h->len), p);
 	return 0;
 }