bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using 'select' with 'ncurses'


From: Travis W. Loyd
Subject: using 'select' with 'ncurses'
Date: Wed, 20 Jun 2001 23:54:03 -0700
User-agent: Mutt/1.2.5i

I've run into this problem everytime I've used ncurses.

When I write a server I like to test it out before things get too far... I
almost always find myself trying to create something text based before going
gui. Using ncurses has always been a plesant experience until I try to
combine the great displaying abilities of ncurses with the multiplexing of
select.

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.

I'm not new to select, or really even ncurses for that matter.

If this isn't a bug please let me know. If there is a well known solution
please let me know.

Thanks in advance,


Travis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]