> On Fri, 26 May 2000, Frank da Cruz wrote:
>
> > The only other clue I can offer is that Kermit uses select() to
> > multiplex between the port and keyboard. I don't know what Minicom
> > does -- maybe it uses forks and blocking reads like Kermit used to
> > in previous versions.
>
> I am curious about the rationalization for using select() instead of
> the VTIME/VMIN approach.
>
> In my programming HOWTO, I recommend against using select() solely on
> the observation that it is designed to work with sockets() and must be
> more complex that is necessary.
>
> I have never read anything about select() and when or how it should be
> used.
select() on Unix is not specific to sockets. It is designed to be
used with any file descriptor. It is only on non-Unix systems that
select() is implemented as a socket specific mechanism.
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025
http://www.kermit-project.org/k95.html * [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]