I am using Yacto based linux distribution on embedded control board. When I access the terminal serially(via rs232 port), the default size is 80 chars. I have changed this by running following commands
>stty size 0 0 >shopt -s checkwinsize >stty rows 60 cols 160 >shopt -u checkwinsize >stty size 60 160
Terminal has new setting, however following a reboot, they are back to default! I tried "stty --save" after making changes, but of no use. The user is root, as its dev board.
I believe it is possible to preserve the settings between sessions/after reboots.
Can anyone point me where are the stty settings gets saved on rootfs? I can so edit that file with new row/column info without any other changes.
Thanks in advance.