Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2006/0125

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Update uart(3).
 [rsc] --rw-rw-r-- M 1250499 glenda sys 2003 Jan 25 07:15 sys/man/3/uart
	/n/sourcesdump/2006/0125/plan9/sys/man/3/uart:36,41 - 
	/n/sourcesdump/2006/0126/plan9/sys/man/3/uart:36,46
	  Set the baud rate to
	  .IR n .
	  .TP
	+ .BI c n
	+ Set hangup on DCD if
	+ .I n
	+ is non-zero; else clear it.
	+ .TP
	  .BI d n
	  Set DTR if
	  .I n
	/n/sourcesdump/2006/0125/plan9/sys/man/3/uart:42,63 - 
	/n/sourcesdump/2006/0126/plan9/sys/man/3/uart:47,62
	  is non-zero;
	  else clear it.
	  .TP
	- .BI k n
	- Send a break lasting
	+ .BI e n
	+ Set hangup on DSR if
	  .I n
	- milliseconds.
	+ is non-zero; else clear it.
	  .TP
	- .BI r n
	- Set RTS if
	- .I n
	- is non-zero;
	- else clear it.
	+ .B f
	+ Flush output queue.
	  .TP
	- .BI m n
	- Obey modem CTS signal if
	- .I n
	- is non-zero;
	- else clear it.
	+ .B h
	+ Close input and output queues.
	  .TP
	  .BI i n
	  Enable/disable the FIFOs.
	/n/sourcesdump/2006/0125/plan9/sys/man/3/uart:75,80 - 
	/n/sourcesdump/2006/0126/plan9/sys/man/3/uart:74,98
	  .I n
	  causes the maximum-supported trigger level to be set.
	  .TP
	+ .BI k n
	+ Send a break lasting
	+ .I n
	+ milliseconds.
	+ .TP
	+ .BI l n
	+ Set number of bits per byte to
	+ .IR n .
	+ Legal values are 5, 6, 7, or 8.
	+ .TP
	+ .BI m n
	+ Obey modem CTS signal if
	+ .I n
	+ is non-zero;
	+ else clear it.
	+ .TP
	+ .B n
	+ Make writes non-blocking.
	+ .TP
	  .BI p c
	  Set parity to odd if
	  .I c
	/n/sourcesdump/2006/0125/plan9/sys/man/3/uart:86,100 - 
	/n/sourcesdump/2006/0126/plan9/sys/man/3/uart:104,123
	  .BR e ;
	  else set no parity.
	  .TP
	+ .BI q n
	+ Set input and output queue limits to
	+ .IR n .
	+ .TP
	+ .BI r n
	+ Set RTS if
	+ .I n
	+ is non-zero;
	+ else clear it.
	+ .TP
	  .BI s n
	  Set number of stop bits to
	  .IR n .
	  Legal values are 1 or 2.
	- .TP
	- .BI l n
	- Set number of bits per byte to
	- .IR n .
	- Legal values are 5, 6, 7, or 8.
	  .TP
	  .BI w n
	  Set the uart clock timer to

Correct smtpd(6) to discuss ratfs(4).
 [rsc] --rw-rw-r-- M 1250499 glenda sys 8178 Jan 25 07:19 sys/man/6/smtpd
	/n/sourcesdump/2006/0125/plan9/sys/man/6/smtpd:204,221 - 
	/n/sourcesdump/2006/0126/plan9/sys/man/6/smtpd:204,223
	  or the destination domain is specified in
	  .BR ourdomains .
	  .SS Blocked Addresses
	- When
	- .B /mail/lib/blocked
	- exists and is readable,
	- .I smtpd
	- reads a list of banned addresses from it.
	+ .I Smtpd
	+ consults
	+ .B /mail/ratify
	+ (see
	+ .IR ratfs (4))
	+ for a list of banned addresses.
	  Messages received from these addresses are
	  rejected with a 5\fIxx\fP-series SMTP error code.
	  There is no option
	- to turn blocking on or off; if the file is accessible,
	- blocking is enabled on all
	+ to turn blocking on or off; if 
	+ .B /mail/ratify
	+ is mounted,
	  .I smtpd
	- sessions, including those from trusted networks.
	+ will use it, even for connections from trusted networks.
	  .PP
	  The command line format and address specifications
	  conform to the notation described above.  If the parameters
	/n/sourcesdump/2006/0125/plan9/sys/man/6/smtpd:303,306 - 
	/n/sourcesdump/2006/0126/plan9/sys/man/6/smtpd:305,309
	  to exposed systems.
	  .SH "SEE ALSO"
	  .IR mail (1),
	+ .IR ratfs (4),
	  .IR scanmail (8)

Set better error message in vtdial.
 [rsc] --rw-rw-r-- M 1250499 rsc sys 5493 Jan 25 07:17 sys/src/libventi/client.c
	/n/sourcesdump/2006/0125/plan9/sys/src/libventi/client.c:29,40 - 
	/n/sourcesdump/2006/0126/plan9/sys/src/libventi/client.c:29,47
	  	if(host == nil)
	  		host = "$venti";
	  
	- 	na = netmkaddr(host, 0, "venti");
	- 	fd = dial(na, 0, 0, 0);
	+ 	if (host == nil) {
	+ 		if (!canfail)
	+ 			werrstr("no venti host set");
	+ 		na = "";
	+ 		fd = -1;
	+ 	} else {
	+ 		na = netmkaddr(host, 0, "venti");
	+ 		fd = dial(na, 0, 0, 0);
	+ 	}
	  	if(fd < 0){
	  		rerrstr(e, sizeof e);
	  		if(!canfail){
	- 			vtSetError("%s", e);
	+ 			vtSetError("venti dialstring %s: %s", na, e);
	  			return nil;
	  		}
	  	}

The HTML papers are kind of useless in the distribution proper.
 [rsc] --rw-rw-r-- M 1250499 rsc sys 55272 Jan 25 18:56 sys/doc/venti/venti.html

Try mounting sources as none if all else fails.
 [rsc] --rwxrwxr-x M 1250499 glenda sys 1027 Jan 25 20:47 rc/bin/9fs
	/n/sourcesdump/2006/0125/plan9/rc/bin/9fs:20,26 - 
	/n/sourcesdump/2006/0126/plan9/rc/bin/9fs:20,28
	  case juke
	  	srv -q il!jukefs && mount /srv/il!jukefs /n/njuke && bind -c /n/njuke/juke /n/juke
	  case sources
	- 	srv -m tcp!sources.cs.bell-labs.com sources /n/sources
	+ 	srv -q tcp!sources.cs.bell-labs.com sources /n/sources &&
	+ 		{ mount /srv/sources /n/sources ||
	+ 		  mount -n /srv/sources /n/sources }
	  case sourcesdump
	  	9fs sources
	  	mount /srv/sources /n/sourcesdump main/archive


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].