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

Michael Parson <[email protected]> Wed, 12 Sep 2018 13:32:10 -0500
Newsgroups gmane.comp.gnu.screen.user
Organization BL dot ORG
Message-ID <[email protected]>
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
[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users