terminal paginate
After years of not using vtysh (habit), we are switching to use it for frr6. However, one thing I cant seem to figure out is how to make terminal paginate the default ? On FreeBSD, I have the environment var set setenv VTYSH_PAGER '/usr/bin/less -EFX' but when I connect, I always have to issue terminal paginate and then it works from there. Is there a way to make this the default ? ---Mike
On Thu, Aug 01, 2019 at 09:57:41AM -0400, mike tancsa wrote:
After years of not using vtysh (habit), we are switching to use it for frr6. However, one thing I cant seem to figure out is how to make
terminal paginate
the default ?
Put it in /etc/frr/vtysh.conf
On FreeBSD, I have the environment var set
setenv VTYSH_PAGER '/usr/bin/less -EFX'
Hm, it should default to on if you have VTYSH_PAGER set, not sure what's broken there... -David
On 8/1/2019 9:59 AM, David Lamparter wrote:
On Thu, Aug 01, 2019 at 09:57:41AM -0400, mike tancsa wrote:
After years of not using vtysh (habit), we are switching to use it for frr6. However, one thing I cant seem to figure out is how to make
terminal paginate
the default ? Put it in /etc/frr/vtysh.conf
# vtysh line 8: % Unknown command[4]: terminal paginate Does it have to be in a certain location of the file ?
On FreeBSD, I have the environment var set
setenv VTYSH_PAGER '/usr/bin/less -EFX' Hm, it should default to on if you have VTYSH_PAGER set, not sure what's broken there...
-David
On Thu, Aug 01, 2019 at 10:05:02AM -0400, mike tancsa wrote:
On 8/1/2019 9:59 AM, David Lamparter wrote:
On Thu, Aug 01, 2019 at 09:57:41AM -0400, mike tancsa wrote:
After years of not using vtysh (habit), we are switching to use it for frr6. However, one thing I cant seem to figure out is how to make
terminal paginate
the default ? Put it in /etc/frr/vtysh.conf
# vtysh line 8: % Unknown command[4]: terminal paginate
Does it have to be in a certain location of the file ?
Er, no, it shouldn't... which version of FRR is this? -David
On 8/1/2019 11:31 AM, David Lamparter wrote:
Put it in /etc/frr/vtysh.conf
# vtysh line 8: % Unknown command[4]: terminal paginate
Does it have to be in a certain location of the file ? Er, no, it shouldn't... which version of FRR is this?
From the FreeBSD ports tree, with all options disabled except for VTYSH, version 6.0.2. It grabs and builds from the tarball
FRRouting-frr-frr-6.0.2_GH0.tar.gz ---Mike
On 8/1/2019 11:55 AM, mike tancsa wrote:
On 8/1/2019 11:31 AM, David Lamparter wrote:
Put it in /etc/frr/vtysh.conf
# vtysh line 8: % Unknown command[4]: terminal paginate
Does it have to be in a certain location of the file ? Er, no, it shouldn't... which version of FRR is this?
From the FreeBSD ports tree, with all options disabled except for VTYSH, version 6.0.2. It grabs and builds from the tarball
FRRouting-frr-frr-6.0.2_GH0.tar.gz
I also try adding the def in the FreeBSD port's Makefile CONFIGURE_ARGS= --enable-user=frr \ --enable-group=frr \ --enable-vty-group=frrvty \ --sysconfdir=${ETCDIR} \ --localstatedir=/var/run/frr \ --disable-nhrpd \ --with-vtysh-pager='/usr/bin/less -EFX'\ --disable-pimd so that config.log looks like $ ./configure --enable-user=frr --enable-group=frr --enable-vty-group=frrvty --sysconfdir=/usr/local/etc/frr --localstatedir=/var/run/frr --disable-nhrpd --with-vtysh-pager=/usr/bin/less -EFX --disable-pimd --disable-fpm --disable-ldpd --disable-doc --without-libpam --disable-rpki --disable-shell-access --disable-snmp --disable-tcmalloc --disable-tcp-zebra --enable-vtysh --prefix=/usr/local --mandir=/usr/local/man --disable-silent-rules --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd11.3 for the build and the def looks correct grep VTYSH config.log | head -2 | #define VTYSH_PAGER "/usr/bin/less -EFX" | #define VTYSH_PAGER "/usr/bin/less -EFX" but it still does not default to terminal paginate being on when I fire up vtysh ---Mike
Hi, Any suggestions as to what I can do to make the FreeBSD port work with pagination on as a default ? ---Mike On 8/1/2019 12:03 PM, mike tancsa wrote:
On 8/1/2019 11:55 AM, mike tancsa wrote:
On 8/1/2019 11:31 AM, David Lamparter wrote:
Put it in /etc/frr/vtysh.conf
# vtysh line 8: % Unknown command[4]: terminal paginate
Does it have to be in a certain location of the file ? Er, no, it shouldn't... which version of FRR is this? From the FreeBSD ports tree, with all options disabled except for VTYSH, version 6.0.2. It grabs and builds from the tarball
FRRouting-frr-frr-6.0.2_GH0.tar.gz I also try adding the def in the FreeBSD port's Makefile
CONFIGURE_ARGS= --enable-user=frr \ --enable-group=frr \ --enable-vty-group=frrvty \ --sysconfdir=${ETCDIR} \ --localstatedir=/var/run/frr \ --disable-nhrpd \ --with-vtysh-pager='/usr/bin/less -EFX'\ --disable-pimd
so that config.log looks like
$ ./configure --enable-user=frr --enable-group=frr --enable-vty-group=frrvty --sysconfdir=/usr/local/etc/frr --localstatedir=/var/run/frr --disable-nhrpd --with-vtysh-pager=/usr/bin/less -EFX --disable-pimd --disable-fpm --disable-ldpd --disable-doc --without-libpam --disable-rpki --disable-shell-access --disable-snmp --disable-tcmalloc --disable-tcp-zebra --enable-vtysh --prefix=/usr/local --mandir=/usr/local/man --disable-silent-rules --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd11.3
for the build and the def looks correct
grep VTYSH config.log | head -2 | #define VTYSH_PAGER "/usr/bin/less -EFX" | #define VTYSH_PAGER "/usr/bin/less -EFX"
but it still does not default to terminal paginate being on when I fire up vtysh
---Mike
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
participants (2)
-
David Lamparter -
mike tancsa