Re: Send break to screen

2016-10-03 Thread Michael Parson
On Fri, 30 Sep 2016, Clark Wang wrote: On Fri, Sep 30, 2016 at 1:30 AM, Michael Parson wrote: On Thu, 29 Sep 2016, Clark Wang wrote: Where is this kind of usage (stuff ^X) documented? I did not found it in screen manual. The 'stuff' command is in the screen manpage: stuff [string] Stuff t

Re: Send break to screen

2016-09-29 Thread Clark Wang
On Fri, Sep 30, 2016 at 1:30 AM, Michael Parson wrote: > On Thu, 29 Sep 2016, Clark Wang wrote: > >> >> Where is this kind of usage (stuff ^X) documented? I did not found it in >> screen manual. >> > > The 'stuff' command is in the screen manpage: > > stuff [string] > > Stuff the string string in

Re: Send break to screen

2016-09-29 Thread Michael Parson
On Thu, 29 Sep 2016, Clark Wang wrote: On Tue, Sep 27, 2016 at 3:39 PM, Colin Richardson wrote: @Jostein Berntsen You were so close. I started playing around with the "stuff" command you recommended and started to see a pattern forming. I eventually came to the idea of removed the single quot

Re: Send break to screen

2016-09-29 Thread Clark Wang
On Tue, Sep 27, 2016 at 3:39 PM, Colin Richardson wrote: > @Jostein Berntsen > > You were so close. I started playing around with the "stuff" command you > recommended and started to see a pattern forming. I eventually came to the > idea of removed the single quotes around your suggestion 'stuff

Re: Send break to screen

2016-09-27 Thread -dan d.
And if you name the session it is easy to do withoutknowing the pid which varies each time it is started. On Mon, 26 Sep 2016, Jim Mahood wrote: If you know the pid, simply killing it with whatever signal you want would be most efficient. On Sep 26, 2016 6:08 PM, "Jostein Berntsen" wrote:

Re: Send break to screen

2016-09-27 Thread Colin Richardson
@Jostein Berntsen You were so close. I started playing around with the "stuff" command you recommended and started to see a pattern forming. I eventually came to the idea of removed the single quotes around your suggestion 'stuff " "' and just used -X stuff "^C" and it worked. Thank you. I got it

Re: Send break to screen

2016-09-26 Thread Jim Mahood
If you know the pid, simply killing it with whatever signal you want would be most efficient. On Sep 26, 2016 6:08 PM, "Jostein Berntsen" wrote: > On 26.09.16,19:11, Jostein Berntsen wrote: > >> On 26.09.16,14:17, Colin Richardson wrote: >> >>> I am attempting to break a nodejs application that

Re: Send break to screen

2016-09-26 Thread Jostein Berntsen
On 26.09.16,19:11, Jostein Berntsen wrote: On 26.09.16,14:17, Colin Richardson wrote: I am attempting to break a nodejs application that is running in a detached screen. (From another screen nodejs application). But I am falling over at the first hurdle in just trying to send a break command in

Re: Send break to screen

2016-09-26 Thread Jostein Berntsen
On 26.09.16,14:17, Colin Richardson wrote: I am attempting to break a nodejs application that is running in a detached screen. (From another screen nodejs application). But I am falling over at the first hurdle in just trying to send a break command in the first place. I am doing ` screen -S se

Send break to screen

2016-09-26 Thread Colin Richardson
I am attempting to break a nodejs application that is running in a detached screen. (From another screen nodejs application). But I am falling over at the first hurdle in just trying to send a break command in the first place. I am doing ` screen -S ser02 -X "^C" ` But when I do ` screen -r ser02