I would like some 83(cols)x40(rows) size on my TTY, so:
xubuntu@xubuntu:~$ stty size
30 90
xubuntu@xubuntu:~$ stty cols 83 rows 40
stty: standard input: Invalid argument
xubuntu@xubuntu:~$ stty size
30 83
As can be seen in my example, cols=40 is not supported on my computer.
So I must try:
xubuntu@xubuntu:~$ stty rows 39
stty: standard input: Invalid argument
xubuntu@xubuntu:~$ stty rows 38
stty: standard input: Invalid argument
xubuntu@xubuntu:~$ stty rows 37
stty: standard input: Invalid argument
xubuntu@xubuntu:~$ stty rows 36
xubuntu@xubuntu:~$
...until I success.
Is there any way to directly set stty to its maximum? Maybe something like:
xubuntu@xubuntu:~$ stty rows max
xterm
?gnome-terminal
? ssh? I cannot reproduce this. For me,stty rows
accepts arbitrarily large numbers.Ctrl+Alt+Fn
. A single text mode terminal, not GUI.