Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com To: cygwin@cygwin.com From: Chris Shepard Subject: curses colors Date: Mon, 9 Aug 2004 12:41:10 +0000 (UTC) Lines: 31 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 12.154.2.100 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)) X-IsSubscribed: yes Hi, I'm running curses from Python in an xterm on XP Pro, and the colors are, well, let's say, strange: BLACK (0,0,0) looks yellow RED (680,0,0) looks red! GREEN (0,680,0) looks green! YELLOW (680,680,0) looks brown BLUE (0,0,680) looks black MAGENTA (680,0,680) looks red, also CYAN (0,680,680) looks green, also WHITE (680,680,680) looks black, also can_change_colors is False (i.e., No, I can't, and I have tried: init_color() pukes). Is this the case from C code? Question is: is this a glitch/unfeature in the libcurses or some python thing? It isn't related to X is it? (I do NOT have X installed on my system) Is there a relatively (i.e., no more than a couple of hours' work) safe (i.e., will NOT endager my existing Python/curses setup, which otherwise works wonderfully) fix/patch/mod/hack that I (beaucoup years C and *nix, 2 months Windoze) could make? It'd be nice to have all eight colors. Many, many TIA. Cheers. :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/