Cisco Cisco Packet Data Interworking Function (PDIF)
Exec Mode Commands (T-Z)
terminal ▀
Command Line Interface Reference, StarOS Release 16 ▄
4127
terminal
Sets the number of rows or columns for display output.
Product
All
Privilege
Security Administrator, Administrator, Operator, Inspector
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
terminal { length lines | width characters }
length
lines
|
width
characters
length
lines
: sets the terminal length in number of lines (rows) of text from 5 to 4294967295 lines or the
special value of 0 (zero). The value 0 sets the terminal length to infinity.
width
characters
: sets the terminal width in number of characters from 5 to 512 characters.
Usage
Set the length to 0 (infinite) when collecting the output of a command line interface session which is part of a
scripted interface.
scripted interface.
Example
The following sets the length then width in two commands.
terminal length 66
terminal width 160
The following command sets the number of rows of the terminal to infinity.
terminal length 0