From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu From: Gregory Pavelcak Date: Mon, 2 Jul 2007 11:56:46 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] Abaco's Web Page Name in winwatch Topicbox-Message-UUID: 8f496276-ead2-11e9-9d60-3106f5b1d025 I realize that abaco manages multiple web pages itself, but, for reasons I won't go into, I generally launch a new small abaco window for each web page. To help this style of usage along, I've been trying to incorporate writing to /dev/label into the abaco code. I took this bit int fd; fd = open("/dev/label", OWRITE); if(fd >= 0) { write(fd, title, strlen((char *)title)); close(fd); } from plan9.c in links-varfont since links exhibits the behavior I'm looking for. I've tried using this substituting various combinations of w->tag, w->page.title, &w->tag, &w->page.title etc. for "title" and putting the lot into winsettag1 in abaco/wind.c with no luck (In most cases, either the build fails with prototype mismatch, or the build is successful, but I only get an apparently unrelated character or two in winwatch). The usual I'm-no-programmer-apologies etc. etc. Thanks for any help moving this small customization along. Greg