[rancid] Re: plus in the prompt?

Austin Schutz tex at off.org
Tue Mar 11 05:22:10 UTC 2008

On Mon, Mar 10, 2008 at 04:53:44PM -0400, Ed Ravin wrote:
> Looks like it's the plus sign in the prompt.  If I change it to "XandY"
> instead of "x+y" clogin works as expected.
> Why does it work for the enable and the "term length 0" command, but not
> afterwards?

	Just tossing a guess out here: expect is looking for a prompt using
a regex. The + you have in your prompt is being treated like a regex +,
so expect is looking for a string that looks like xy or xxxy, etc.
	Probably best to not do that, if you can avoid it.


More information about the Rancid-discuss mailing list