Hello, Try using the "stuff" command. So something like: screen -x <sessionName> -p <windowTitle> -X stuff "^C"
Note that the ^C sequence is a literal Ctrl+C character, so you need to input it as the sequence Ctrl+V Ctrl+C. Best regards, Gerald Young On Monday, May 21, 2012 09:54:47 AM 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. > > Looking forward to hearing from you. > > Thanks a lot! > > Kind regards, > Anatoly Varakin _______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users