rancid 2.2.2 Problem

john heasley heas at shrubbery.net
Fri Aug 27 15:16:50 UTC 2004


Thu, Aug 26, 2004 at 10:18:42PM -0700, Len:
> No go..  I've upgraded to rancid 2.3.1 (Tcl 8.4.7 + expect 5.4.2) and it 
> now seems like my prompt is not cut off, but the hang still occurs.  Is 
> there a max number of characters behind the # or some combo of that and 
> the quantity between the ( )s ?

what value did you use for the bound that I mentioned?

> >iirc, it truncates the prompt to no more that 14 chars, but what you have
> >above is only 11.
> >
> >    508         # match cisco config mode prompts too, such as 
> >    router(config-if)#,      509         # but catalyst does not change in 
> >    this fashion.
> >    510         regsub -all {^(.{1,14}).*([#>])$} $reprompt 
> >    {\1([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?} reprompt
> >    511         expect {
> >
> >i guess that'l have to be reduced to 10 or so.  please try that out and
> >let me know.



More information about the Rancid-discuss mailing list