Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: grant@antiflux.org (Grant Hollingworth)
Subject: [sup-talk] Exception on start up
Date: Thu, 29 Nov 2007 10:15:01 -0500	[thread overview]
Message-ID: <1196348740-sup-7327@spooky.local> (raw)
In-Reply-To: <2F2233F8-7973-4157-A6B8-600502AD6D6F@kuicr.kyoto-u.ac.jp>

Excerpts from Alex Gutteridge's message of Wed Nov 28 20:49:34 -0500 2007:
> All the ncurses examples run, but not in color, so there's clearly  
> something going wrong with OSX or my terminal. Curses wont initialize  
> any color pair, so it's seems to be a problem with curses on OSX not  
> sup.
> 
> irb(main):001:0> require 'rubygems'
> => true
> irb(main):002:0> require 'curses'
> => true
> irb(main):003:0> require 'ncurses'
> => true
> irb(main):004:0> Curses.init_pair 1, -1, -1
> => false
> irb(main):005:0> Curses.init_pair 1, Curses::COLOR_WHITE,  
> Curses::COLOR_BLACK
> => false

Sup works for me, in colour, in Terminal.app. $TERM is set to xterm-color. I'm using ncurses 5.6 from MacPorts.

I get the same results as you in irb. Does curses normally work there?


  parent reply	other threads:[~2007-11-29 15:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29  1:49 Alex Gutteridge
2007-11-29  4:17 ` Christopher Warrington
2007-11-29 15:15 ` Grant Hollingworth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-28  9:17 Alex Gutteridge
2007-11-28 17:27 ` William Morgan

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=1196348740-sup-7327@spooky.local \
    --to=grant@antiflux.org \
    /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