On Thu, 28 Dec 2006, Juergen Weigert wrote:
On Dec 28, 06 01:01:33 +0100, Peder Stray wrote:
On Thu, 28 Dec 2006, Peder Stray wrote:
How do a control where the -X command will go? If I wanted the
windowlist to show in term1 for example.
For your question Robert, I have no idea how you can select ther
terminal connected... can't see anything in the manpage, and can't say
i found a way doing so while trying to find a solution.
Well, if you know which window in the screen is active in the terminal,
you could use -p, but that just says to send the command to a spesific
window within screen, not which terminal connected to the screen.
Perhaps the 'at' command may help here?
at [identifier][#|*|%] command [args ... ]
If the first parameter is of the form `identifier%' identifier
is matched against displays. Displays are named after the ttys
they attach. The prefix `/dev/' or `/dev/tty' may be omitted from
the identifier.
I'd be interrested to hear, if this arcane screen command still work
properly.
That works fine here. I tried the following
screen -X at 'pts/0%' stuff foo
And 'foo' got stuffed in the right window (got pts/0 from C-a * for those
who wonder). I'll try to remember 'at' for a later time when i need some
multi-input ;)
--
Peder Stray
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users