Subject: [sup-talk] Using sup on multiple computers?

From: [email-masked] (Michael Stapelberg)
Date: Fri, 10 Jul 2009 02:38:25 +0200

Hi,

I?d like to use sup on my notebook and on my workstation. Is there any
simple/recommended way to synchronize the index? I figured using multiple
clients in parallel is one of the big advantages of IMAP and I?d love to keep
it that way while using sup.

Best regards,
Michael

---

From: [email-masked] (Edward Z. Yang)
Date: Thu, 09 Jul 2009 22:57:14 -0400

> it that way while using sup.

The easiest way is to not; since Sup is a command line application, it's trivial
to spin it up on a server you have access to and simply SSH in to check your
mail.

Cheers,
Edward

---

From: [email-masked] (Jonathan Lassoff)
Date: Thu, 09 Jul 2009 20:03:22 -0700

Excerpts from Michael Stapelberg's message of Thu Jul 09 17:38:25 -0700 2009:
> Hi,
> 
> I'd like to use sup on my notebook and on my workstation. Is there any
> simple/recommended way to synchronize the index?

As far as I know, this isn't supported in sup yet.

One way I work around this to use sup on two machines is that I know my
access is mutually exclusive i.e. I don't use more than one host at
once.

So, when I switch from one host to another, I quit sup and rsync my ~/.sup to the
machine I'm moving to and rysnc it back again when I return.
Hacky, but functional enough.

Cheers,
jonathan

---

From: [email-masked] (Michael Stapelberg)
Date: Fri, 10 Jul 2009 12:59:42 +0200

Hi,

> to spin it up on a server you have access to and simply SSH in to check your
I?ve been using mutt like this for about a year or so but I generally
don?t want to continue with this approach. It has the disadvantage of
having the need to copy attachments to your computer before being able
to display them (think of PDFs) and of not scaling well when on a slow
internet connection (IMAP traffic is less than a whole user interface).

Best regards,
Michael

---

From: [email-masked] (Andrei Thorp)
Date: Fri, 10 Jul 2009 10:30:40 -0400

> access is mutually exclusive i.e. I don't use more than one host at

The smarter way of doing this is to keep your .sup on a remote server as
a share and mount it onto the right place in your home when you log in.
This still has the disadvantage of only being able to use one sup at a
time, but at least sup will lock the index using its lockfile, so you
can't accidentally run two at once and screw something up.

It also prevents you from having to manually rsync stuff.

The nicest way to do this would to probably use sshfs. This way, the
index is shared, you only need ssh (no NFS nastiness), it can mount
automatically, and since sup is actually running on your local machine,
it can save attachments just fine.

One note: You need to either have _identical_ imap folders on your
computers in the identical filesystem paths, or you need to have your
mail delivered to the server and share that too.
-- 
Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com)

---

From: [email-masked] (John Bent)
Date: Tue, 14 Jul 2009 09:43:01 -0600

Excerpts from Michael Stapelberg's message of Thu Jul 09 18:38:25 -0600
2009:
> simple/recommended way to synchronize the index? I figured using
> multiple clients in parallel is one of the big advantages of IMAP and
> I?d love to keep it that way while using sup.
> 
This won't really answer your exact question but I also use sup on a
workstation and a notebook.  What I do is run sup in a screen session on
the workstation and then connect to it from the laptop.  The window size
is different on the workstation and the laptop so whenever I switch, I
have to do:

<ctr-a>F : to get screen to resize
@        : to get sup to redraw itself

Hope that helps,

John

---

From: [email-masked] (Ben Walton)
Date: Tue, 14 Jul 2009 15:33:36 -0400

> @        : to get sup to redraw itself

Try Ctrl+L for the redraw.  Saves having sup do any work at all.  This
is also good for when the display gets corrupted in screen.  It's a
pretty standard sequence too, so you may find it applicable elsewhere
(eg: it'll clear your terminal for you, redraw and centre a buffer in
emacs, etc).

HTH.
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090714/143b6aca/attachment.bin>

---

From: [email-masked] (Michael Stapelberg)
Date: Tue, 14 Jul 2009 21:35:12 +0200

Hi John,

> @        : to get sup to redraw itself
Thanks, that?s at least a good start to get where I was with mutt. However,
it does not solve the other problems (GUI traffic/latency vs. IMAP,
opening/adding attachments).

Best regards,
Michael