I want to resize a PuTTY window to its default (e.g. 32x120). Typically I enlarge the window with the mouse in one dimension. Afterward I want to resize it to its “default” again. Of course I can resize the window with the mouse but it is a little painful to get it somehow right. I am looking for a solution which for example I can put on a function key.
If I double click on the upper window boarder the window is maximized. Doing it again it restores the last size.
I tried also with the package xterm
the resize command resize -s 32 120
but I just get a time out: resize: Time out occurred
. Maybe it is due to the fact that PuTTY doesn’t support (fully?) xterm. The variable TERM
is set to xterm
My question is, is there a trick how I can resize the window to the default values. With default I mean the size when I created the window or a defined number of columns and rows.
I am working on Ubuntu 16.04
xterm
package also exist: http://unix.stackexchange.com/a/283206 – phk Dec 25 '16 at 17:42