Redirect output to x-window in linux?
Is it possible for a bash script to test it it's not running in a
terminal and if that's the case, pop open an x-window of some sort (in
linux) and redirect the output of the remaining commands in that script
to the x-window?
The test is easy enough: [ "$TERM" == "dumb" ]
....but I can't figure out how to redirect the output of the remaining
script commands to an x-window.
--
Dave Farrance
|