[rancid] Regarding of more lines of netscreen device issue in RANCID version 3.2 and later
heasley
heas at shrubbery.net
Sun Aug 21 18:04:13 UTC 2016
Thu, Aug 18, 2016 at 04:01:17PM +0800, Wallance Hou:
> Dear Tech.
>
> I am meeting some issue on netscreen since rancid 3.2 and later. As the
> netscreen device using tacacs auth, for console page command, it required
> admin privilege. however rancid user have read-only privilege so that the
> user can't execute page command to disable cli paging. For config file from
> rancid in 3.2 and later, it appears many "^H" when pressing space to show
> more lines. However it was working well in version 2.3.6 that no ^H shown
> in config file. So would you kindly advice how I can adjust rancid to clear
> ^H from config file?
Does this change filter this?
Index: bin/nlogin.in
===================================================================
--- bin/nlogin.in (revision 3446)
+++ bin/nlogin.in (working copy)
@@ -451,6 +451,7 @@
-gl "--- more ---" { send " "
exp_continue
}
+ -re "\b+" { exp_continue }
}
}
log_user 1
More information about the Rancid-discuss
mailing list