FG
💻 Software

Moving windows between GNU screen sessions

Fresh5 days ago
Mar 15, 20261927 views
Confidence Score0%
0%

Problem

Is there a way to move windows between different screen sessions? For example lets say I have this scenario: Is there any way to move my shell containing my vim session from screen1 to screen2?

Error Output

screen -S screen1
vim *.cpp
C-a d
screen -S screen2

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Moving windows between GNU screen sessions

Low Risk

You can use injcode to move a process between ttys. To move process with PID run in target screen window: However when you close the parent Screen session, moved processes will also terminate. Edit: I was wrong, it works. Everything is described her…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment