diff options
author | Tom Grennan <tgrennan@vyatta.com> | 2008-03-21 12:16:11 -0700 |
---|---|---|
committer | Tom Grennan <tgrennan@vyatta.com> | 2008-03-21 12:16:11 -0700 |
commit | 7612557a0ad1ae9c965c1d836038f2a5a18ddb41 (patch) | |
tree | 998946f6b651eb7f98b2102ad2140d614703f405 /templates/show/system | |
parent | 81368cafa73984d475f4c59fc522ad3a1d7fb610 (diff) | |
download | vyatta-op-7612557a0ad1ae9c965c1d836038f2a5a18ddb41.tar.gz vyatta-op-7612557a0ad1ae9c965c1d836038f2a5a18ddb41.zip |
use less prompt to display the "show" content
Diffstat (limited to 'templates/show/system')
-rw-r--r-- | templates/show/system/boot-messages/all/node.def | 4 | ||||
-rw-r--r-- | templates/show/system/boot-messages/node.def | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/templates/show/system/boot-messages/all/node.def b/templates/show/system/boot-messages/all/node.def index d472c33..e414987 100644 --- a/templates/show/system/boot-messages/all/node.def +++ b/templates/show/system/boot-messages/all/node.def @@ -1,2 +1,4 @@ help: Show all kernel boot messages -run: less $_vyatta_less_options -- `printf "%s\n" /var/log/dmesg* | sort -nr` +run: less $_vyatta_less_options \ + --prompt=".boot-messages?m, file %i of %m., page %dt of %D" \ + -- `printf "%s\n" /var/log/dmesg* | sort -nr` diff --git a/templates/show/system/boot-messages/node.def b/templates/show/system/boot-messages/node.def index ee5ae38..97bbb61 100644 --- a/templates/show/system/boot-messages/node.def +++ b/templates/show/system/boot-messages/node.def @@ -1,2 +1,4 @@ help: Show most recent kernel boot messages -run: less $_vyatta_less_options /var/log/dmesg +run: less $_vyatta_less_options \ + --prompt=".boot-messages, page %dt of %D" \ + -- /var/log/dmesg |