-re "\b+" { exp_continue } in clogin?

john heasley heas at shrubbery.net
Sun Oct 2 02:09:24 UTC 2005


Fri, Sep 30, 2005 at 06:33:00PM +0300, Saku Ytti:
> Hi,
> 
>  I've made module for telco systems switches using binos, however there
> is situation for one reason or another the router outputs literal backspace
> in output of 'show vlan', clearly vendor problem of course. When it does that,
> my module does not funcition properly, and when I comment:
>                 -re "\b+"                       { exp_continue }
> out in clogin, it fixes the problem. Now where in practice is the above needed?

there are two loops (which can actually be reduced to one) in run_commands()
where you will need to handle this.  see clogin.

>  For people interested in the telco/binos module or module for corecess
> 6800 chassis based IP-dslams let me know and I'll share the modules.
> They're probably too niche for the distribution and I don't plan to
> commit on supporting them.
> 
> -- 
>   ++ytti



More information about the Rancid-discuss mailing list