In git version, new feature layout
was introduced.
from screen(1):
layout new [title]
Create a new layout. The screen will change to one whole region and be switched to the blank window. From here, you build the regions and the windows they show as you desire. The new layout will be numbered with the smallest available integer, starting with zero. You can optionally give a title to your new layout. Otherwise, it will have a default title of "layout". You can always change the title later by using the command layout title.
even if you detached screen session, layout has remember how region was split.
for example, screen start with follow configuration.
layout new
split
split -v
screen 0
focus next
screen 1
focus bottom
screen 2
detach
And reattach this session, you will able to come back into (last selected) layout which has 3 splitted region.
See https://superuser.com/a/516822/113250 for the "new" built-in layout feature
– Thiago Figueiro – 2019-01-20T23:53:40.6401Having spent the past year or two configuring and heavily using nested screen sessions, I recommend it. Over time, the pain of added complexity decreases, while the usefulness of the more flexible setup increases. – funroll – 2012-08-30T18:51:48.180
14The new feature, i.e.,
layout
, invalidates this answer! – Kadir – 2013-11-19T14:21:43.110