[rancid] Extreme Networks - Disable CLI Paging
Paul Thornton
prt at prt.org
Tue Oct 8 09:40:32 UTC 2013
Hi all
I've been doing some more testing with the two patches that sort out
this prompt-match fail on the "Press <tab> ..." message.
The upshot is that heasley's one doesn't seem to work - I took a vanilla
2.3.8 installation, and applied this patch:
--- ../dist_rancid238/clogin 2013-10-03 19:06:49.000000000 +0000
+++ _clogin_heas_patch 2013-10-08 09:23:02.000000000 +0000
@@ -541,6 +541,9 @@
-re "Last login:" {
exp_continue
}
+ -re "Press the <tab> key \[^\r\n]+\[\r\n]+" {
+ exp_continue
+ }
-re "@\[^\r\n]+ $p_prompt" {
# ssh pwd prompt
sleep 1
Running for a few days on our production rancid machine. Result, random
letters of the word 'quit' appearing in the Extreme diffs. Mildly
grumpy group of people who keep being told about "changes".
Backing this change out, so back to standard 2.3.8 clogin, and applying
"my" patch, it works properly again.
The end of WriteTerm in xrancid (the other issue I'm testing) seems to
be working with a non-patched 2.3.8 xrancid without any problems.
Paul.
--
Paul Thornton
More information about the Rancid-discuss
mailing list