CatOS session log message during rancid operation

Andrew Partan asp at partan.com
Tue Jan 13 22:16:15 UTC 2004


On Tue, Jan 13, 2004 at 12:52:10PM -0500, Terry Kennedy wrote:
>   This is in RANCID 2.2.2 already - look near the bottom of clogin for:
> 
>     } elseif { $do_script } {
>         # If the prompt is (enable), then we are on a switch and the
>         # command is "set length 0"; otherwise its "term length 0".
>         if [ regexp -- ".*> .*enable" "$prompt" ] {
>             send "set length 0\r"
>             send "set logging session disable\r"
>         } else {
>             send "term length 0\r"
>         }
> 
>   did this code go missing in more recent versions?

Nope; its still there.
	--asp



More information about the Rancid-discuss mailing list