How can I send a interrupt to a window within screen. I have screen running with several windows. Each of the windows have processes running within them. I wish to be able to send and interrupt to a specific window ie ctrl+c. I wish to do this without killing the window itself. My other options is to look up the process ID and do kill -INT

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

I would do it with kill -INT, but this should work as well:

screen -S sessionid -X stuff $'\cc'
link|improve this answer
This work as I had hoped. Thanks for your help. – robthewolf Dec 16 '10 at 9:05
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.