<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>That's probably where I will go. Wasted enough time already. <br><br>Sent from my iPhone</div><div><br>On Apr 14, 2015, at 4:41 PM, Bob Brunette <<a href="mailto:Bob.Brunette@cdw.com">Bob.Brunette@cdw.com</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">


<div>
<div>
<div>Would it be difficult to change the “#”’s to “*”’s or “=“’s?  RANCID doesn’t choke on those, and it’s what we normally do.</div>
<div><br>
</div>
<div>
<div>Bob</div>
<div><br>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Todd Heide <<a href="mailto:workwithcisco@yahoo.com">workwithcisco@yahoo.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>Todd Heide <<a href="mailto:workwithcisco@yahoo.com">workwithcisco@yahoo.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, April 14, 2015 at 4:31 PM<br>
<span style="font-weight:bold">To: </span>heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [rancid] Cisco Banners<br>
</div>
<div><br>
</div>
<div>
<div>
<div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:24px">
<div>Tried a few different things, including a direct match for the expression and still errors.
<br>
</div>
<div id="yui_3_16_0_1_1429046409655_3251"><br>
</div>
<div dir="ltr" id="yui_3_16_0_1_1429046409655_3234">expect: does "\r\nrouter#\r\nrouter#terminal length 0\r\nrouter#" (spawn_id exp6) match regular expression "###############################################################################"? Gate "###############################################################################"?
 gate=no<br style="" class="">
<br>
</div>
<div dir="ltr" id="yui_3_16_0_1_1429046409655_3233"><span style="" class="">What I am seeing though, and wonder if this is why, 
</span>terminal length 0  For several lines down I am seeing ter, termin, terminal, etc. until the last line above then is gives up.   I dont know why terminal length 0 is coming up at the prompt, but when I turn debug off I am seeing it every time I clogin
 to this router.  If this was the only router that has a MOTD, I would push to have it removed, but they want it on all devices.
<br>
</div>
<br>
<blockquote id="yui_3_16_0_1_1429046409655_3198" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">
<div id="yui_3_16_0_1_1429046409655_3197" style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 24px;">
<div id="yui_3_16_0_1_1429046409655_3196" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;">
<div id="yui_3_16_0_1_1429046409655_3195" dir="ltr">
<hr id="yui_3_16_0_1_1429046409655_3213" size="1">
<font id="yui_3_16_0_1_1429046409655_3302" face="Arial" size="2"><b id="yui_3_16_0_1_1429046409655_3304"><span id="yui_3_16_0_1_1429046409655_3303" style="font-weight:bold;">From:</span></b> heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>><br>
<b><span style="font-weight: bold;">To:</span></b> Todd Heide <<a href="mailto:workwithcisco@yahoo.com">workwithcisco@yahoo.com</a>>
<br>
<b><span style="font-weight: bold;">Cc:</span></b> heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>>; "<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>>
<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 14, 2015 3:32 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [rancid] Cisco Banners<br>
</font></div>
<div id="yui_3_16_0_1_1429046409655_3324" class="y_msg_container"><br>
Tue, Apr 14, 2015 at 08:19:18PM +0000, Todd Heide:
<div class="qtdSeparateBR"><br>
<br>
</div>
<div class="yqt6511464030" id="yqtfd79958"><br clear="none">
> OK Found it. <br clear="none">
>  add prompt <router name glob> {<regex>}<br clear="none">
> Match login prompt, or initial login prompt in the case of some of the login<br clear="none">
> contain forbidden characters that conflict with CLI prompt markers.<br clear="none">
> should use if or when prompted for one.<br clear="none">
> <br clear="none">
> <br clear="none">
> OY REGEX, I hate Regex!  Now to figure this part out! </div>
<br clear="none">
<br clear="none">
its not that difficult.  it will set you free.<br clear="none">
<br clear="none">
sth like {\[^ ]\[#>]+} might do it.<br clear="none">
<br clear="none">
i've updated the html manpages too.
<div class="yqt6511464030" id="yqtfd33191"><br clear="none">
</div>
<br>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</span>


</div></blockquote></body></html>