- Joined
- Apr 3, 2009
- Messages
- 1
- Reaction score
- 0
Hi all,
I have traced my problems to this scenario:
Server asks for "Do terminal type" and telnetlib either does not respond, or it responds "Won't terminal type". I want to respond "Will terminal type", I wont waste your time explaining how I got to this point. I've noticed that during a correct session:
client replies "Will terminal type"
server opens suboption "terminal type" (send your terminal type)
client responds with the terminal type suboption "ANSI" (here is my terminal type)
and then everyone is happy.
From what I understand, set_option_negotiation_callback is how I can accomplish this BUT I have NO idea how to use it (syntax, etc). How do I define the callback function? is there a parameter that specifies what to callback to?
Any feedback appreciated.
-Eric
I have traced my problems to this scenario:
Server asks for "Do terminal type" and telnetlib either does not respond, or it responds "Won't terminal type". I want to respond "Will terminal type", I wont waste your time explaining how I got to this point. I've noticed that during a correct session:
client replies "Will terminal type"
server opens suboption "terminal type" (send your terminal type)
client responds with the terminal type suboption "ANSI" (here is my terminal type)
and then everyone is happy.
From what I understand, set_option_negotiation_callback is how I can accomplish this BUT I have NO idea how to use it (syntax, etc). How do I define the callback function? is there a parameter that specifies what to callback to?
Any feedback appreciated.
-Eric