On my local machine, what can Screen bring, which a terminal emulator or nohup/disown can't?











up vote
-2
down vote

favorite












GNU Screen is a terminal multiplexer, which provides




Persistence: Similar to VNC, many terminal multiplexers allow the user
to start applications from one computer, and then reconnect from a
different computer and continue using the same application without
having to restart it.



Multiple windows: Multiple terminal sessions can be created, each
of which usually runs a single application.



Session Sharing: Terminal multiplexers allow multiple computers to
connect to the same session at once, enabling collaboration between
multiple users.




On my local machine, what can a terminal muplitplexer such as Screen bring to me, which a terminal emulator and nohup/disown can't?




  • On a local machine, I don't have to worry about unstable network connection between computer and terminal, and don't have to share session with other users.


  • I can use nohup or disown, if I want to make a process survive the termination of its parent, or something else.


  • On a terminal emulator, can I just open multiple tabs for multiplexing? Also I think emacs can do that too.



Most if not all of the features that I am interested in are listed above.



I am not questioning the usefulness of Screen. I am trying to know when I can make use of it, such as case where nohup/disown/setsid does not work.










share|improve this question




















  • 1




    The question is unclear. Do you want to be convinced by someone to use screen?
    – Kusalananda
    Nov 27 at 19:59










  • ... or tmux, which you might know better.
    – Tim
    Nov 27 at 20:03












  • @whoever If you don't understand my post, it is completely okay. Just don't close it, and at least give others a chance.
    – Tim
    Nov 27 at 20:07








  • 2




    It's just that it seems to ask "X does these things, which I can already do. Why should I be using X?". This is asking for opinions, IMHO.
    – Kusalananda
    Nov 27 at 20:09






  • 3




    The main use case for screen or tmux is when you need to re-attach to an existing session (e.g. one with a long-running job) because the network connection etc. was interrupted. On a local-only machine, it's difficult to imagine a scenario where this will happen. The other features are just icing on the cake, and nice to have, but you surely can do it in other ways.
    – dirkt
    Nov 28 at 8:16















up vote
-2
down vote

favorite












GNU Screen is a terminal multiplexer, which provides




Persistence: Similar to VNC, many terminal multiplexers allow the user
to start applications from one computer, and then reconnect from a
different computer and continue using the same application without
having to restart it.



Multiple windows: Multiple terminal sessions can be created, each
of which usually runs a single application.



Session Sharing: Terminal multiplexers allow multiple computers to
connect to the same session at once, enabling collaboration between
multiple users.




On my local machine, what can a terminal muplitplexer such as Screen bring to me, which a terminal emulator and nohup/disown can't?




  • On a local machine, I don't have to worry about unstable network connection between computer and terminal, and don't have to share session with other users.


  • I can use nohup or disown, if I want to make a process survive the termination of its parent, or something else.


  • On a terminal emulator, can I just open multiple tabs for multiplexing? Also I think emacs can do that too.



Most if not all of the features that I am interested in are listed above.



I am not questioning the usefulness of Screen. I am trying to know when I can make use of it, such as case where nohup/disown/setsid does not work.










share|improve this question




















  • 1




    The question is unclear. Do you want to be convinced by someone to use screen?
    – Kusalananda
    Nov 27 at 19:59










  • ... or tmux, which you might know better.
    – Tim
    Nov 27 at 20:03












  • @whoever If you don't understand my post, it is completely okay. Just don't close it, and at least give others a chance.
    – Tim
    Nov 27 at 20:07








  • 2




    It's just that it seems to ask "X does these things, which I can already do. Why should I be using X?". This is asking for opinions, IMHO.
    – Kusalananda
    Nov 27 at 20:09






  • 3




    The main use case for screen or tmux is when you need to re-attach to an existing session (e.g. one with a long-running job) because the network connection etc. was interrupted. On a local-only machine, it's difficult to imagine a scenario where this will happen. The other features are just icing on the cake, and nice to have, but you surely can do it in other ways.
    – dirkt
    Nov 28 at 8:16













up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











GNU Screen is a terminal multiplexer, which provides




Persistence: Similar to VNC, many terminal multiplexers allow the user
to start applications from one computer, and then reconnect from a
different computer and continue using the same application without
having to restart it.



Multiple windows: Multiple terminal sessions can be created, each
of which usually runs a single application.



Session Sharing: Terminal multiplexers allow multiple computers to
connect to the same session at once, enabling collaboration between
multiple users.




On my local machine, what can a terminal muplitplexer such as Screen bring to me, which a terminal emulator and nohup/disown can't?




  • On a local machine, I don't have to worry about unstable network connection between computer and terminal, and don't have to share session with other users.


  • I can use nohup or disown, if I want to make a process survive the termination of its parent, or something else.


  • On a terminal emulator, can I just open multiple tabs for multiplexing? Also I think emacs can do that too.



Most if not all of the features that I am interested in are listed above.



I am not questioning the usefulness of Screen. I am trying to know when I can make use of it, such as case where nohup/disown/setsid does not work.










share|improve this question















GNU Screen is a terminal multiplexer, which provides




