Hi Michael,

Ah, "msgwait 0" does the trick! Thank you very much.

screen is  really a piece of amazing software, it has so many features.

Regards.

On Wed, Sep 12, 2018 at 11:32 AM Michael Parson <mpar...@bl.org> wrote:

> On 2018-09-12 13:14, 张小潘 wrote:
> > Hi Neal and FLJ,
> >
> > I noticed that the command "screen -S <target-session> -Q number" will
> > not only print the current focused window number on the terminal
> > running this command, but also pops up a message on the target screen
> > session, and that popup message will block the target screen session
> > to take any input for a few seconds. Is there a way that we can
> > suppress that popup message?
>
> For any scripts I write for automating stuff in screen, I always set the
> 'msgwait' to '0':
>
> screen -X msgwait 0
> ...
> screen -X msgwait 4
>
> With the rest of the code in the middle.  This should prevent the
> blocking.
>
> --
> Michael Parson
> Pflugerville, TX
> KF5LGQ
>
> _______________________________________________
> screen-users mailing list
> screen-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/screen-users
>


-- 
Xiaopan Zhang - (张小潘)
_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to