Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Ctrl-C with Telnet.pm

Status
Not open for further replies.

ca268339

Programmer
Aug 7, 2000
32
US
I need to pass a Ctrl-C with the Telnet.pm module to a router. I've tried using the telnet->break, but that only appears to send an interrupt or attention and is not the same as the Ctrl-C. I thought that I might be able to setup a scalar that would contain the Ctrl-C, but that apparently doesn't work either. Could someone lend their technical creativity to this problem? Any suggestions would be greatly appreciated.
 
Try using $Telnet->cmd("\cC") to force the Ctrl-C.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top