The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Screen"
(initial commit so users can observe remote ssh login users over hamachi vpn techniques to fix hangups. =D) |
|||
Line 1: | Line 1: | ||
Screen is a useful terminal multiplexer. | Screen is a useful terminal multiplexer. This means that when installed, you can start {{c|screen}} and create virtual terminals, and switch between them using a special command sequence. | ||
{{console|body= | {{console|body= | ||
###i## emerge app-misc/screen | ###i## emerge app-misc/screen | ||
}} | }} | ||
To start a new screen session and make it active: | |||
{{console|body= | |||
###i## screen | |||
%in-screen% | |||
}} | |||
You are now "inside" a screen session. You can now create new virtual terminals by pressing Ctrl-A C, and use Ctrl-A N to cycle between them. Press Ctrl-A D to "detach" from your session. Your virtual terminals will keep running in the background. To re-attach to your session, type: | |||
{{console|body= | |||
###i## screen -r -d | |||
%in-screen% | |||
}} | |||
== Advanced Usage == | |||
Start a named detached session: | Start a named detached session: |
Revision as of 16:54, October 27, 2020
Screen is a useful terminal multiplexer. This means that when installed, you can start screen
and create virtual terminals, and switch between them using a special command sequence.
root # emerge app-misc/screen
To start a new screen session and make it active:
root # screen in-screen #
You are now "inside" a screen session. You can now create new virtual terminals by pressing Ctrl-A C, and use Ctrl-A N to cycle between them. Press Ctrl-A D to "detach" from your session. Your virtual terminals will keep running in the background. To re-attach to your session, type:
root # screen -r -d in-screen #
Advanced Usage
Start a named detached session:
root # screen -d -m -S funtoo
Attach to a named session, multiple clients may connect at the same time:
root # screen -x funtoo
kill all screens and dump back into good old bash:
root # ctrl +a :quit