Discussion:
[rancid] Extreme Networks - Disable CLI Paging
Fleming, Graham
2013-09-25 22:41:16 UTC
Permalink
Paul, thank you so so so much! I’ve been trying to figure this one out for awhile. This worked perfectly.
heasley
2013-09-27 20:54:10 UTC
Permalink
Paul, thank you so so so much! I?ve been trying to figure this one out for awhile. This worked perfectly.
which patch? Paul's or the one that I provided?
Paul Thornton
2013-10-08 09:40:32 UTC
Permalink
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
Fleming, Graham
2013-09-27 21:02:42 UTC
Permalink
I just tried Paul's and it worked. Didn't try yours.
Post by heasley
Paul, thank you so so so much! I?ve been trying to figure this one out
for awhile. This worked perfectly.
which patch? Paul's or the one that I provided?
Paul Thornton
2013-09-27 21:38:25 UTC
Permalink
Post by Fleming, Graham
I just tried Paul's and it worked. Didn't try yours.
http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=212;list=rancid
I can't find the original randid-discuss message that pointed to this
attachment though, which is annoying.

I have another rancid installation I need to get going in the next few
days. I can try the other patch on this and report back.

Paul.
--
Paul Thornton
Loading...