Thanks.

That's much nicer than what I was doing with the plumber.  It not only
updates winwatch with a new name when I stay within a single window,
but the page names, like "Plan 9 from Bell Labs" are nicer than the
plumber's argument "http://cm.bell-labs.com/plan9/";.

Greg

> label is a Runestr, not a char*.  what you want is
> 
> void
> updlabel(void)
> {
>       int fd, n;
> 
>       fd = open("/dev/label", OWRITE);
>       if(fd == -1)
>               return;
>       fprint(fd, "%#.*S", title.nr, title.r);
>       close(fd);
> }
> 
> - erik

Reply via email to