setTermWidth

Change the terminal width for text formatting purposes.

Syntax:

setTermWidth width

Options:

width

Width of the user’s terminal window. Minimum width is 20 characters.

Sample Output:

-> setTermWidth 100

NOTES: Allows modification of the terminal width used for text formatting purposes. Note that not all commands adhere to this setting. The minimum width is 20 characters.

getTermWidth

Displays the terminal width for text formatting purposes.

Syntax:

getTermWidth

Options:

None.

Sample Output:

-> getTermWidth

Current terminal width: 80 characters.

NOTES: Displays the terminal width used for text formatting purposes. Note that not all commands adhere to this setting.

prompt

Set the CLI prompt (global for all active CLI sessions).

Syntax:

prompt str

Options:

str

The new prompt.

Sample Output:

prompt "->:"

Cisco SFS 7012 InfiniBand Server Switch Hardware Users Guide

 

OL-8787-05

B-9

 

Page 101
Image 101
Cisco Systems SFS 7012 manual SetTermWidth, GetTermWidth, Prompt