summaryrefslogtreecommitdiff
path: root/templates/terminal/pager
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@io.vyatta.com>2007-11-30 12:23:56 -0800
committerTom Grennan <tgrennan@io.vyatta.com>2007-11-30 12:23:56 -0800
commit20bfe68eddfa1181cdf91aeb45f65fe717a1fb93 (patch)
treebb41c61a2be8a315ec90415ea6b3f56e84644a9f /templates/terminal/pager
parentfc05a43ce19c57f8bb4abd68a8e973b9e048ea19 (diff)
downloadvyatta-op-20bfe68eddfa1181cdf91aeb45f65fe717a1fb93.tar.gz
vyatta-op-20bfe68eddfa1181cdf91aeb45f65fe717a1fb93.zip
fix bug 2486
pipe "show" commands and help through pager
Diffstat (limited to 'templates/terminal/pager')
-rw-r--r--templates/terminal/pager/node.def2
-rw-r--r--templates/terminal/pager/node.tag/node.def3
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/terminal/pager/node.def b/templates/terminal/pager/node.def
new file mode 100644
index 0000000..cb5cb41
--- /dev/null
+++ b/templates/terminal/pager/node.def
@@ -0,0 +1,2 @@
+help: Use default pager (less)
+run: VYATTA_PAGER=
diff --git a/templates/terminal/pager/node.tag/node.def b/templates/terminal/pager/node.tag/node.def
new file mode 100644
index 0000000..fe2226e
--- /dev/null
+++ b/templates/terminal/pager/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Set terminal pager
+allowed: echo -n '<PROGRAM>'
+run: VYATTA_PAGER=$3