summaryrefslogtreecommitdiff
path: root/templates/set/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'templates/set/terminal')
-rw-r--r--templates/set/terminal/key/node.def1
-rw-r--r--templates/set/terminal/key/query-help/node.def1
-rw-r--r--templates/set/terminal/key/query-help/node.tag/node.def10
-rw-r--r--templates/set/terminal/length/node.def1
-rw-r--r--templates/set/terminal/length/node.tag/node.def7
-rw-r--r--templates/set/terminal/node.def1
-rw-r--r--templates/set/terminal/pager/node.def2
-rw-r--r--templates/set/terminal/pager/node.tag/node.def3
-rw-r--r--templates/set/terminal/width/node.def1
-rw-r--r--templates/set/terminal/width/node.tag/node.def3
10 files changed, 0 insertions, 30 deletions
diff --git a/templates/set/terminal/key/node.def b/templates/set/terminal/key/node.def
deleted file mode 100644
index be435af..0000000
--- a/templates/set/terminal/key/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Set key behaviors
diff --git a/templates/set/terminal/key/query-help/node.def b/templates/set/terminal/key/query-help/node.def
deleted file mode 100644
index c15f556..0000000
--- a/templates/set/terminal/key/query-help/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Enable/disable getting help using question mark
diff --git a/templates/set/terminal/key/query-help/node.tag/node.def b/templates/set/terminal/key/query-help/node.tag/node.def
deleted file mode 100644
index 8ea9fbf..0000000
--- a/templates/set/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 [ "$5" == '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/set/terminal/length/node.def b/templates/set/terminal/length/node.def
deleted file mode 100644
index 3e24898..0000000
--- a/templates/set/terminal/length/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Set terminal rows
diff --git a/templates/set/terminal/length/node.tag/node.def b/templates/set/terminal/length/node.tag/node.def
deleted file mode 100644
index 42a0726..0000000
--- a/templates/set/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 [ "$4" -eq 0 ] ; then
- VYATTA_PAGER=cat
- else
- stty rows $4
- fi
diff --git a/templates/set/terminal/node.def b/templates/set/terminal/node.def
deleted file mode 100644
index cdc1793..0000000
--- a/templates/set/terminal/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Control terminal behaviors
diff --git a/templates/set/terminal/pager/node.def b/templates/set/terminal/pager/node.def
deleted file mode 100644
index d2d414d..0000000
--- a/templates/set/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/set/terminal/pager/node.tag/node.def b/templates/set/terminal/pager/node.tag/node.def
deleted file mode 100644
index dd5a3de..0000000
--- a/templates/set/terminal/pager/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Set terminal pager
-allowed: echo -n '<PROGRAM>'
-run: VYATTA_PAGER=$4
diff --git a/templates/set/terminal/width/node.def b/templates/set/terminal/width/node.def
deleted file mode 100644
index ddbc07d..0000000
--- a/templates/set/terminal/width/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Set terminal columns
diff --git a/templates/set/terminal/width/node.tag/node.def b/templates/set/terminal/width/node.tag/node.def
deleted file mode 100644
index 792f34a..0000000
--- a/templates/set/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 $4