Re: multiple child windows for screen

Pavan Rikhi <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CAEp3VWbgYW1trmje1wCT9-NhAv0-MnioY99q2B0NUeTw+qvZ5A@mail.gmail.com>
On Thu, Sep 6, 2012 at 1:38 PM, Chris Jones <[email protected]> wrote:
> ¹ The above does it remotely, targeting an already-running screen
>   session, but naturally, you could stick the same commands in your
>   ~/.screenrc, like so:
>
>   | screen -S sockname
>   | split
>   | split -v
>   | focus down
>   | split -v
>
>   .. and you will have four sub-windows immediately after you fire up
>   screen

If you do this, detaching and reattaching will make you lose your
splits. The "layout" command circumvents this:

| layout new
| split
| split -v
etc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.