On Mon, 21 May 2012, Anatoly Varakin wrote:

Dear community,

Would you please let me know how one could send programmatically the
Ctrl-C keystroke, needed for breaking the current application, into
a specific window of a particular screen session? The "screen -x
<sessionName> -p <windowTitle> -X break" command, which could make
this, as one might suppose, does not work really.

screen -X at "<sessionName>" stuff "C-v C-c"

Where you hit a literal control-v control-c.

First you'll see the ^V then ^C will replace it, on your shell prompt
(or in your editor), you should see something like:

$ screen -X at "test" stuff "^C"

--
Michael Parson
Unix Thug
Austin, TX
KF5LGQ

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to