3 @@ -268,7 +268,7 @@ vtysh_pager_init (void)
5 vtysh_pager_name = strdup (pager_defined);
7 - vtysh_pager_name = strdup ("more");
8 + vtysh_pager_name = strdup ("cat");
11 /* Command execution over the vty interface. */
12 @@ -1884,7 +1884,7 @@ DEFUN (vtysh_terminal_length,
16 - char default_pager[10];
17 + char default_pager[12];
19 lines = strtol (argv[0], &endptr, 10);
20 if (lines < 0 || lines > 512 || *endptr != '\0')
21 @@ -1901,7 +1901,7 @@ DEFUN (vtysh_terminal_length,
25 - snprintf(default_pager, 10, "more -%i", lines);
26 + snprintf(default_pager, 12, "head -n %i", lines);
27 vtysh_pager_name = strdup (default_pager);