Woo, I'm impressed. I would have thought that you could use the sub callback as you had before, with this method, and just get NTO to send the "xterm" reply for you.. But yours apparently works too. Since it doesnt really care in which order it gets which options replied to, and if you get a host that doesnt send the TTERM option, itll just ignore your reply.
in reply to Re^2: Managing TERM TYPE Option Requests with Net::Telnet
in thread Managing TERM TYPE Option Requests with Net::Telnet
Would you mind trying with callback as well? Then I'll add this to the NTO docs, thanks!