[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird problem using 'hardcopy' -> Blank screen when never opened in
Re: Weird problem using 'hardcopy' -> Blank screen when never opened in real terminal
Thu, 6 Sep 2007 14:14:57 -0700 (PDT)
Man, I was running into the same problem, but looked around some more, and
screen -dmS test my_interactive_program
screen -S test -p 0 -X hardcopy /tmp/my_dump
will work just fine. The clue here is -p 0, which means "send this command
to window 0"
This is what you were missing. When you attach with screen -x, you force
screen to select a default window (probably number 0), and so your
subsequent hardcopy commands start working.
("Getting the contents of a window")
I just wanted to let you know that I found a workaround for this problem,
and make sure it is documented here for future references of others who
might have the same problem. I found several references to this problem on
the internet (Some dating back as far as 2004) but no solutions or
View this message in context:
Sent from the Gnu - Screen mailing list archive at Nabble.com.
|[Prev in Thread]
||[Next in Thread]|
- Re: Weird problem using 'hardcopy' -> Blank screen when never opened in real terminal,