Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B8B5E431FAF for ; Thu, 19 Jan 2012 08:23:36 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S09fxDUTS7v7 for ; Thu, 19 Jan 2012 08:23:36 -0800 (PST) Received: from ipex2.johnshopkins.edu (ipex2.johnshopkins.edu [162.129.8.151]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3EA44431FAE for ; Thu, 19 Jan 2012 08:23:36 -0800 (PST) X-IronPort-AV: E=Sophos;i="4.71,537,1320642000"; d="scan'208";a="117940568" Received: from unknown (HELO watt) ([10.161.33.18]) by ipex2.johnshopkins.edu with ESMTP/TLS/AES256-SHA; 19 Jan 2012 11:23:35 -0500 Received: from jkr by watt with local (Exim 4.76) (envelope-from ) id 1Rnumv-0002VA-0b; Thu, 19 Jan 2012 11:24:33 -0500 From: Jesse Rosenthal To: notmuch@notmuchmail.org Subject: Updated remote script Date: Thu, 19 Jan 2012 11:24:32 -0500 Message-ID: <87k44n8xtr.fsf@jhu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 16:23:36 -0000 Dear all, Just wanted to note that I finally got around to updating the way-deprecated "remoteusage" wiki page[0], with a simplified script, that takes into account comments that some have made in the past. Caching for attachments is gone, since the complications of part handling vs. raw handling seems to have made it more trouble than it was worth at the moment. (And because I do most of my work on a well-connected machine.) The big change in this script is that it uses dtach to set up a ssh socket, rather than suggesting that users do so themselves with the ControlMaster configuration option. This has the benefit of not making anyone mess with ~/.ssh, and not impacting your other ssh work. It also handles the issues of dead sockets on a laptop. (`ssh -Nf` seems like it *should* work too, but emacs hangs when it is used in a script.) The problem with this approach, of course, is that it requires dtach. A good solution would be to (a) make the use of reusable ssh sockets optional, and (b) allow it to use screen or tmux instead of dtach. Both would be pretty easy, and I'll work on it at some point. But I figured getting a two-year-old, broken script of the wiki would be a good first step. [0] http://notmuchmail.org/remoteusage/ Best, Jesse