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 wrote:
> On 2018-09-12 13:14, 张小潘 wrote:
> > Hi Neal and FLJ,
> >
> > I noticed that the command "s
On 2018-09-12 13:14, 张小潘 wrote:
Hi Neal and FLJ,
I noticed that the command "screen -S -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 scr
Hi Neal and FLJ,
I noticed that the command "screen -S -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
Yes,
/usr/bin/screen -S -p -X eval "readbuf" "paste ."
does the trick. Thank you very much!
On Wed, Sep 12, 2018 at 9:24 AM Neal Fultz wrote:
> I use eval to send the readbuf and paste commands at the same time, and
> the message doesnt appear for me.
>
> I think eval can skip those types of
I use eval to send the readbuf and paste commands at the same time, and the
message doesnt appear for me.
I think eval can skip those types of messages when there are multiple
commands.
On Wed, Sep 12, 2018 at 8:51 AM 张小潘 wrote:
> Hi Neal,
>
> I tried to change my vim script by using the "readb
Hi Neal,
I tried to change my vim script by using the "readbuf" and "paste"
commands, and I immediately noticed that the message "Slurped XXX
characters into buffer" issued by the "readbuf" is very annoying, and it
actually pause the remote screen a little bit, I tried '-q' but it does not
help. H
Great, "screen -S session -Q number" is exactly what I want.
Thanks to FLJ for the tip and yes, Neal's clarification about "focus" vs
"visible" is correct, the thing I actually is the number of the window who
has the focus now.
On Wed, Sep 12, 2018 at 7:48 AM Neal Fultz wrote:
> Also IIRC the n
Also IIRC the number command gives the number of the process which has
focus - if you use splits more than one may be visible, but only one has
focus at a time.
On Wed, Sep 12, 2018 at 5:52 AM FLJ wrote:
> Hello Xiaopan,
>
> perhaps I misunderstood, but at least on recent version of Ubuntu,
> R
Hello Xiaopan,
perhaps I misunderstood, but at least on recent version of Ubuntu, Raspbian
and OpenWrt you have:
* -Q* Some commands now can be queried from a remote session using this
flag, e.g. "screen -Q windows". The commands will send
the
response to the