💻 Software
GNU Screen: Can't stuff commands unless the screen is attached?
Fresh5 days ago
Mar 15, 20266449 viewsConfidence Score0%
0%
Problem
I have the following script unless I attach the screen first it seems the affects of stuff won't do anything? Why is this and how can I modify this script so I don't need to attach the screen?
Error Output
screen -d -m -S $1 #start screen minimized screen -S $1 -X stuff "$beast " #stuff commands
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: GNU Screen: Can't stuff commands unless the screen is attached?
Low Risk
When you start a Screen session in detached mode ( ), no window is selected, so input later sent with is just lost. You need to explicitly specify that you want to send the keystrokes to window 0 ( ). This is a good idea anyway, in case you happen t…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix