I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-10-08 16:00:39-07 by littlab
Press any key to continue. when logging in
Is there a way to get passed a press any key at login screen.
++++++UNAUTHORIZED ACCESS IS PROHIBITED++++++ Press any key to continue.
These are 1900's running old cisco os. Once I get passed this screen I am then sent to an option screen:
User Interface Menu [M] Menus [K] Command Line Enter Selection:
With my current script I'm trying the following:
##To get to the UIM screen $session->cmd("\r"); ##So I will know it is a device running old os print "\n" . $session->last_prompt . "\n";
Any help??!!
Direct Responses: 11570 | 11577 | Write a response
Posted on 2009-10-08 16:10:21-07 by littlab in response to 11569
Re: Press any key to continue. when logging in
forgot to add this is my error with the current return cmd
Incomplete command write: only 0 bytes have been sent at blahscript.pl line blah
Direct Responses: Write a response
Posted on 2009-10-10 16:56:45-07 by oliver in response to 11569
Re: Press any key to continue. when logging in

Hi, unfortunately the current version of Net::Appliance::Session doesn't support Menu driven command line interfaces.

You could try hacking the prompt regular expressions in Net::Appliance::Phrasebook so that they match things like "key to continue" but it could be hard work and fragile. Sorry there's no support, but it is something I'm trying to work out how to do for a future version of the module.

regards, oliver.
Direct Responses: Write a response