[rancid] term width typo?

Lee ler762 at gmail.com
Wed Oct 6 18:32:06 UTC 2010


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"
 	}
 	expect -re $prompt	{}
 	source $sfile
 	catch {close};
     } else {


Lee


More information about the Rancid-discuss mailing list