From 9fc5d0613ad2900d59b36ecf56e7212c491d7078 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Thu, 20 Oct 2011 16:45:54 -0500 Subject: Workaround for bug 7570, turning echo on manually when running a templated command should fix the majority of the problems. It would be better to fix the readline/less interaction in the future --- functions/interpreter/vyatta-op-run | 3 +++ 1 file changed, 3 insertions(+) (limited to 'functions/interpreter/vyatta-op-run') diff --git a/functions/interpreter/vyatta-op-run b/functions/interpreter/vyatta-op-run index b128000..a064b61 100644 --- a/functions/interpreter/vyatta-op-run +++ b/functions/interpreter/vyatta-op-run @@ -120,6 +120,9 @@ _vyatta_op_run () _vyatta_op_last_comp=${_vyatta_op_last_comp_init} false; estat=$? + stty echo # turn echo on, this is a workaround for bug 7570 + # not a fix we need to look at why the readline library + # is getting confused on paged help text. i=1 declare -a args # array of expanded arguments -- cgit v1.2.3