On 2/15/07, Henrique Niwa <[EMAIL PROTECTED]> wrote:

hi,
Sometime ago i saw an email from the list explaining
how to send commands to matching windows.
like, for windows named sh send command xyz
i accomplished some results using the stuff command,
but i could not replicate the enter key, nor send it
to multiple windows matching some pattern.
Does anybody knows the correct syntax of the command?



You can also use the -X param.  So if I had two different instances of
screen running, one of them had sessionname set to FooScreen, I would send a
command like:

screen -S FooScreen -X select 1

This would cause screen 1 to be selected within the FooScreen instance.

--
Andy Harrison
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to