9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Gregory Pavelcak <g.pavelcak@comcast.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Abaco's Web Page Name in winwatch
Date: Mon,  2 Jul 2007 12:37:58 -0400	[thread overview]
Message-ID: <79889d713ba2ea42105de3d931abe948@comcast.net> (raw)
In-Reply-To: <efe3703e96ee223a3c13fc6ea33369e0@coraid.com>

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	other threads:[~2007-07-02 16:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-02 15:56 Gregory Pavelcak
2007-07-02 16:05 ` David Leimbach
2007-07-02 16:14   ` Gregory Pavelcak
2007-07-02 16:15 ` erik quanstrom
2007-07-02 16:37   ` Gregory Pavelcak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79889d713ba2ea42105de3d931abe948@comcast.net \
    --to=g.pavelcak@comcast.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).