summaryrefslogtreecommitdiff
path: root/functions/interpreter
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-10-20 16:45:54 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-20 16:46:22 -0500
commit9fc5d0613ad2900d59b36ecf56e7212c491d7078 (patch)
treee9c17ee631a3c7ab61bfd67f8afdbeaf61a144d1 /functions/interpreter
parentc6077a2753ce0b3e9c0b7c793e7358407a3861f5 (diff)
downloadvyatta-op-9fc5d0613ad2900d59b36ecf56e7212c491d7078.tar.gz
vyatta-op-9fc5d0613ad2900d59b36ecf56e7212c491d7078.zip
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
Diffstat (limited to 'functions/interpreter')
-rw-r--r--functions/interpreter/vyatta-op-run3
1 files changed, 3 insertions, 0 deletions
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