Curses over a tcp socket
Grant Edwards
grante at visi.com
Tue Feb 18 10:48:28 EST 2003
In article <b2thb7$jm6$1 at serv.vrn.ru>, Lexy Zhitenev wrote:
>
>> My question is: I need to make the interface much more versatile, yet
>> still operate over a socket using a telnet client. Is there some way I
>> can use curses or something similar over a socket?
>
> You can try it. Just redirect remote user input to stdin (for curses to
> understand it) and send curses stdout to your socket.
If you really want to write a telnet server, get a copy of
Stevens and make sure you handle the telnet protocol and
handshaking correctly.
--
Grant Edwards grante Yow! AIEEEEE! I am having
at an UNDULATING EXPERIENCE!
visi.com
More information about the Python-list
mailing list