9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: nigel@9fs.org
To: 9fans@cse.psu.edu
Subject: Re: [9fans] serial port programming
Date: Thu, 15 Feb 2001 17:18:51 +0000	[thread overview]
Message-ID: <E14TS3R-0006z8-0Y@anchor-post-34.mail.demon.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

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.


[-- Attachment #2: Type: message/rfc822, Size: 1693 bytes --]

From: Sam Ducksworth <sam@ducksworth.com>
To: 9fans mailing list <9fans@cse.psu.edu>
Subject: [9fans] serial port programming
Date: Thu, 15 Feb 2001 09:10:07 -0800
Message-ID: <3A8C0D6F.17395EC2@ducksworth.com>

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

             reply	other threads:[~2001-02-15 17:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 17:18 nigel [this message]
2001-02-15 17:35 ` Sam Ducksworth
  -- strict thread matches above, loose matches on Subject: below --
2001-02-16  4:41 anothy
2001-02-15 22:37 rog
2001-02-15 21:47 presotto
2001-02-15 21:24 presotto
2001-02-15 17:10 Sam Ducksworth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E14TS3R-0006z8-0Y@anchor-post-34.mail.demon.net \
    --to=nigel@9fs.org \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).