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
The default arrangement of text in HTML is horizo...
background: In MySQL, if there is a limited level...
The fd command provides a simple and straightforw...
CSS controls the printing style of web pages : Use...
1. Table structure TABLE person id name 1 you 2 Y...
This article introduces how to install the system...
This article example shares the specific code of ...
Table of contents Preface Background data splicin...
It is recommended that you do not set the width, h...
Back in the Kernel 2.6 era, a new security system...
Table of contents JavaScript Objects 1. Definitio...
In an article a long time ago, I talked about the...
I encountered a little problem when configuring t...
Summarize This article ends here. I hope it can b...
With the popularization of 3G, more and more peop...