Screen automatically resizes screen with -x screen

Is there a way to automatically resize screen windows, as well as the -x screen option? I know that we can do this using the screen setup command as soon as the sharing session is open, but is there a way to do this automatically? (just like with the -r -d screen, the window automatically changes). I try to open a sharing session automatically when a new ssh session is opened (using the screen -x command in .bash_profile), this works; but the window has no size. Any suggestions would help.

+7
source share
2 answers

From http://www.gnu.org/software/screen/manual/screen.html

Ca F (fit) Resize window to current region size. See Window Size.

Please note that this is capital F, so for me it is ctrl + a shift + f

+7
source

I have not tried this myself, but look at http://www.gnu.org/software/screen/manual/screen.html I suggest running screen with the -A option.

0
source

All Articles