From LQWiki
stty (short for set teletype) is the command to set up a terminal (or terminal emulation session) such that it will fit the needs of the keyboard and attached screen. In the old days of vt100 and and vt220 terminals is was a necessity to use a unix machine. stty without options lists the current setting.
$ stty speed 38400 baud; line = 0;
The stty command can be useful, for instance, if a remote machine does not respond to the backspace key correctly. The erase switch can correct the response.
$ stty erase [type backspace key]

This page is available under a