9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Michael Grunditz" <micken@privat.utfors.se>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] I still dont understand...
Date: Mon, 16 Jul 2001 22:00:30 +0200	[thread overview]
Message-ID: <002e01c10e31$f73756f0$0100a8c0@winserv> (raw)
In-Reply-To: <024301c10e32$85ca8400$3cf7c6d4@SOMA>

I agree , I will try that if I get the first things to go well... :)

/Michael
----- Original Message -----
From: "Boyd Roberts" <boyd@fr.inter.net>
To: <9fans@cse.psu.edu>
Sent: Monday, July 16, 2001 10:04 PM
Subject: Re: [9fans] I still dont understand...


> From: "David Gordon Hogan" <dhog@plan9.bell-labs.com>
> > Note that there is another bug -- upas/fs
> > will die if your POP mbox has 0 messages.  I haven't got
> > around to fixing that.
>
> can't be too hard to fix.
>
> i assume it issues a STAT.  this is how you do it in limbo:
>
> -     (e, s) = request(CMD_STAT, nil);
> - case e {
> - ERR =>
> - return(s, big 0);
> - OK =>
> - if (debug)
> - sys->print("%s\n", s);
> - }
> -
> - messages := big 0;
> - size := big 0;
> - (n, l) := sys->tokenize(s, " ");
> - case n {
> - 1 =>
> - sys->print("%d message%s for '%s@%s', maildrop size unknown.\n", int
messages, plural(messages), user, host);
> - messages = big hd l;
> -
> - 2 =>
> - messages = big hd l;
> - size = big hd tl l;
> -
> - * =>
> - return (sys->sprint("unknown number of messages for '%s@%s'.\n", user,
host), big 0);
> - }
>
> then loop over messages.
>
>



  reply	other threads:[~2001-07-16 20:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-16 19:53 David Gordon Hogan
2001-07-16 19:58 ` Michael Grunditz
2001-07-16 20:02   ` Michael Grunditz
2001-07-16 20:04 ` Boyd Roberts
2001-07-16 20:00   ` Michael Grunditz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-07-16 20:39 David Gordon Hogan
2001-07-17  0:55 ` Boyd Roberts
2001-07-16 20:33 David Gordon Hogan
2001-07-16 19:33 Michael Grunditz

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='002e01c10e31$f73756f0$0100a8c0@winserv' \
    --to=micken@privat.utfors.se \
    --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).