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
IIS7 needs to confirm whether the "URL REWRI...
This article mainly summarizes various problems o...
This article shares the MySQL precompilation func...
A Multi-Select is a UI element that lists all opt...
background We often use Chrome Dev Tools for deve...
Recently, I have been learning to use nginx to pl...
Original Intention The reason for making this too...
Table of contents 1 Install Docker 2 Configuring ...
When programmers do TypeScript/JavaScript develop...
This article shares the specific code of JavaScri...
Query Cache 1. Query Cache Operation Principle Be...
2.1、msi installation package 2.1.1、Installation I...
Install using the MSI installation package Downlo...
mysql-5.7.17-winx64 is the latest version of MySQ...
Preface This article records a problem I encounte...