HES7000 ICLI User’s Guide A01583 Rev. A
Page
13
of 37
Long Lines and Pagination
A session has a configuration that indicates the width of the terminal in characters and the
length in lines. It uses these parameters to control handling of long input lines and to control
pagination of multi-line output. For details about changing these parameters please refer to
section 3.7.
Long lines come into play when a line is longer than the terminal width minus the prompt. In
that case part of the line will be hidden from display as indicated by
‘$’ at the beginning
and/or end of the visible part of the line.
For example:
myDevice# $there is text to the left of what is visible here. myDevice# there is text to the right
of what is visible here.$ myDevice# $there is text at both ends of what is visible here$
The first line has scrolled left; the second line has scrolled right; the third line has been
scrolled to the middle of a quite long line.
Pagination appears each time execution of a command causes output of more lines than
what has been configured as the terminal length. A typical example is the output from
show
running-config
. After the first several lines have been output, the pagination prompt is
presented:
[lines of text]
-- more --, next page: Space, continue: g, quit: ^C
The following keys control pagination:
Table 4.
Pagination Control Keys
Key
Operation
Enter
Display next line of output
Space
Display next page of output
G
Display remainder of output without more pagination
Q / Ctrl-C
Discard remainder of output
Any other key
Display next page of output. Note that certain terminal keys
(arrows, Home, End, etc.) may appear as multiple characters to the
ICLI, leading to multiple pages being output in quick succession.
The terminal length (also sometimes called height) can be configured for the current session
using the
terminal length
lines
command. If
lines
= 0 is input, pagination is disabled.
myDevice#
terminal length 0
myDevice#
terminal length 25
Similarly for
terminal width
, for setting the terminal width in characters.
3.4.4. Other Special Keys
One additional key is defined as a convenience. It allows the immediate return from any sub-
mode to exec mode (see the following section).
Table 5.
Other Special Keys
Key
Operation
Ctrl-Z
Return directly to Exec mode
Содержание HES7000
Страница 1: ...HES7000 ICLI USER S GUIDE A01583 Rev A ...
Страница 3: ...HES7000 ICLI User s Guide A01583 Rev A ...
Страница 4: ......