• [gentoo-user] gnu-screen split region can't invoke shell

    From russian sky@21:1/5 to All on Mon Feb 28 12:20:01 2022
     Is it a bug that the gnu screen itself can't invoke

    a shell automatically after running 'Ctrl-a S' ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Tue Mar 1 10:56:38 2022
    On Monday, 28 February 2022 11:12:01 GMT russian sky wrote:
    Is it a bug that the gnu screen itself can't invoke

    a shell automatically after running 'Ctrl-a S' ?

    As far as I know you need to use 'Ctrl-a n' to move the screen focus into the next region of the split screen and then 'Ctrl-a c' to start a window in this split region with a shell in it. Otherwise it remains empty.

    You could also use 'Ctrl-a 0' to display the content of the first region of the screen in the second split region - mirroring what the first region shows.

    'Ctrl-a tab' switches focus between regions. 'Ctrl-a n' switches the
    displayed window within a region to the next window which has an active shell in it, within the screen session. Instead of 'n' for next, or 'p' for previous, you can enter the number of the window, with 0 being the first window in the screen session.

    I'm not sure if I explained it an understandable way, but I think with a bit
    of experimentation you'll soon understand how screen sessions, windows with shells and split regions work.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmId++YACgkQseqq9sKV ZxmuwA/+PNGfsl1htbqYPg/7v3wH9rYEz6sKJ/vLdxzrXdXquDWD1qfJEAQjPlve S4/oggAkTI+ynPetlj8opN/rMlkV0Qv6pXCSqTvhSmuvjffw4soCln/kdUL0hCz8 9ayJmdXFdztwxkwJgtBEqAjDQWBh8TDBkv9bbfj6QihJlFdo5VJ8UxwfzfAXO5aA 9gjlxYjJohlctHpYKlgLVzl+V7MTZ1R9Si3c+GvTMsjvqBcFh6hO71s6Nqou9GXz laHnmorqO4wTqHFas5u4fftqYJruddYC2hn6asB3oHTw2p4EVagVst7YioJoRsVw 66xWV68qiqzThIvtT+OfbylMcWLM51DgcokK2Aw3iGDGH5v5lwSskYXpYNJMc4Y0 qoonU9Dr2+VFEnojjfR+c50I6YNaQPk+XC50v6BH4t+NdL7wQGRKRMWsd4SIp+Pn CJw2ekMTPJrCuGXQttlCG5yZUwQwKZWiXgg6DssFvlUVJcjXd5rYhDepTXGwp8bk liMoPNXzz2sldeYU5MKfQUA04TgAWMensivtQUIHuiCvKqQvZRU9b3tVHMGGxLU4 uDAgfDvpgjjIi1m8NfatqYFd/4YK4srIqC3ymRA5OvihQQlUaA8v1nH4djvD/hnd r3ErTS+2gpAmQfs1MaK8KRBL9ChTmOUCze9K4P2+yKf3srL0jOk=
    =1yWp
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From russian sky@21:1/5 to All on Tue Mar 1 14:30:01 2022
    As far as I know you need to use 'Ctrl-a n' to move the screen focus > into the next region of the split screen and then 'Ctrl-a c' to
    start > a window in this split region with a shell in it. Otherwise it > remains empty. > > You could also use 'Ctrl-a 0' to display the content
    of the first > region of the screen in the second split region -
    mirroring what the > first region shows. > > 'Ctrl-a tab' switches focus between regions. 'Ctrl-a n' switches the > displayed window within a
    region to the next window which has an > active shell in it, within the
    screen session. Instead of 'n' for > next, or 'p' for previous, you can
    enter the number of the window, > with 0 being the first window in the
    screen session. > > I'm not sure if I explained it an understandable
    way, but I think > with a bit of experimentation you'll soon understand
    how screen > sessions, windows with shells and split regions work.

    After rereading the info(gnu-screen) manual, which indeed clarifies that

    'Ctrl-a S' will generate a blank window.

    It works after following your advice, thanks


    The gnu-screen runs a litte bit different from tmux which make me

    confusing. Good thing is the structure

    (sessions --->>> regions --->>> windows) becomes clear, thanks again

    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
    <span style="white-space: pre-wrap; display: block; width: 98vw;">&gt; As far as I know you need to use 'Ctrl-a n' to move the screen focus
    &gt; into the next region of the split screen and then 'Ctrl-a c' to start
    &gt; a window in this split region with a shell in it. Otherwise it
    &gt; remains empty.
    &gt;
    &gt; You could also use 'Ctrl-a 0' to display the content of the first
    &gt; region of the screen in the second split region - mirroring what the
    &gt; first region shows.
    &gt;
    &gt; 'Ctrl-a tab' switches focus between regions. 'Ctrl-a n' switches the
    &gt; displayed window within a region to the next window which has an
    &gt; active shell in it, within the screen session. Instead of 'n' for
    &gt; next, or 'p' for previous, you can enter the number of the window,
    &gt; with 0 being the first window in the screen session.
    &gt;
    &gt; I'm not sure if I explained it an understandable way, but I think
    &gt; with a bit of experimentation you'll soon understand how screen
    &gt; sessions, windows with shells and split regions work.
    </span><br>
    <p>After rereading the info(gnu-screen) manual, which indeed
    clarifies that <br>
    </p>
    <p>'Ctrl-a S' will generate a blank window.</p>
    <p>It works after following your advice, thanks</p>
    <p><br>
    </p>
    <p>The gnu-screen runs a litte bit different from tmux which make me
    <br>
    </p>
    <p>confusing. Good thing is the structure</p>
    <p>(sessions ---&gt;&gt;&gt; regions ---&gt;&gt;&gt; windows)
    becomes clear, thanks again<br>
    </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)