about summary refs log tree commit diff
path: root/bubger.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-11 00:39:43 -0500
committerJune McEnroe <june@causal.agency>2020-12-11 00:39:43 -0500
commit9e6a0261f680886111cc536a01f271bf88bd954e (patch)
tree46ffb79f20663406e0a45e069559ad34b4450e77 /bubger.1
parentAdd imapIdle (diff)
downloadbubger-9e6a0261f680886111cc536a01f271bf88bd954e.tar.gz
bubger-9e6a0261f680886111cc536a01f271bf88bd954e.zip
Add -i to idle
And rewrite the entire main flow as separate loops with labels. I think
it's much clearer and, importantly, much less indented.
Diffstat (limited to '')
-rw-r--r--bubger.123
1 files changed, 21 insertions, 2 deletions
diff --git a/bubger.1 b/bubger.1
index d31f9b4..64007f0 100644
--- a/bubger.1
+++ b/bubger.1
@@ -1,4 +1,4 @@
-.Dd December  4, 2020
+.Dd December 10, 2020
 .Dt BUBGER 1
 .Os
 .
@@ -8,7 +8,7 @@
 .
 .Sh SYNOPSIS
 .Nm
-.Op Fl qv
+.Op Fl iqv
 .Op Fl C Ar path
 .Op Fl H Ar head
 .Op Fl S Ar search
@@ -71,6 +71,16 @@ The default host is determined by
 SRV record lookup on the domain name of
 .Ar user .
 .
+.It Fl i
+Continually wait for
+new messages in the mailbox
+using IMAP IDLE.
+Writes to
+.Pa UIDNEXT
+indicate that the
+rendered archive
+has been updated.
+.
 .It Fl m Ar addr
 Set the mailto and reply Cc address for the archive.
 The default address is
@@ -176,6 +186,15 @@ bubger -q list@example.org \e
 .Re
 .It
 .Rs
+.%A B. Leiba
+.%T IMAP4 IDLE command
+.%I IETF
+.%R RFC 2177
+.%D June 1997
+.%U https://tools.ietf.org/html/rfc2177
+.Re
+.It
+.Rs
 .%A E. Levinson
 .%T Content-ID and Message-ID Uniform Resource Locators
 .%I IETF