From: Blackstone, J. D. <jda...@ci...> - 2002-03-12 21:43:06
|
You can get control-anything with the special sequence "\cX" in a double-quoted string, where X is the character you want the control of. But that's a Perl question, not an Expect.pm question. :) jdb > -----Original Message----- > From: al....@ac... [mailto:al....@ac...] > Sent: Tuesday, March 12, 2002 3:22 PM > To: exp...@li... > Subject: [Expectperl-discuss] Sending Control Character > > > Hello, > > I need to send a CTRL+C (or CTRL+D) from within an Expect > module, running > on my local server, to a child process that is > waiting for an input on my remote server. Does anybody know > what is the > equivalent character to CTRL+C or CTRL+D that can be > sent to a child process? Thank you. > > > Al > > > > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. > If you have > received it in error, please notify the sender immediately > and delete the > original. Any other use of the email by you is prohibited. > > > _______________________________________________ > Expectperl-discuss mailing list > Exp...@li... > https://lists.sourceforge.net/lists/listinfo/expectperl-discuss > |