bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segmentation fault in test 'ncurses'


From: Thomas Dickey
Subject: Re: segmentation fault in test 'ncurses'
Date: Thu, 10 May 2001 18:20:50 -0400
User-agent: Mutt/1.2.5i

On Thu, May 10, 2001 at 02:03:36PM -0700, David Ellement wrote:
> On 010510, at 16:36:59, Thomas Dickey wrote
> > hmm - but the most likely cause of a failure at the indicated point
> > (other than bad object code, e.g., from some versions of gcc), is
> 
> I'm using gcc 2.7-mentor-96q1p51 on HP-UX 10.20.  I'd been able to
> compile ncurses 5.2 + patches to 20010127 without problems
...
> Is there something more I should look at?  (Does it make sense that
> pair = 1792, when I've got TERM=xterm-256color?)

the last is a good clue - ncurses only codes 16 colors, and wouldn't
be able to cycle through all of the values.  But these items are
from xterm-256color, and fit into the first idea I proposed, that
the number of pairs isn't the square of the number of colors:

        colors#256, pairs#256, 

(perhaps when I'm modifying ncurses.c to work with this, I'll think of
a plausible excuse for why it was working for you before ;-)

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]