Re: Is there a screen command to identify the current visible window number?
张小潘 <[email protected]> Wed, 12 Sep 2018 14:40:44 -0700
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <CAPgpG2BBR2X4+QTnQZEQP6umy8oaY=fKoO3oVMVjNWE9Amdwcg@mail.gmail.com> |
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 <[email protected]> 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-mXXj517/[email protected] > https://lists.gnu.org/mailman/listinfo/screen-users > -- Xiaopan Zhang - (张小潘) _______________________________________________ screen-users mailing list screen-users-mXXj517/[email protected] https://lists.gnu.org/mailman/listinfo/screen-users