[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using 'select' with 'ncurses'
From: |
Mike Castle |
Subject: |
Re: using 'select' with 'ncurses' |
Date: |
Wed, 20 Jun 2001 23:13:49 -0700 |
User-agent: |
Mutt/1.3.18i |
On Wed, Jun 20, 2001 at 11:54:03PM -0700, Travis W. Loyd wrote:
> I'm sure this has been done before because I see all the irc clients out there
> but I can't for the life of me figure out how to get select to read from both
> stdin & a socket. If I try to use ncurses calls instead of select I get a
> blocked socket.
What about starting with fileno(stdin) and using that along with select?
mrc
--
Mike Castle address@hidden www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc