<html><body><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 <heas@shrubbery.net><br> <b><span style="font-weight: bold;">To:</span></b> Todd Heide <workwithcisco@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> heasley <heas@shrubbery.net>; "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net> <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></body></html>