stty

Displays the terminal settings.

Format

stty parameter ...

Parameters   

rows n

Sets the screen height. The n variable indicates the number of rows and must be an integer from 10 to 256 inclusive.

columns n

Sets the screen width. The n variable indicates the number of columns and must be an integer from 20 to 255 inclusive.

hardwrap on|off

Turns on (default) or off wrapping the output at the screen width.

status

Shows terminal status.

Example

The following stty command displays the current terminal settings:

> stty status

Terminal Type: telnet

Screen width : 80

Screen height: 25

Hard wrap    : Off