I'm regularly wanting to transport some text from a vt
to an xterm window so I wrote a little function :
toX () { echo "$*" >/dev/pts/1 }
only to find that when xwindows/icewm starts up it doesn't
always open windows in the same order.
In .xsession I open 5 windows when I launch X, one plain,
one with mc in it, one with 'tail -f /var/log/messages',
xclock and Firefox.
From 'ps -auwx' I can tell which pid is associated with the
window I want but don't see how that will help.
Is there a way from the CL to detect which pts is the plain
xterm window or to cause X to open the windows in a specified
order?
Thanks,
Mike
--
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20110912153446.GA19504@playground