From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.117.16 with SMTP id p16cs331999agc; Mon, 12 Oct 2009 07:17:36 -0700 (PDT) Received: by 10.224.78.227 with SMTP id m35mr4773572qak.178.1255357055480; Mon, 12 Oct 2009 07:17:35 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 8si4245930qyk.22.2009.10.12.07.17.35; Mon, 12 Oct 2009 07:17:35 -0700 (PDT) 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 1D8E3197833E; Mon, 12 Oct 2009 10:17:35 -0400 (EDT) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by rubyforge.org (Postfix) with ESMTP id 85792197828C for ; Mon, 12 Oct 2009 10:17:27 -0400 (EDT) Received: by qw-out-2122.google.com with SMTP id 9so441237qwb.29 for ; Mon, 12 Oct 2009 07:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=rtZgjknK5dMv7oBAn5vGrtkdXI5uIy8roXDjXsY1kOs=; b=HHvUZre6FmB9Vz0+3ko4H58NT0aCIN8WcUpIrbPdg6lazJgWnG1kVPw9DQm1VkStuO 0SWhSWBR6T58vtUHxN5gIzc9VXenOSyihMNYZsXY3Zf1aSu8jjwtzT/ibngjPy9CUACN yA/FBN90EfBuIrOiBJikT5hBJEBl6LcKuKVYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KS8vQJuBoEc0jR6IvHaP1tG6UCQT0DBMqUmlRkPyY+3d+vt7hftEV3XveDbewH87jc UT1pRhl08UwwWmfWz5udBfybZqg85aFVuPnRo7j1Aayp4Y8uECWbAazKKGMZPkGorG98 nTK2qKnj4zMrGj1HhwNamoAq8Ot2p2bLNIRiU= MIME-Version: 1.0 Received: by 10.229.19.149 with SMTP id a21mr58988qcb.29.1255356588377; Mon, 12 Oct 2009 07:09:48 -0700 (PDT) In-Reply-To: <1255292940-sup-5558@masanjin.net> References: <1255292940-sup-5558@masanjin.net> Date: Mon, 12 Oct 2009 10:09:48 -0400 Message-ID: From: Dan Falcone To: William Morgan Cc: sup-talk Subject: Re: [sup-talk] curses 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: , Content-Type: multipart/mixed; boundary="===============1302660473==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============1302660473== Content-Type: multipart/alternative; boundary=0016e64c34c08444e10475bd7b72 --0016e64c34c08444e10475bd7b72 Content-Type: text/plain; charset=ISO-8859-1 Normally I use puttycyg (http://code.google.com/p/puttycyg/), but I gave rxvt and even the normal cmd.exe window a try. Same error in all three. I also tried modifying NUM_COLORS to 15 (and other values... 1, 8, 16, 32) but got the same error every time in each terminal emulator. Honestly, it's probably an issue with my setup... is there a guide anywhere on how to get sup running in cygwin? Maybe I'm missing a required package? Thanks! Dan On Sun, Oct 11, 2009 at 4:30 PM, William Morgan wrote: > Reformatted excerpts from Dan Falcone's message of 2009-10-06: > > I'm trying to get sup running on my work machine, which is unfortunately > a > > windows box. I have cygwin installed, along with the cygwin packages for > > ruby and ncurses. Here's the contents of ~/.sup/exception-log.txt: > > > > --- ArgumentError from thread: main > > couldn't initialize curses color pair 4, -1 (key 1) > > /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/colormap.rb:133:in > `color_for' > > Weird. We've had other people get it working on Cygwin before, I > believe. Are you running this within Cygwin's rxvt? > > What if you modify lib/sup/colormap.rb so that NUM_COLORS=15? > -- > William > _______________________________________________ > sup-talk mailing list > sup-talk@rubyforge.org > http://rubyforge.org/mailman/listinfo/sup-talk > --0016e64c34c08444e10475bd7b72 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Normally I use puttycyg (htt= p://code.google.com/p/puttycyg/), but I gave rxvt and even the normal c= md.exe window a try.=A0 Same error in all three.=A0 I also tried modifying = NUM_COLORS to 15 (and other values... 1, 8, 16, 32) but got the same error = every time in each terminal emulator.=A0

Honestly, it's probably an issue with my setup... is there a guide = anywhere on how to get sup running in cygwin?=A0 Maybe I'm missing a re= quired package?

Thanks!
Dan

On = Sun, Oct 11, 2009 at 4:30 PM, William Morgan <wmorgan-sup@masanjin.net> wrote:
Reformatted excer= pts from Dan Falcone's message of 2009-10-06:
> I'm trying to get sup running on my work machine= , which is unfortunately a
> windows box. =A0I have cygwin installed, along with the cygwin package= s for
> ruby and ncurses. =A0Here's the contents of ~/.sup/exception-log.t= xt:
>
> --- ArgumentError from thread: main
> couldn't initialize curses color pair 4, -1 (key 1)
> /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/colormap.rb:133:in `color_= for'

Weird. We've had other people get it working on Cygwin before, I<= br> believe. Are you running this within Cygwin's rxvt?

What if you modify lib/sup/colormap.rb so that NUM_COLORS=3D15?
--
William <wmorgan-sup@masanji= n.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

--0016e64c34c08444e10475bd7b72-- --===============1302660473== 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 --===============1302660473==--