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

Re: [OT] ncurses



On Fri, Jul 06, 2001 at 12:28:01AM -0500, Petr [Dingo] Dvorak wrote:
> hey list,
> 
> i'm trying to write interface between ncurses and sockets for server side split
> screen. my problem is that the mud has only socket descriptor to send and
> receive all the data from each of the players, but ncurses require two FILE
> descriptors to work properly. i tried various [dirty] hacks to make it work,
> short of using temporary file for the output, and then sending the contents of
> the file to the players.

"dup" the file descriptor.  And yes, this is off topic....

> 
> i'm sure that there is someone else who hit the same problem at some point, and
> that there some ellegant solution for this.
> 
> so i would greatly appreciate any help/example that you may have. :)

-- 
Eric G. Miller <egm2@jps.net>



Reply to: