From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.79.9 with SMTP id c9cs118572agb; Wed, 4 Nov 2009 11:06:21 -0800 (PST) Received: by 10.224.71.233 with SMTP id i41mr959597qaj.89.1257361580196; Wed, 04 Nov 2009 11:06:20 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 33si1934453qyk.26.2009.11.04.11.06.20; Wed, 04 Nov 2009 11:06:20 -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=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id D29E91D78808; Wed, 4 Nov 2009 14:06:19 -0500 (EST) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by rubyforge.org (Postfix) with ESMTP id 27CBC185828E; Wed, 4 Nov 2009 14:06:07 -0500 (EST) Received: by bwz8 with SMTP id 8so9657889bwz.19 for ; Wed, 04 Nov 2009 11:06:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:content-type:cc :subject:from:to:in-reply-to:references:date:message-id:user-agent :content-transfer-encoding; bh=Lx20D27Cehesz+Ah9FcKiqic0m2tCSg2pAdpT6iFRwc=; b=wqjktdnd/V/mebSKWH8vbnbSgTsBhIPCHih0v5tVe7Ka98yzrjuJFHnwtW7BvSObet GUrwG822uHcAaefE+3Fko6g3GNjVTa3S+AxeBtaZY344sA2UXclbniO9Be6r372Juykk l3ac0h7gAleHfCBZTrK/gf9MjVOcfqignc2k4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:cc:subject:from:to:in-reply-to:references:date :message-id:user-agent:content-transfer-encoding; b=IMQRmQh7O6sR6T9U+iIVqhW9AE61T1ml2di86vWonWW2MZq38RF0y0t0nx33G6j6RZ skcKw3bDZRZJy5z/MPahEeZIEUQM/LYLwf8e9CznXIPiZ10E3Dku/+xN3bsW8CBN3hH4 RuKUwBCb3XA7g3+VmhcSkGVmFt7jwNqGLjagU= Received: by 10.204.15.16 with SMTP id i16mr1930151bka.72.1257361566722; Wed, 04 Nov 2009 11:06:06 -0800 (PST) Received: from localhost (c-24-63-65-243.hsd1.vt.comcast.net [24.63.65.243]) by mx.google.com with ESMTPS id 16sm482665bwz.7.2009.11.04.11.06.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Nov 2009 11:06:05 -0800 (PST) From: Mark Alexander To: Anthony Martinez In-reply-to: <1257303919-30524-1-git-send-email-pi+sup@pihost.us> References: <1257303919-30524-1-git-send-email-pi+sup@pihost.us> Date: Wed, 04 Nov 2009 14:06:01 -0500 Message-Id: <1257361498-sup-7950@r50p> User-Agent: Sup/git Cc: sup-talk , Anthony Martinez , sup-devel Subject: Re: [sup-talk] [PATCH] If we have a COLUMNS environment variable, wrap to that instead of 80. 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from Anthony Martinez's message of Tue Nov 03 22:05:19 -0500 2009: > + WRAP_LEN = ENV["COLUMNS"] || 80 # wrap messages and text attachments at this width How about using Ncurses.cols? That's what I did in a similar patch on my copy of sup. _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk