|
From: | Michael Parson |
Subject: | Re: Is there a screen command to identify the current visible window number? |
Date: | Wed, 12 Sep 2018 13:32:10 -0500 |
User-agent: | Roundcube Webmail/1.3.6 |
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 4With the rest of the code in the middle. This should prevent the blocking.
-- Michael Parson Pflugerville, TX KF5LGQ
[Prev in Thread] | Current Thread | [Next in Thread] |