Chinese explanation Link: http://linux.51yip.com/search/stty
English explanation Link: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/stty.html
1.stty function
The Stty (set TTY, TTY) command is used to check and modify the communication parameters of the currently registered terminal, and the UNIX system provides important control over the input and terminal output of the keyboard, which can be set by the Stty command for a specific terminal or communication line.
The Stty command sets some I/O options for devices that are currently input to the standard, which writes the output to a device that is currently in standard output.
The Stty command (POSIX) suspends and waits for the TTY's open () until the RS-232 carrier heartbeat is determined. If the clocal or FORCEDCD (128 port only) option is set, this rule will not apply.
$stty-A: You can use-A to view the settings of the current registration terminal in the Stty command
This option is cleared when the corresponding option in Stty is preceded by a minus sign (-), which is set if no minus sign, such as Echo echoing,-echo suppresses echo.
The Stty command uses