Linux stty设置串口终端行列数
作者:互联网
之前在linux命令行输入命令过长时,总是碰到不能自动换行,并且还会覆盖当前行的情况。像下面这样,
root@TSync:~#
dddd@TSync:~# dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
后来终于通过stty命令解决了。查看行列书,并将列数从80改为160,搞定。
root@TSync:~# stty size
24 80
root@TSync:~# stty cols 160
root@TSync:~# ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
标签:stty,160,串口,TSync,行列,Linux,80,root 来源: https://blog.csdn.net/yanceylu/article/details/113063390