summaryrefslogtreecommitdiff
path: root/functions
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:45:54 -0500
commitf79da4403d13ac0a4695991781f7edfa83a90dff (patch)
tree6bb61860903bbaec960dd0e6fe9cdf2b71d9b885 /functions
parent03ff4a8d1f8f31eac014e227cdcd9d1a6d4af907 (diff)
downloadvyatta-op-f79da4403d13ac0a4695991781f7edfa83a90dff.tar.gz
vyatta-op-f79da4403d13ac0a4695991781f7edfa83a90dff.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')
-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