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

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


Tue Jan 24 09:34:18 EST 2006 rsc
    I applied the code change to the kernel.  
    You're still breaking the man page.
    All the font lines are correct as they are.
    
    	uart.orig:22,30 - /n/sources/patch/uart-update-again/uart:22,32
    	  is accessed through
    	  .BI eia n
    	  (the data file),
    	- .BI eia n ctl
    	+ .BI eia n
    	+ .I ctl
    	  (the control file), and
    	- .BI eia n status
    	+ .BI eia n
    	+ .I status
    	  (the read-only status file).
    	  Reads of the data file will block until at least one byte is available.
    	  The
    
    The control file is really
    
    	.BI eia n ctl
    
    which formats the same as \fBeia\fIn\fBctl.
    What you have will format like (ignoring the fonts) "eian ctl",
    with an extra space.
    
    	  It accepts the following commands:
    	  .TP
    	- .BI b n
    	+ .B b n
    	  Set the baud rate to
    	  .IR n .
    
    This is okay the way it was too.  The "n" is a parameter, not
    a literal n, so it should be in I font, not B font.  If you 
    were trying to put in a space, you would use 
    
    	.B b\fI n
    
    (what follows .TP has to be one input line), but again here
    the space is incorrect.  The control message is just "b1", 
    not "b 1" (that's two different messages!).
    
    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.