diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-11-08 06:50:13 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2018-12-06 23:05:48 +0100 |
commit | 76fd52625de1e00c1cc9d4f49f24b4caaaeeded1 (patch) | |
tree | 20db2afd2944551f10a4f680b2277c28311573a2 /vtysh/vtysh_main.c | |
parent | *: get rid of most daemons.conf references (diff) | |
download | frr-76fd52625de1e00c1cc9d4f49f24b4caaaeeded1.tar.xz frr-76fd52625de1e00c1cc9d4f49f24b4caaaeeded1.zip |
vtysh: rework/straighten pager handling
- no longer try to special-case a custom terminal length; the OS has
procedures for that (SIGWINCH & TIOCGWINSZ)
- only use a pager if requested by CLI command or VTYSH_PAGER. The
behaviour with VTYSH_PAGER set should be compatible to previous
versions.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'vtysh/vtysh_main.c')
-rw-r--r-- | vtysh/vtysh_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c index 777eed7b5..2e4510a45 100644 --- a/vtysh/vtysh_main.c +++ b/vtysh/vtysh_main.c @@ -675,8 +675,6 @@ int main(int argc, char **argv, char **env) exit(0); } - vtysh_pager_init(); - vtysh_readline_init(); vty_hello(vty); |