Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/uart-update/notes

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


Mon Jan 23 09:39:24 EST 2006 rsc
    These fixes aren't correct.
    
    	uart.orig:1,6 - /n/sources/patch/uart-update/uart:1,6
    	  .TH UART 3 
    	  .SH NAME
    	- uart, eia \- serial communication control
    	+ uart, eia - serial communication control
    	  .SH SYNOPSIS
    	  .nf
    	  .B bind -a #t /dev
    
    The correct one is \-, to get a full en-dash.
    
    	uart.orig:11,17 - /n/sources/patch/uart-update/uart:11,17
    	  .B /dev/eia1
    	  .B /dev/eia1ctl
    	  .B /dev/eia1status
    	- \&...
    	+ ...
    	  .fi
    	  .SH DESCRIPTION
    	  .PP
    
    This line must begin with \& (a no-op character) in order
    for troff to treat the ... as text instead of a macro call.
    
    	uart.orig:20,30 - /n/sources/patch/uart-update/uart:20,35
    	  Device
    	  .I n
    	  is accessed through
    	- .BI eia n
    	+ .B eia
    	+ .I n
    	  (the data file),
    	- .BI eia n ctl
    	+ .B eia
    	+ .I n
    	+ .I ctl
    	  (the control file), and
    	- .BI eia n status
    	+ .B eia
    	+ .I n
    	+ .I status
    	  (the read-only status file).
    	  Reads of the data file will block until at least one byte is available.
    	  The
    
    These were right before.  The file name is "eian", not "eia n",
    so you should use BI.  It looks like you also alphabetized the
    control messages.  That's great.  Please submit that part again.
    
    /sys/src/9/port/devuart.c
    	devuart.c.orig:458,467 - /n/sources/patch/uart-update/devuart.c:458,463
    	  			if((*p->phys->stop)(p, n) < 0)
    	  				return -1;
    	  			break;
    	- 		case 'T':
    	- 		case 't':
    	- 			p->dcdts = n;
    	- 			break;
    	  		case 'W':
    	  		case 'w':
    	  			if(uarttimer == nil || n < 1)
    
    If you remove this, then you should also remove dcdts from uart.h.
    
    Thanks.
    Russ


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.