From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.79.9 with SMTP id c9cs254166agb; Fri, 6 Nov 2009 07:13:38 -0800 (PST) Received: by 10.224.29.75 with SMTP id p11mr2483103qac.88.1257520417391; Fri, 06 Nov 2009 07:13:37 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 30si179903qyk.8.2009.11.06.07.13.37; Fri, 06 Nov 2009 07:13:37 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@messagingengine.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 0DBB01588064; Fri, 6 Nov 2009 10:13:37 -0500 (EST) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by rubyforge.org (Postfix) with ESMTP id F39E61858282 for ; Fri, 6 Nov 2009 10:13:21 -0500 (EST) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id AC607BE9A9; Fri, 6 Nov 2009 10:13:21 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 06 Nov 2009 10:13:21 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=subject:from:to:in-reply-to:references:date:message-id:content-transfer-encoding:content-type:mime-version; s=smtpout; bh=8v3BgfpYAHpV3/1J9zsnxp3oqVA=; b=cKJ2sOAVfQtd6DTJfER3AFyFNKec32ZMaBhmlCtb3UlJjyQE+smLDtkYcLkA9NqMKyYRmGftaBEq2DUzFYT5+vq9RSx4sI+eCUtAY5WFPjb67JMNsoPj/g6hu5LCjbAiOEWzIAtMYJOlMFEXdm1zU9Nc3yzwi6FsICH4ZPG+qrM= X-Sasl-enc: 7WfNjyXsHSIUFitQhUPWSQ8Y0lxy85VqwgTh+75Srw9P 1257520401 Received: from localhost (S0106001cf0c4cd3c.gv.shawcable.net [24.69.133.230]) by mail.messagingengine.com (Postfix) with ESMTPSA id 077444911 for ; Fri, 6 Nov 2009 10:13:20 -0500 (EST) From: rick.tessner To: sup-talk In-reply-to: <1257452860-sup-7983@testarossa> References: <1257452860-sup-7983@testarossa> Date: Fri, 06 Nov 2009 07:13:19 -0800 Message-Id: <1257520288-sup-8595@onnadayr.ca> User-Agent: Sup/git Content-Transfer-Encoding: 8bit Content-Type: multipart/mixed; boundary="=-1257520399-413653-10168-3984-1-=" MIME-Version: 1.0 Subject: Re: [sup-talk] Sup-sync exception X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --=-1257520399-413653-10168-3984-1-= Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Hi, Excerpts from Mark Anderson's message of Thu Nov 05 12:29:23 -0800 2009: > > I have an offlineimap synced IMAP Maildir area, and for some reason I get an error when I try to run > sup-sync. I had that exact same thing. If you applied a patch that used Ncurses.cols rather than WRAP_LEN to determine screen width, you'll have that problem in the non-curses based sup applications. The patch came from an email with the subject [PATCH] Use terminal width instead of hardcoded 80 as the wrap length. I initially didn't have any problems whatsoever with that patch until I ran sup-sync. I fixed it with the attached commit. This patch just does a rescue on that call. The patch is only applicable if you had applied a patch that came through previously on this list for using Ncurses.cols rather than WRAP_LEN in lib/sup/message-chunks.rb -- Rick Tessner rick.tessner@gmail.com --=-1257520399-413653-10168-3984-1-= Content-Disposition: attachment; filename="0001-Corrects-Use-terminal-width-instead-of-hardcoded-80-.patch" Content-Type: application/octet-stream; name="0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x ICYmIEBsaW5lc1stMV0gPX4gL15ccyokLyAmJiBAbGluZXNbLTJdID1+IC9e XHMqJC8KLS0gCjEuNi4zCgo= --=-1257520399-413653-10168-3984-1-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --=-1257520399-413653-10168-3984-1-=--