*BSD News Article 3795


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!mips!mips!sdd.hp.com!wupost!uunet!olivea!isc-br!tau-ceti!timesink!kew
From: kew@timesink.spk.wa.us (Keith Walker)
Newsgroups: comp.unix.bsd
Subject: Problems with select() and serial ports
Message-ID: <1992Aug18.034054.4016@timesink.spk.wa.us>
Date: 18 Aug 92 03:40:54 GMT
Organization: None that I'm aware of.
Lines: 25


I recently got 386bsd 0.1 going on my machine and not too long after that
installed Chris Demetriou's serial driver, which really works good in spite
of the much maligned copyright :-)

But, the select() call doesn't seem to work right when calling the serial
ports.  The behaviour is easy to replicate; just press ESC when in vi.  The
escape will not be recognized until another character is received.  So, it
seems the timeout isn't working right when there's only one character to be
read.

Hmmm.

I am not a kernel guru, nor do I play one on the net.  I'm hoping someone
else out there (maybe cgd?) will have some idea of what the problem is or
maybe even have a fix.

Thanks again to Bill, Lynne *and* Chris.  Without cgd's serial driver, the
com ports are essentially unusable.

-- 
kew@timesink.spk.wa.us | Ah, the early space program: 
Keith Walker  	       | The moon, the planets, the stars!
                       | We were going to do *everything*!
(509) 466-9384         | Now, it's everything we can do. :-(