Re: Redirect output to x-window in linux?
Jon LaBadie <jxlabadie@axcxmx.org> wrote:
>Dave Farrance wrote:
>> Looks good in principle, but doesn't work here for some reason. I tried:
>>
>> { echo 1; echo 2; } | xterm -hold -e cat
>>
>> ... in both Mandriva 2006 and Ubuntu 6.06 and although the xterm window
>> opened, it remained completely blank.
>
>mkfifo FIFO
>xterm -hold -e 'cat FIFO' &
>{commands generating data} > FIFO
Thanks. That's an improvement in that it works in Ubuntu 6.06, but not
in Mandriva 2006. Maybe I should update the latter to the Mandriva 2007
beta anyway.
--
Dave Farrance
|