This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ckreddy
Recipients ckreddy, eric.smith
Date 2018-06-08.14:45:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hi Eric,

Apologize for not providing the link. Below is the link which i was referring to:

I have an already opened telnet session(established by some other user). Now if I again try to open a telnet session to the same serve, my server will populate me with some options like below:

a. Connect to Port read/write
b. Connect to Port read only
c. Do not connect, drop this connection request
d. Look at port log file

So python telnetlib module doesn't handle these options even though i use below code. 
#establishing connectino to the remote host 
tn = telnetlib.Telnet(HOST,PORT)
# remote server will populate the above given options and stop at '>>', so i'm using the below line to read '>>' and write 'a'
print(tn.read_until(">> ".encode('ascii')))

i have created this issue after trying all possible ways and searching the web for a whole day. 
Let me know if there is any way to handle this.
Date User Action Args
2018-06-08 14:45:35ckreddysetrecipients: + ckreddy, eric.smith
2018-06-08 14:45:35ckreddysetmessageid: <>
2018-06-08 14:45:35ckreddylinkissue33806 messages
2018-06-08 14:45:35ckreddycreate