Previous: Characters, Up: stty invocation


19.2.7 Special settings

min n
Set the minimum number of characters that will satisfy a read until the time value has expired, when -icanon is set.
time n
Set the number of tenths of a second before reads time out if the minimum number of characters have not been read, when -icanon is set.
ispeed n
Set the input speed to n.
ospeed n
Set the output speed to n.
rows n
Tell the tty kernel driver that the terminal has n rows. Non-POSIX.
cols n
columns n
Tell the kernel that the terminal has n columns. Non-POSIX.
size
Print the number of rows and columns that the kernel thinks the terminal has. (Systems that don't support rows and columns in the kernel typically use the environment variables LINES and COLUMNS instead; however, GNU stty does not know anything about them.) Non-POSIX.
line n
Use line discipline n. Non-POSIX.
speed
Print the terminal speed.
n
Set the input and output speeds to n. n can be one of: 0 50 75 110 134 134.5 150 200 300 600 1200 1800 2400 4800 9600 19200 38400 exta extb. exta is the same as 19200; extb is the same as 38400. Many systems, including GNU/Linux, support higher speeds. The stty command includes support for speeds of 57600, 115200, 230400, 460800, 500000, 576000, 921600, 1000000, 1152000, 1500000, 2000000, 2500000, 3000000, 3500000, or 4000000 where the system supports these. 0 hangs up the line if -clocal is set.