From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.117.16 with SMTP id p16cs620569agc; Thu, 15 Oct 2009 08:27:54 -0700 (PDT) Received: by 10.224.117.133 with SMTP id r5mr180612qaq.133.1255620473803; Thu, 15 Oct 2009 08:27:53 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 29si334637qyk.66.2009.10.15.08.27.53; Thu, 15 Oct 2009 08:27:53 -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 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 816DC1218281; Thu, 15 Oct 2009 11:27:53 -0400 (EDT) Received: from entry.masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id 1C1651978284 for ; Thu, 15 Oct 2009 11:27:45 -0400 (EDT) Received: from w by entry.masanjin.net with local (Exim 4.69) (envelope-from ) id 1MySEy-0002va-V7 for sup-talk@rubyforge.org; Thu, 15 Oct 2009 08:27:44 -0700 From: William Morgan To: sup-talk In-reply-to: References: <1255292940-sup-5558@masanjin.net> <1255611057-sup-1320@masanjin.net> Date: Thu, 15 Oct 2009 08:27:44 -0700 Message-Id: <1255620005-sup-7616@masanjin.net> User-Agent: Sup/git 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: , 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 Reformatted excerpts from Dan Falcone's message of 2009-10-15: > Hmm... good question. I regularly use emacs with colors enabled, but > I'm not sure if that uses curses. I tried typespeed and that seemed > to work. According to its man page, it uses curses. Hm. What version of the ncurses gem do you have? (gem list --local should tell you.) What does this program print? require 'rubygems' require 'ncurses' x = begin Ncurses::initscr(); Ncurses::has_colors?() ensure Ncurses::endwin(); end puts x If it prints true, then, if you look in the contents of the gem (wherever that is on your system), there should be an examples/ directory. If you run examples/tlock.rb or examples/rain.rb, (probably with ruby -rubygems), do you see color? -- William _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk