Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm sure this'll be an easy one for someone... how would I send the CTRL-C characters through a telnet session? I saw some older posts, but I must confess, I didn't follow them too well.

Replies are listed 'Best First'.
Re: Net::Telnet CTRL-C
by SciDude (Friar) on Jun 02, 2004 at 22:06 UTC

    First, I am not a Net::Telnet guru.

    Second, did you try sending the metasymbol \c for control?

    \cC for Control-C \cZ for Control-Z \c[ for ESC \c? for DEL

    You may also be able to use the \NNN forms for characters.

    When you solve this - enlighten us with your solution!

    SciDude