From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] serial port programming From: nigel@9fs.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-fqsuordwnmcuazfnzmvonwuofx" Message-Id: Date: Thu, 15 Feb 2001 17:18:51 +0000 Topicbox-Message-UUID: 664c2eac-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-fqsuordwnmcuazfnzmvonwuofx Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I know the world of computing has forsworn manuals for a variety of reasons, but it's a valid approach in Plan 9. So, read uart(3) first. It explains how to configure a uart by opening the ctl file and writing simple strings. You read and write it by reading and writing the data file. As they used to say on a game show here, "that's all there is to it". If you need more, then try src con the source of the terminal emulator. --upas-fqsuordwnmcuazfnzmvonwuofx Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by cpu; Thu Feb 15 17:17:42 GMT 2001 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.18.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 4DEF0199E3; Thu, 15 Feb 2001 12:11:10 -0500 (EST) Received: from wopie.prowillen.com (wopie.prowillen.com [209.10.42.10]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 50C63199D7 for <9fans@cse.psu.edu>; Thu, 15 Feb 2001 12:10:40 -0500 (EST) Received: from ducksworth.com ([209.152.156.1]) by wopie.prowillen.com (Post.Office MTA v3.5.3 release 223 ID# 0-61815U200L100S0V35) with ESMTP id com for <9fans@cse.psu.edu>; Thu, 15 Feb 2001 09:10:32 -0800 Message-ID: <3A8C0D6F.17395EC2@ducksworth.com> From: Sam Ducksworth X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: en MIME-Version: 1.0 To: 9fans mailing list <9fans@cse.psu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [9fans] serial port programming Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: 9fans@cse.psu.edu X-Reply-To: sam@ducksworth.com List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 15 Feb 2001 09:10:07 -0800 i would like to write a simple plan9 program that i can use to pull serial data from a microcontroller based data logger that i have constructed. does anyone know where i could find some sample code that shows how plan9 handles serial port I/O. -sam --upas-fqsuordwnmcuazfnzmvonwuofx--