sockets - python line editing telnet server -


I am creating a server in Python (what this is doing is irrelevant), but I would like to accept the telnet connection And provide a command line interface (tab end, IMax / Wi-mode, etc.) and history per session with line editing capabilities. I've successfully created the Telnet session, the incompetent line mode and the competent server.

My initial thoughts were using readlines but the dragon readline module seems to work for only one session stdin; And checking the built-in Redline Library as it works.

What do I want to do, though an example for each client (call it if it is liked), and as the character (bytes) the state is receiving the feed. Once the full line is ready, it can pass it on the server which can parse it.

So my question is, if there is a library that handles such things, even the C-Library will be sufficient.

Edit : To clarify, I've already got a fully functional server, but I have to add, add, connect, and telnet interfaces Want to

Maybe library can be of interest / help?


Comments