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

john heasley heas at shrubbery.net
Sun Oct 2 08:16:41 UTC 2005


Sun, Oct 02, 2005 at 09:24:26AM +0300, Saku Ytti:
> On (2005-10-02 02:09 +0000), john heasley wrote:
> 
> > > 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.
> 
>  Now I'm but confused, I know where these are located and I can fix my
> problem by commenting them out. But what I'm trying to find out, what's 
> the purpose of these, eg. what could I have broken by commenting them
> out as I have difficulties imagining where they might be needed.

i just misread.

for clogin, its intended to eat the backspaces that clear the pager's
prompt (--More--) for one of the platforms.



More information about the Rancid-discuss mailing list