[rancid] term width changes

john heasley heas at shrubbery.net
Wed Oct 6 22:43:54 UTC 2010


Wed, Oct 06, 2010 at 02:27:19PM -0400, Lee:
> Maybe this falls into the "don't do that category", but I've been
> doing rancid-run interactively as well as from cron

no problem doing that.

Wed, Oct 06, 2010 at 02:32:06PM -0400, Lee:
> kind of looks like a typo - "set width" instead of :"term width" for a
> not CatOS box:
> 
> diff -U 6 rancid-2.3.5/bin/clogin ~/rancid/bin/clogin
> --- rancid-2.3.5/bin/clogin	2010-09-23 10:58:12.000000000 -0400
> +++ ~/rancid/bin/clogin	2010-10-06 12:18:53.000000000 -0400
> @@ -886,22 +896,23 @@
>  	    send "set width 80\r"
>  	    expect -re $prompt	{}
>  	    send "set logging session disable\r"
>  	} else {
>  	    send "terminal length 0\r"
>  	    expect -re $prompt  {}
> -	    send "set width 80\r"
> +	    # --LR-- send "set width 80\r"
> +	    send "terminal width 132\r"

correct, my bug.  it will be in the next version.


More information about the Rancid-discuss mailing list