[rancid] rancid with Fortigate FG100A

Gavin McCullagh gmccullagh at gmail.com
Wed Feb 2 22:04:34 UTC 2011

Hi John,

On Wed, 02 Feb 2011, john heasley wrote:

> > The console is in "more" (pager) mode.  You need to change it to standard
> > mode:
> > 
> > 	gcd-fw # config system console 
> > 	gcd-fw (console) # set output standard 
> > 	gcd-fw (console) # end

> assuming that the pager can not be disabled per-tty, which i presume is
> what the magic chant 'set output standard' does; teach fnlogin about the
> pager.  but, fnlogin already has a case for the pager.  So, why is that
> not working?

> I'll bet its failing because there are control characters among the pager
> prompt.  set NOPIPE=YES and collect from the device with fnrancid -d hostname
> then look for the pager prompt in the hostname.raw file in your editor.  or
> look at the debug output of fnlogin -d hostname to see why the match is
> failing.

You make a compelling point.  My guess is the "(console)" in the prompt

I came across the same problem and just disabled the pager manually myself,
I hadn't noticed that the expect script explicitly did this.  I'll try and
get time to test and see is the prompt the issue.


More information about the Rancid-discuss mailing list