GNU Screen: how to automatically unsplit once the shell exits?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
How to reproduce (note: suppose C-a
is the prefix):
- Spawn GNU Screen.
- Create a horizontal split (
C-a S
). - Switch to the newly created split (
C-a o
). - Spawn a shell (
C-a c
). - Now exit from this shell. Type
exit
or hitCtrl-D
.
Observed behavior: the bottom split becomes empty, with no shell process, but it remains open.
Desired behavior: the bottom split automatically closes once the shell exits, and there's only one view (split) in screen
.
Is there any configuration to add to ~/.screenrc
to achieve the desired behavior?
Similar question: https://stackoverflow.com/questions/40234457/gnu-screen-close-windows-when-command-terminates
gnu-screen
add a comment |Â
up vote
0
down vote
favorite
How to reproduce (note: suppose C-a
is the prefix):
- Spawn GNU Screen.
- Create a horizontal split (
C-a S
). - Switch to the newly created split (
C-a o
). - Spawn a shell (
C-a c
). - Now exit from this shell. Type
exit
or hitCtrl-D
.
Observed behavior: the bottom split becomes empty, with no shell process, but it remains open.
Desired behavior: the bottom split automatically closes once the shell exits, and there's only one view (split) in screen
.
Is there any configuration to add to ~/.screenrc
to achieve the desired behavior?
Similar question: https://stackoverflow.com/questions/40234457/gnu-screen-close-windows-when-command-terminates
gnu-screen
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How to reproduce (note: suppose C-a
is the prefix):
- Spawn GNU Screen.
- Create a horizontal split (
C-a S
). - Switch to the newly created split (
C-a o
). - Spawn a shell (
C-a c
). - Now exit from this shell. Type
exit
or hitCtrl-D
.
Observed behavior: the bottom split becomes empty, with no shell process, but it remains open.
Desired behavior: the bottom split automatically closes once the shell exits, and there's only one view (split) in screen
.
Is there any configuration to add to ~/.screenrc
to achieve the desired behavior?
Similar question: https://stackoverflow.com/questions/40234457/gnu-screen-close-windows-when-command-terminates
gnu-screen
How to reproduce (note: suppose C-a
is the prefix):
- Spawn GNU Screen.
- Create a horizontal split (
C-a S
). - Switch to the newly created split (
C-a o
). - Spawn a shell (
C-a c
). - Now exit from this shell. Type
exit
or hitCtrl-D
.
Observed behavior: the bottom split becomes empty, with no shell process, but it remains open.
Desired behavior: the bottom split automatically closes once the shell exits, and there's only one view (split) in screen
.
Is there any configuration to add to ~/.screenrc
to achieve the desired behavior?
Similar question: https://stackoverflow.com/questions/40234457/gnu-screen-close-windows-when-command-terminates
gnu-screen
gnu-screen
asked 4 mins ago
thiagowfx
726412
726412
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475714%2fgnu-screen-how-to-automatically-unsplit-once-the-shell-exits%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password