A GNU screen might sometimes be to much of software. For attaching and de-attaching running terminal sessions there is abduco. It is a good alternative if there is only need for attaching running sessions to pickup them later, as they have finished running its task. abduco provides session management i.e. it allows programs to be run independently from their controlling terminal. That is programs can be detached - run in the background - and then later reattached. abduco serves exactly for that one particular purpose.
Create a new abduco session. Naming the new session is mandatory:
abduco -c session-name your-application
Start running midgnight commander in a abduco session, name the session TEST:
Using the abduco currently running session, detach the session using CTRL and backslash default *CTRL-* keybinding, if successful abduco will display a notice which session has been detached at the end.
abduco: TEST: detached
Show detached sessions using abduco command:
Active sessions (on host host) Mon 2022-01-03 20:54:09 emerge Mon 2022-01-03 22:13:53 TEST Mon 2022-01-03 21:14:12 IRC
Attach the TEST session using the -a command line parameter with the session name:
If successful, a midnight-commander application will appear. Now press the F10 key in the running mc session to end the session, abduco will again display the name of the session that has ended, and its exit status:
abduco: TEST: session terminated with exit status 0
A tiny GNU/screen like tool, for one purpose. session manager with de-attaching support.