Persistence: Similar to VNC, many terminal multiplexers allow the user
to start applications from one computer, and then reconnect from a
different computer and continue using the same application without
having to restart it.



Multiple windows: Multiple terminal sessions can be created, each
of which usually runs a single application.



Session Sharing: Terminal multiplexers allow multiple computers to
connect to the same session at once, enabling collaboration between
multiple users.




On my local machine, what can a terminal muplitplexer such as Screen bring to me, which a terminal emulator and nohup/disown can't?




  • On a local machine, I don't have to worry about unstable network connection between computer and terminal, and don't have to share session with other users.


  • I can use nohup or disown, if I want to make a process survive the termination of its parent, or something else.


  • On a terminal emulator, can I just open multiple tabs for multiplexing? Also I think emacs can do that too.



Most if not all of the features that I am interested in are listed above.



I am not questioning the usefulness of Screen. I am trying to know when I can make use of it, such as case where nohup/disown/setsid does not work.







gnu-screen terminal-emulator terminal-multiplexer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 29 at 14:42









Rui F Ribeiro

38.4k1478127




38.4k1478127










asked Nov 27 at 19:30









Tim

25.3k72243446




25.3k72243446








  • 1




    The question is unclear. Do you want to be convinced by someone to use screen?
    – Kusalananda
    Nov 27 at 19:59










  • ... or tmux, which you might know better.
    – Tim
    Nov 27 at 20:03












  • @whoever If you don't understand my post, it is completely okay. Just don't close it, and at least give others a chance.
    – Tim
    Nov 27 at 20:07








  • 2




    It's just that it seems to ask "X does these things, which I can already do. Why should I be using X?". This is asking for opinions, IMHO.
    – Kusalananda
    Nov 27 at 20:09






  • 3




    The main use case for screen or tmux is when you need to re-attach to an existing session (e.g. one with a long-running job) because the network connection etc. was interrupted. On a local-only machine, it's difficult to imagine a scenario where this will happen. The other features are just icing on the cake, and nice to have, but you surely can do it in other ways.
    – dirkt
    Nov 28 at 8:16














  • 1




    The question is unclear. Do you want to be convinced by someone to use screen?
    – Kusalananda
    Nov 27 at 19:59










  • ... or tmux, which you might know better.
    – Tim
    Nov 27 at 20:03












  • @whoever If you don't understand my post, it is completely okay. Just don't close it, and at least give others a chance.
    – Tim
    Nov 27 at 20:07








  • 2




    It's just that it seems to ask "X does these things, which I can already do. Why should I be using X?". This is asking for opinions, IMHO.
    – Kusalananda
    Nov 27 at 20:09






  • 3




    The main use case for screen or tmux is when you need to re-attach to an existing session (e.g. one with a long-running job) because the network connection etc. was interrupted. On a local-only machine, it's difficult to imagine a scenario where this will happen. The other features are just icing on the cake, and nice to have, but you surely can do it in other ways.
    – dirkt
    Nov 28 at 8:16








1




1




The question is unclear. Do you want to be convinced by someone to use screen?
– Kusalananda
Nov 27 at 19:59




The question is unclear. Do you want to be convinced by someone to use screen?
– Kusalananda
Nov 27 at 19:59












... or tmux, which you might know better.
– Tim
Nov 27 at 20:03






... or tmux, which you might know better.
– Tim
Nov 27 at 20:03














@whoever If you don't understand my post, it is completely okay. Just don't close it, and at least give others a chance.
– Tim
Nov 27 at 20:07






@whoever If you don't understand my post, it is completely okay. Just don't close it, and at least give others a chance.
– Tim
Nov 27 at 20:07






2




2




It's just that it seems to ask "X does these things, which I can already do. Why should I be using X?". This is asking for opinions, IMHO.
– Kusalananda
Nov 27 at 20:09




It's just that it seems to ask "X does these things, which I can already do. Why should I be using X?". This is asking for opinions, IMHO.
– Kusalananda
Nov 27 at 20:09




3




3




The main use case for screen or tmux is when you need to re-attach to an existing session (e.g. one with a long-running job) because the network connection etc. was interrupted. On a local-only machine, it's difficult to imagine a scenario where this will happen. The other features are just icing on the cake, and nice to have, but you surely can do it in other ways.
– dirkt
Nov 28 at 8:16




The main use case for screen or tmux is when you need to re-attach to an existing session (e.g. one with a long-running job) because the network connection etc. was interrupted. On a local-only machine, it's difficult to imagine a scenario where this will happen. The other features are just icing on the cake, and nice to have, but you surely can do it in other ways.
– dirkt
Nov 28 at 8:16










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted











On a local machine, I don't have to worry about unstable network
connection between computer and terminal, and don't have to share
session with other users.




But you can always close your terminal window inadvertently. Or you
can restart your X server.




I can use nohup or disown, if I want to make a process survive the
termination of its parent, or something else.




But you cannot enter input if program requested that.




On a terminal emulator, can I just open multiple tabs for
multiplexing? Also I think emacs can do that too.




Yes, you can do that.



