Special (GNU Coreutils 9.0)
Previous: Characters, Up: stty invocation [Contents][Index]
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
-icanonis 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
-icanonis 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
nrows. Non-POSIX.- ‘
cols n’
‘columns n’ Tell the kernel that the terminal has
ncolumns. Non-POSIX.- ‘
drain’ Apply settings after first waiting for pending output to be transmitted. This is enabled by default for GNU
stty. It is useful to disable this option in cases where the system may be in a state where serial transmission is not possible. For example, if the system has received the ‘DC3’ character withixon(software flow control) enabled, thensttywould block without-drainbeing specified. May be negated. 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
LINESandCOLUMNSinstead; however, GNUsttydoes 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.ncan be one of: 0 50 75 110 134 134.5 150 200 300 600 1200 1800 2400 4800 9600 19200 38400extaextb.extais the same as 19200;extbis the same as 38400. Many systems, including GNU/Linux, support higher speeds. Thesttycommand 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-clocalis set.
Previous: Characters, Up: stty invocation [Contents][Index]