<div>John,</div>
<div> </div>
<div>My CSSes code does not support "term width xxx".</div>
<div> </div>
<div>CSS11150# term ?<BR>
idle
Set session idle timer<BR>
length
Set the terminal screen length<BR>
more
Enable terminal MORE support<BR>
netmask-format Control the display of
masks<BR>
timeout
Set session maximum login time<BR></div>
<DIV id=wmMessageComp name="wmMessageComp"><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT:
blue 2px solid">-------- Original Message --------<BR>Subject: [rancid]
Re: Vlans getting toggled on Cisco 6500<BR>From: john heasley
<heas@shrubbery.net><BR>Date: Thu, January 11, 2007 1:10
pm<BR>To: Justin Shore <justin.shore@sktbcs.com>, Terry
Kennedy<BR><terry@tmk.com><BR>Cc:
rancid-discuss@shrubbery.net<BR><BR>I am still concerned about how this
will affect other users of clogin.<BR>Specifically, Cisco CSS, Force10,
Juniper ERX, Procket, Redback, and<BR>Extreme.<BR><BR>Could those with
access to these please try this patch?<BR><BR>Wed, Jan 10, 2007 at
05:51:42PM -0600, Justin Shore:<BR>> Here's the patch against RANCID
2.3.2a5.<BR><BR>*** clogin_orig Fri Aug 9 16:54:10 2002<BR>---
clogin Sun Apr 6 19:20:42
2003<BR>***************<BR>*** 455,460 ****<BR>--- 455,462
----<BR> send "set length
0\r"<BR> } else {<BR>
send "term length 0\r"<BR>+
expect -re $prompt {}<BR>+
send "term width 80\r"<BR>
}<BR> regsub -all "\[)(]" $prompt
{\\&} reprompt<BR> # match cisco config
mode prompts too, but not for catalyst
ie:<BR>(enable)<BR>***************<BR>*** 699,704 ****<BR>--- 701,708
----<BR> send "set logging
session disable\r"<BR> } else {<BR>
send "term length 0\r"<BR>+
expect -re $prompt {}<BR>+
send "term width 80\r"<BR>
}<BR> expect -re $prompt
{}<BR> source
$sfile<BR><BR><BR>RANCID 2.3.2a6<BR><BR>Index:
clogin.in<BR>===================================================================<BR>RCS
file: /home/rancid/.CVS/rancid/bin/clogin.in,v<BR>retrieving revision
1.107<BR>diff -d -u -r1.107 clogin.in<BR>--- clogin.in 8 Dec 2006
21:28:25 -0000 1.107<BR>+++ clogin.in 11 Jan 2007 03:51:29 -0000<BR>@@
-582,6 +582,8 @@<BR> set command "set logging session
disable;$command"<BR>} else {<BR> send "term length
0\r"<BR>+ expect -re $prompt {}<BR>+
send "term width 80\r"<BR>}<BR># escape any parens in the prompt,
such as "(enable)"<BR>regsub -all {[)(]} $prompt {\\&}
reprompt<BR>@@ -869,6 +871,8 @@<BR> send "set logging
session disable\r"<BR>} else {<BR> send "term length
0\r"<BR>+ expect -re $prompt {}<BR>+
send "term width 80\r"<BR>}<BR>expect -re $prompt {}<BR>source
$sfile<BR><BR>_______________________________________________<BR>Rancid-discuss
mailing
list<BR>Rancid-discuss@shrubbery.net<BR>http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
</BLOCKQUOTE></DIV>