Off the top of my head, GNU screen also gives you:




  • ability to select and copy text to X clipboard without using a mouse


  • ability to select and copy and paste text between screen windows
    without using a mouse


  • ability to search for a string on the screen without using a mouse


  • serial console emulator but of you course you can use other programs such as minicom for that purpose.







share|improve this answer

















  • 1




    To add on to one of your points: nohup/disown are about removing a program from your terminal, but screen is (or, can be) about removing a program from your terminal and possibly bringing it back later
    – Fox
    Nov 27 at 20:07











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484499%2fon-my-local-machine-what-can-screen-bring-which-a-terminal-emulator-or-nohup-d%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted











On a local machine, I don't have to worry about unstable network
connection between computer and terminal, and don't have to share
session with other users.




But you can always close your terminal window inadvertently. Or you
can restart your X server.




I can use nohup or disown, if I want to make a process survive the
termination of its parent, or something else.




But you cannot enter input if program requested that.




On a terminal emulator, can I just open multiple tabs for
multiplexing? Also I think emacs can do that too.




Yes, you can do that.



Off the top of my head, GNU screen also gives you:




  • ability to select and copy text to X clipboard without using a mouse


  • ability to select and copy and paste text between screen windows
    without using a mouse


  • ability to search for a string on the screen without using a mouse


  • serial console emulator but of you course you can use other programs such as minicom for that purpose.







share|improve this answer

















  • 1




    To add on to one of your points: nohup/disown are about removing a program from your terminal, but screen is (or, can be) about removing a program from your terminal and possibly bringing it back later
    – Fox
    Nov 27 at 20:07















up vote
2
down vote



accepted











On a local machine, I don't have to worry about unstable network
connection between computer and terminal, and don't have to share
session with other users.




But you can always close your terminal window inadvertently. Or you
can restart your X server.




I can use nohup or disown, if I want to make a process survive the
termination of its parent, or something else.




But you cannot enter input if program requested that.




On a terminal emulator, can I just open multiple tabs for
multiplexing? Also I think emacs can do that too.




Yes, you can do that.



Off the top of my head, GNU screen also gives you:




  • ability to select and copy text to X clipboard without using a mouse


  • ability to select and copy and paste text between screen windows
    without using a mouse


  • ability to search for a string on the screen without using a mouse


  • serial console emulator but of you course you can use other programs such as minicom for that purpose.







share|improve this answer

















  • 1




    To add on to one of your points: nohup/disown are about removing a program from your terminal, but screen is (or, can be) about removing a program from your terminal and possibly bringing it back later
    – Fox
    Nov 27 at 20:07













up vote
2
down vote



accepted







up vote
2
down vote



accepted







On a local machine, I don't have to worry about unstable network
connection between computer and terminal, and don't have to share
session with other users.




But you can always close your terminal window inadvertently. Or you
can restart your X server.




I can use nohup or disown, if I want to make a process survive the
termination of its parent, or something else.




But you cannot enter input if program requested that.




On a terminal emulator, can I just open multiple tabs for
multiplexing? Also I think emacs can do that too.




Yes, you can do that.



Off the top of my head, GNU screen also gives you:




  • ability to select and copy text to X clipboard without using a mouse


  • ability to select and copy and paste text between screen windows
    without using a mouse


  • ability to search for a string on the screen without using a mouse


  • serial console emulator but of you course you can use other programs such as minicom for that purpose.







share|improve this answer













On a local machine, I don't have to worry about unstable network
connection between computer and terminal, and don't have to share
session with other users.




But you can always close your terminal window inadvertently. Or you
can restart your X server.




I can use nohup or disown, if I want to make a process survive the
termination of its parent, or something else.




But you cannot enter input if program requested that.




On a terminal emulator, can I just open multiple tabs for
multiplexing? Also I think emacs can do that too.




Yes, you can do that.



Off the top of my head, GNU screen also gives you:




  • ability to select and copy text to X clipboard without using a mouse


  • ability to select and copy and paste text between screen windows
    without using a mouse


  • ability to search for a string on the screen without using a mouse


  • serial console emulator but of you course you can use other programs such as minicom for that purpose.








share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 27 at 20:00









Arkadiusz Drabczyk

7,70021734




7,70021734








  • 1




    To add on to one of your points: nohup/disown are about removing a program from your terminal, but screen is (or, can be) about removing a program from your terminal and possibly bringing it back later
    – Fox
    Nov 27 at 20:07














  • 1




    To add on to one of your points: nohup/disown are about removing a program from your terminal, but screen is (or, can be) about removing a program from your terminal and possibly bringing it back later
    – Fox
    Nov 27 at 20:07








1




1




To add on to one of your points: nohup/disown are about removing a program from your terminal, but screen is (or, can be) about removing a program from your terminal and possibly bringing it back later
– Fox
Nov 27 at 20:07




To add on to one of your points: nohup/disown are about removing a program from your terminal, but screen is (or, can be) about removing a program from your terminal and possibly bringing it back later
– Fox
Nov 27 at 20:07


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484499%2fon-my-local-machine-what-can-screen-bring-which-a-terminal-emulator-or-nohup-d%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre