diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-08-17 19:46:21 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-27 17:11:28 -0500 |
commit | 24ba903cb2953183d32703e53daa68b59dd976d8 (patch) | |
tree | 3b72de8cea7f95ce9332be6cd16c7421641ff1ca /templates/terminal | |
parent | 1f8755e7fa091ae705eda151882424d4e95e1832 (diff) | |
download | vyatta-op-24ba903cb2953183d32703e53daa68b59dd976d8.tar.gz vyatta-op-24ba903cb2953183d32703e53daa68b59dd976d8.zip |
Fixup the help text for top level commands; move terminal to set terminal
(cherry picked from commit 2f6c8ec6f68d44503ee20ad655dd89efa55678cd)
Diffstat (limited to 'templates/terminal')
-rw-r--r-- | templates/terminal/key/node.def | 1 | ||||
-rw-r--r-- | templates/terminal/key/query-help/node.def | 1 | ||||
-rw-r--r-- | templates/terminal/key/query-help/node.tag/node.def | 10 | ||||
-rw-r--r-- | templates/terminal/length/node.def | 1 | ||||
-rw-r--r-- | templates/terminal/length/node.tag/node.def | 7 | ||||
-rw-r--r-- | templates/terminal/node.def | 1 | ||||
-rw-r--r-- | templates/terminal/pager/node.def | 2 | ||||
-rw-r--r-- | templates/terminal/pager/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/terminal/width/node.def | 1 | ||||
-rw-r--r-- | templates/terminal/width/node.tag/node.def | 3 |
10 files changed, 0 insertions, 30 deletions
diff --git a/templates/terminal/key/node.def b/templates/terminal/key/node.def deleted file mode 100644 index be435af..0000000 --- a/templates/terminal/key/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Set key behaviors diff --git a/templates/terminal/key/query-help/node.def b/templates/terminal/key/query-help/node.def deleted file mode 100644 index c15f556..0000000 --- a/templates/terminal/key/query-help/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Enable/disable getting help using question mark diff --git a/templates/terminal/key/query-help/node.tag/node.def b/templates/terminal/key/query-help/node.tag/node.def deleted file mode 100644 index dd27db3..0000000 --- a/templates/terminal/key/query-help/node.tag/node.def +++ /dev/null @@ -1,10 +0,0 @@ -help: Enable/disable getting help using question mark (default enabled) -allowed: echo -n 'enable' 'disable' -run: if [ "$4" == 'disable' ]; then - sed -i "/^bind '\"?\": .* # vyatta key binding$/d" $HOME/.bashrc - echo "bind '\"?\": self-insert' # vyatta key binding" >> $HOME/.bashrc - bind '"?": self-insert' - else - sed -i "/^bind '\"?\": .* # vyatta key binding$/d" $HOME/.bashrc - bind '"?": possible-completions' - fi diff --git a/templates/terminal/length/node.def b/templates/terminal/length/node.def deleted file mode 100644 index 3e24898..0000000 --- a/templates/terminal/length/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Set terminal rows diff --git a/templates/terminal/length/node.tag/node.def b/templates/terminal/length/node.tag/node.def deleted file mode 100644 index 3dfae2b..0000000 --- a/templates/terminal/length/node.tag/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Set terminal to given number of rows (0 disables paging) -allowed: echo -n '<NUMBER>' -run: if [ "$3" -eq 0 ] ; then - VYATTA_PAGER=cat - else - stty rows $3 - fi diff --git a/templates/terminal/node.def b/templates/terminal/node.def deleted file mode 100644 index cdc1793..0000000 --- a/templates/terminal/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Control terminal behaviors diff --git a/templates/terminal/pager/node.def b/templates/terminal/pager/node.def deleted file mode 100644 index d2d414d..0000000 --- a/templates/terminal/pager/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Set to use default pager (less) -run: VYATTA_PAGER=$_vyatta_default_pager diff --git a/templates/terminal/pager/node.tag/node.def b/templates/terminal/pager/node.tag/node.def deleted file mode 100644 index fe2226e..0000000 --- a/templates/terminal/pager/node.tag/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Set terminal pager -allowed: echo -n '<PROGRAM>' -run: VYATTA_PAGER=$3 diff --git a/templates/terminal/width/node.def b/templates/terminal/width/node.def deleted file mode 100644 index ddbc07d..0000000 --- a/templates/terminal/width/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Set terminal columns diff --git a/templates/terminal/width/node.tag/node.def b/templates/terminal/width/node.tag/node.def deleted file mode 100644 index c40bfd7..0000000 --- a/templates/terminal/width/node.tag/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Set terminal to given number of columns -allowed: echo -n '<NUMBER>' -run: stty columns $3 |