Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)

Chapter 3 Command Descriptions 241
stty
Description
Sets and shows terminal information.
Input
Example
Show information about the terminal.
stty info | hardwrap | rows # | columns #
Parameter Description
info Shows current information about the terminal
hardwrap Toggles the hard wrapping of output. Terminals usually wrap at the
screen width without truncating output, but turning on hard wrapping
ensures this.
rows # Specifies the number of rows that a terminal can display. The terminal
usually sets this value; this is an override. The info parameter shows
this as screen height.
columns # Specifies the number of columns that a terminal can display. The
terminal usually sets this value; this is an override. The info
parameter shows this as screen width.
# stty info
Terminal Type: ANSI
Screen width : 140
Screen height: 60
Hard wrap : Off
Success: Command completed successfully