I have a couple of scripts that I run in the background and redirect
the output to /dev/tty0 (the current console).
What I'd like to do is redirect output to the current pty device, but
there's a problem. /dev/tty0 is the current console whether it's
/dev/tty1, /dev/tty2 or /dev/tty15; /dev/pts/0 on the other hand
refers to a single terminal. Do you get what I mean?
How do I redirect the output of a backgrounded process to a particular
XTerm when I don't know in advance what device that XTerm is attached
to?
Would it be possible to give the XTerm a certain title (xterm
--title="Script Output") and then redirect to that XTerm using the
title? How would you go about it?
===========================
Want to really learn Linux?
... Install Slackware
===========================
--
|---<Regards, Steve Youngs>-----------[GnuPG KeyID: EFD82ED2]---|
| Genius is the ability to |
| reduce the complicated to the simple |
|-----------------------------<mailto:[EMAIL PROTECTED]>---|
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs