From 228e06bad624a33090da4a09f32f8fed84a7e15c Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Thu, 21 Jul 2011 21:40:02 +0100 Subject: Disable the "~" VTY Terminal prompt. Commands sent to the Routing Engine are now sent as priority messages, so should no longer be a need for the "~" prompt which kept the CLI "live" while a command was waiting for the Routing Engine to pay attention. Also: reinstated test-vector.c tests for vector_move_item_here(), which seem somehow to have got lost. --- lib/vty_cli.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'lib/vty_cli.c') diff --git a/lib/vty_cli.c b/lib/vty_cli.c index 83f156ef..a6a276e8 100644 --- a/lib/vty_cli.c +++ b/lib/vty_cli.c @@ -179,7 +179,9 @@ uty_cli_new(vio_vf vf) { cli->pause_timer = qtimer_init_new(NULL, vty_cli_nexus->pile, vty_term_pause_timeout, cli) ; - cli->tilde_enabled = vty_multi_nexus && false ; +#if 0 + cli->tilde_enabled = vty_multi_nexus ; +#endif } ; /* Ready to be started -- paused, out_active & more_wait are false. @@ -259,7 +261,9 @@ uty_cli_close(vty_cli cli, bool final) /* Discard any pause_timer, and suppress */ cli->pause_timer = qtimer_free(cli->pause_timer) ; cli->paused = false ; +#if 0 cli->tilde_enabled = false ; +#endif /* If final, free the CLI object. */ if (final) @@ -813,7 +817,11 @@ uty_cli_dispatch(vty_cli cli) uty_cmd_signal(vio, CMD_SUCCESS) ; - cli->blocked = (to_do_now != cmd_do_command) || !cli->tilde_enabled ; + cli->blocked = (to_do_now != cmd_do_command) +#if 0 + || !cli->tilde_enabled +#endif + ; } else { -- cgit v1.2.3