screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a screen command to identify the current visible window num


From: 张小潘
Subject: Re: Is there a screen command to identify the current visible window number?
Date: Wed, 12 Sep 2018 14:40:44 -0700

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 <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/screen-users


--
Xiaopan Zhang - (张小潘)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]