1

I need to press space in two windows at least almost simultaneously to debug my own version of more util. When i'm writing something like

: at "#" stuff " "

it is working too long (delay about 3 seconds from "command from $USER" to real space pressing) Is it possible to do it faster?

So if i have 2 windows: my own more and GNU more I wish to press space and immediately see both more's reactions

4
  • I wonder if two separate at jobs would execute simultaneously-enough? – Jeff Schaller Apr 27 '16 at 12:44
  • +- second just for usability, but less than 3s – vladimirg Apr 27 '16 at 13:34
  • I tried screen -X at '#' stuff 'date +%S.%N\n' on my gnu screen version 4.03.01 and there was only about 2millisecs difference. – meuh Apr 27 '16 at 15:05
  • What about time between this command and 'date +%S.%N\n' execution? – vladimirg Apr 27 '16 at 15:39
0

msgwait 0 is an answer to my question

UPD:

Well, i need to visual compare output from default more and my implementation. To make it faster i created session with msgwait 0, attached another terminal started new window with msgwait 0. After wait each time i calls

at "#" stuff " "

Both of them scrolls by one screen. It's all i need

Sorry for unclear question.

1
  • In what way is that an answer. Please elaborate – Anthon Apr 27 '16 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.