Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5224

Advanced users • Re: How to force Pi OS serial console to resolution other than 24x80?

$
0
0
serial consoles are always in manual mode

there are 2 options to adjust things

1: run the "resize" program from the xterm package
2: use this chunk of code:

Code:

clever@raspberrypi:/nas/rpi/libsigrok $ echo "stty rows $(tput lines) cols $(tput cols)"stty rows 24 cols 279
that will query the size of the current tty (what linux thinks it is, so run it before connecting to the serial console)
and it will print out a command like the one youve been running

you can then connect to the serial console, and copy/paste that in

Statistics: Posted by cleverca22 — Sun Jan 28, 2024 6:39 am



Viewing all articles
Browse latest Browse all 5224

Trending Articles