Bug#788243: quagga: suboptimal default pager settings for vtysh
Hi. I used to be able to override the pager used by vtysh by setting the VTYSH_PAGER environment variable. However it seems to be ignored these days. I've tried the following: export VTYSH_PAGER=/bin/more vtysh VTYSH_PAGER=/bin/more vtysh export VTYSH_PAGER='/usr/bin/less -EX' vtysh VTYSH_PAGER='/usr/bin/less -EX' vtysh All of them result in being presented with a blank screen with (END) at the bottom when I run vtysh (so the default 'less' configuration). Every command run results in me having to hit q afterwards, and the results from the previous command are cleared from the screen. The variable is definitely set: root@gw:~# env | grep VTYSH_PAGER VTYSH_PAGER=less -EX I'm not sure at what version of quagga this stopped working, but when I introduced it to my profile (years ago?) it used to work. Regards, Jim
Bug#788243: quagga: suboptimal default pager settings for vtysh
Package: quagga Version: 0.99.23.1-1 Severity: minor Hello Chris, doing a standard Debian installation and then installing Quagga, it will use less as a pager for vtysh. While less might be a neat pager for vtysh with more configuration, the less with default configuration is a usability hurdle. On my installation, I observe the following two inconvenient behaviours: - less prompts the user to explicitly close it, after each command - the output from less will be cleared after less is closed, inhibiting the option to use output from show ... commands for configuration commands While I understand the intention to make vtysh match up with Debians global pager settings, would it maybe be possible and sensible to implement a more usable default? -Christian -- System Information: Debian Release: 8.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages quagga depends on: ii adduser3.113+nmu3 ii debconf [debconf-2.0] 1.5.56 ii iproute2 3.16.0-2 ii libc6 2.19-18 ii libcap21:2.24-8 ii libpam0g 1.1.8-3.1 ii libreadline6 6.3-8+b3 ii libtinfo5 5.9+20140913-1+b1 ii logrotate 3.8.7-1+b1 quagga recommends no packages. Versions of packages quagga suggests: pn snmpd none -- Configuration Files: /etc/quagga/daemons changed [not included] /etc/quagga/debian.conf changed [not included] -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#788243: quagga: suboptimal default pager settings for vtysh
Hello It's been long since I last started vtysh myself but it looks indeed very irritating. I guess I should revert the Debian patch that forces Quagga to use the Debian configured default pager. Using export VTYSH_PAGER= helps meanwhile. best regards -christian- On Tue, 09 Jun 2015 14:04:16 -0400 Christian Franke nobody-deb...@nowhere.ws wrote: Package: quagga Version: 0.99.23.1-1 Severity: minor Hello Chris, doing a standard Debian installation and then installing Quagga, it will use less as a pager for vtysh. While less might be a neat pager for vtysh with more configuration, the less with default configuration is a usability hurdle. On my installation, I observe the following two inconvenient behaviours: - less prompts the user to explicitly close it, after each command - the output from less will be cleared after less is closed, inhibiting the option to use output from show ... commands for configuration commands While I understand the intention to make vtysh match up with Debians global pager settings, would it maybe be possible and sensible to implement a more usable default? -Christian -- System Information: Debian Release: 8.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages quagga depends on: ii adduser3.113+nmu3 ii debconf [debconf-2.0] 1.5.56 ii iproute2 3.16.0-2 ii libc6 2.19-18 ii libcap21:2.24-8 ii libpam0g 1.1.8-3.1 ii libreadline6 6.3-8+b3 ii libtinfo5 5.9+20140913-1+b1 ii logrotate 3.8.7-1+b1 quagga recommends no packages. Versions of packages quagga suggests: pn snmpd none -- Configuration Files: /etc/quagga/daemons changed [not included] /etc/quagga/debian.conf changed [not included] -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org