On Mon, Jun 20, 2011 at 09:24:25AM -0400, Andrew Hills wrote:
> On Mon, Jun 20, 2011 at 8:40 AM, Kurt Van Dijck <kurt.van.dijck_AT_eia.be> wrote:
> > I missed (and still do not see)
> > how to make xsetroot(1) read from stdin, line by line.
>
> xsetroot -name "`my_commands_that_write_to_stdout`"
>
> > That's why (I thought) that scripts spawn xsetroot(1) each time.
>
> They wouldn't need to run your C program each time?
it would do
$ while true; do my_commands_that_write_to_stdout; done | stdin2xroot
as a replacement,
and when my_commands_that_write_to_stdout would be a single program
that emits a line every now & then, you would not spawn processes at all.
That indeed is the only advantage of my program :-)
>
> --Andrew Hills
>
Received on Mon Jun 20 2011 - 16:14:30 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 20 2011 - 16:24:02 CEST