Re: Send break to screen

Clark Wang <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CADv8-ogHayBnR3wA3-Z0D8NNP+yFG3EqVN4TpixtaTODi88J6g@mail.gmail.com>
On Tue, Sep 27, 2016 at 3:39 PM, Colin Richardson <[email protected]>
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 " "' and
> just used -X stuff "^C" and it worked.
>
> Thank you. I got it working now with -X stuff "^C"
> No need to mess around with PID and process killing now.
>

Where is this kind of usage (stuff ^X) documented? I did not found it in
screen manual.

-clark


>
> Thank you everyone for your help.
>
> - Colin
>
> On 26 September 2016 at 18:11, Jostein Berntsen <jbernts-gyXR7Lt7FVk/[email protected]>
> 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 the first place.
>>>
>>> I am doing ` screen -S ser02 -X "^C" `
>>> But when I do ` screen -r ser02 ` node is still running.
>>> I tried a few other things such as ` ^A b ` thinking it would be using
>>> the
>>> internal screen commands.
>>>
>>>
>> Can you check if this works?
>> screen -S ser02 -X 'stuff " "'
>>
>>
>> Jostein
>>
>>
>>
>>
>> _______________________________________________
>> screen-users mailing list
>> screen-users-mXXj517/[email protected]
>> https://lists.gnu.org/mailman/listinfo/screen-users
>>
>
>
> _______________________________________________
> screen-users mailing list
> screen-users-mXXj517/[email protected]
> https://lists.gnu.org/mailman/listinfo/screen-users
>
>

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.