Sttty is a common command for changing and printing terminal settings under Linux. 1. Parameters: 1. Print terminal line settings -a, --all Print all current settings in human-readable form; the -a parameter prints more detailed terminal information than the stty command alone. -g, --save Print all current settings in a stty-readable format -F, --file=DEVICE Open and use the specified device (DEVICE) instead of standard input (stdin) --help show help and exit --version display version and exit 2. Usage 1. stty size prints the number of rows and columns of the terminal 2. Disable lowercase output in the command line
3. Print the number of rows and columns of the terminal 4. Change the method of ctrl+D: The system defaults to ctrl+D to indicate the end of the file, but this method can change it! 5. Shield display
Test Method: 6. Ignore carriage return
7. Use it to set our serial port printing operation information. Explanation: Use stty to set the /dev/ttyS0 serial port, baud rate to 115200, data bit to cs8, parity bit to -parenb, stop bit to -cstopb, and -echo to disable terminal echo. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: How to connect to MySQL remotely through Navicat
Table of contents Preface environment Install Cre...
The first step is to install TypeScript globally ...
Formation of the grid system In 1692, the newly c...
First, let’s think about a question: To insert su...
Disclaimer: Since the project requires the use of...
The solution to the problem that Ubuntu 18.04 in ...
Table of contents Overview 1. Download via URL 2....
1. Two ways to specify the character set of the h...
Core code /*-------------------------------- Find...
AWS - Amazon's cloud computing service platfo...
Permission denied: The reason for this is: there ...
If you directly set the width attribute to the sty...
Preface During the stress test, if the most direc...
As a lightweight open source database, MySQL is w...
Today I am a little confused about <a href=&quo...