[rancid] [PATCH 2/2] Multiple fixes/improvements for Extreme XOS
heas at shrubbery.net
Wed Dec 7 23:15:07 UTC 2011
Thu, Dec 01, 2011 at 03:47:56AM +0200, Zenon Mousmoulas:
> On Thu, 01 Dec 2011 03:44:32 +0200, Zenon Mousmoulas <zmousm at noc.grnet.gr>
> > [...]
> > However there's still a problem in this version with buffered output
> > the extreme. After login, when you send "\r", the following expect
> > catches the first prompt, not the one after "\r". This becomes evident
> > later on, when the expect statement in the loop within run_commands
> > catches
> > "disable clipaging\r\n\<prompt>" rather than the command echoed and
> > its' output. So you're always one step behind, until the end, where you
> > erroneously see a prompt after sending "quit\r" so you also
> > send -h "exit\r". This obviously messes up xrancid parsing as
> > well. See the attached clogin log for more evidence (with exp_internal
> > added after login).
> Plus the attachment, sorry.
some data missing there. could you send a complete login to me?
clogin -s 'show version' host
More information about the Rancid-discuss