Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: Expect problems

by sunadmn (Curate)
on Dec 16, 2005 at 14:26 UTC ( #517247=note: print w/replies, xml ) Need Help??

in reply to Re: Expect problems
in thread Expect problems

Ok so like I stated in my last post I have it working but for some reason I get it to get beyond the apply stage due to the fact that the next prompt looks the same. Below is a copy of the session when I do this manually:

>> Main- /cfg/slb/real 144/ena
Current status: disabled
New status: enabled

>> Real server 144 - apply
Apply complete; don't forget to "save" updated

>> Real server 144 - save
Request will first copy the FLASH "active" config to "backup",
then overlay FLASH "active" with new config.
Confirm saving to FLASH y/n: y
New config successfully saved to FLASH.

>> Real server 144 - exit

So as you can see after the apply at the >> Real server 144 - prompt next I should/want to send "save" but expect get's stuck on the "apply" and wont move on to the next case match so it's almost like the thing goes into a never ending loop. Does anyone know of a way to force it to move on??


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://517247]
[LanX]: pm != tk ;)
[Corion]: zentara: Most likely they used something like [http://www. node=123456] instead of [id://123456], which uses whatever domain you're visiting from
[LanX]: hmm... Actually this could be used for a phishing exploit ...
[LanX]: ... well like always :)
[zentara]: LanX One day, I will see a great interest in Tk. It's small, self-contained, needs very few external libraries, AND makes it easy to make high-contrast displays. :-)
[zentara]: Corion in this cased they left the www. out
[zentara]: /d// :-)
[LanX]: i like tk, just joking. but what about modern styles?
LanX has to run. .. o/

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-05-26 12:38 GMT
Find Nodes?
    Voting Booth?