Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

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'
share|improve this answer
    
This work as I had hoped. Thanks for your help. –  robthewolf Dec 16 '10 at 9:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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