From: Dan Falcone <danfalcone@gmail.com>
To: William Morgan <wmorgan-sup@masanjin.net>
Cc: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] curses exception
Date: Mon, 12 Oct 2009 10:09:48 -0400 [thread overview]
Message-ID: <ed5557340910120709u62e97e67id6580f0a8ee6ec64@mail.gmail.com> (raw)
In-Reply-To: <1255292940-sup-5558@masanjin.net>
[-- Attachment #1.1: Type: text/plain, Size: 1390 bytes --]
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 <wmorgan-sup@masanjin.net>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 <wmorgan-sup@masanjin.net>
> _______________________________________________
> sup-talk mailing list
> sup-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk
>
[-- Attachment #1.2: Type: text/html, Size: 2057 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
next prev parent reply other threads:[~2009-10-12 14:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-06 22:33 Dan Falcone
2009-10-06 23:45 ` Dan Falcone
2009-10-11 20:30 ` William Morgan
2009-10-12 14:09 ` Dan Falcone [this message]
2009-10-15 12:51 ` William Morgan
2009-10-15 14:40 ` Dan Falcone
2009-10-15 15:27 ` William Morgan
2010-01-15 19:49 ` Dan Falcone
2010-02-22 15:41 ` Dan Falcone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed5557340910120709u62e97e67id6580f0a8ee6ec64@mail.gmail.com \
--to=danfalcone@gmail.com \
--cc=sup-talk@rubyforge.org \
--cc=wmorgan-sup@masanjin.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox