HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)
182
stty
Description Sets and shows terminal information.
Syntax
stty info | hardwrap | rows # | columns #
Parameters info
Shows the terminal's settings.
hardwrap
Enables or disables the hard wrapping of output. Terminals usually wrap at the screen width without
truncating output, but turning on hard wrapping ensures this.
rows #
Sets 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 #
Sets 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.
Example Show information about the terminal:
# stty info
Terminal Type: ANSI
Screen width : 140
Screen height: 60
Hard wrap : Off
Success: Command completed successfully.