9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "David Leimbach" <leimy2k@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Abaco's Web Page Name in winwatch
Date: Mon,  2 Jul 2007 09:05:52 -0700	[thread overview]
Message-ID: <3e1162e60707020905n44fdd147x72bf3c3206c5d36@mail.gmail.com> (raw)
In-Reply-To: <fa0673f0fd952b82990697c005e9ed5a@comcast.net>

[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]

I use winwatch with my plan 9 box (when it's running) to manage something
like virtual desktops with sub-rio sessions.  Winwatch actually helps me
manage the sub-rio's.
I just have a bunch of rc scripts edit /dev/label via echo etc.  I don't
bother with C coding unless I absolutely have to on Plan 9.

Dave

On 7/2/07, Gregory Pavelcak <g.pavelcak@comcast.net> wrote:
>
> 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
>
>


-- 
- Passage Matthew 5:37:
   But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil.

[-- Attachment #2: Type: text/html, Size: 2427 bytes --]

  reply	other threads:[~2007-07-02 16:05 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 [this message]
2007-07-02 16:14   ` Gregory Pavelcak
2007-07-02 16:15 ` erik quanstrom
2007-07-02 16:37   ` Gregory Pavelcak

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=3e1162e60707020905n44fdd147x72bf3c3206c5d36@mail.gmail.com \
    --to=leimy2k@gmail.com \
    --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).