[rancid] Re: RANCID 2.3.2 , Patch against hlogin.in .

Mr. James W. Laferriere babydr at baby-dragons.com
Fri May 1 17:37:05 UTC 2009


 	Hello John & All ,  I still require this patch in order to have the 
'paging' turned off correctly on all my hp equipment .

 	This Patch has been working these devices for ~ 8 months now .
 	This includes a9 a7 versions of rancid .

Routers:
4	ProCurve Secure Router 7102dl	SROS Version: J06.06

Switches:
1	HP J4813A ProCurve Switch 2524	Firmware revision F.05.34
6	HP J4813A ProCurve Switch 2524	Software revision F.05.59
2	ProCurve J4903A Switch 2824	Software revision I.10.32
3	ProCurve J4899B Switch 2650	Software revision H.10.31

 		Hth ,  JimL
-- 
+------------------------------------------------------------------+
| James   W.   Laferriere | System    Techniques | Give me VMS     |
| Network&System Engineer | 2133    McCullam Ave |  Give me Linux  |
| babydr at baby-dragons.com | Fairbanks, AK. 99701 |   only  on  AXP |
+------------------------------------------------------------------+
-------------- next part --------------
--- /home/archive/rancid-2.3.2/bin/hlogin.in.orig	2009-05-01 08:27:03.000000000 -0800
+++ /home/archive/rancid-2.3.2/bin/hlogin.in	2009-05-01 08:31:12.000000000 -0800
@@ -501,6 +501,7 @@
 
     # Turn off the pager and escape regex meta characters in the $prompt
     send "no page\r"
+    send "terminal length 0\r"
     regsub -all {[)(]} $prompt {\\&} reprompt
     regsub -all {^(.{1,11}).*([#>])$} $reprompt {\1([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?} reprompt
     expect {
@@ -739,6 +740,7 @@
     } elseif { $do_script } {
 	# disable the pager
 	send "no page\r"
+	send "terminal length 0\r"
 	expect -re $prompt	{}
 	source $sfile
 	catch {close};


More information about the Rancid-announce mailing list