comp.lang.ada
 help / color / mirror / Atom feed
From: localhost@example.org
Subject: Anyone see a problem in 5.7 ncurses Ada?
Date: Wed, 9 Mar 2011 18:55:25 +0000 (UTC)
Date: 2011-03-09T18:55:25+00:00	[thread overview]
Message-ID: <slrninfj90.kmk.localhost@example.org> (raw)

I had built some programs against an earlier version of ncurses, I can't
remember whether it was 5.5 or later and they were working fine. When I
rebuilt them against 5.7 a few of them broke. I have tracked it down to
incorrect values being returned by get_size. For a 24x80 xterm get_size is
returning 25 columns and 81 lines. This makes the values actually 2 higher
than they should be, because the numbers are supposed to be
zero-relative. That is the lines should be 23 and the columns 79. Has anyone
else noticed this? I don't know whether it's in the Ada binding or in
ncurses itself. I would think if ncurses itself was broken people would have
noted and fixed it but then again I don't think the Ada binding has been
touched in years (and wow, it's good).



             reply	other threads:[~2011-03-09 18:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 18:55 localhost [this message]
2011-03-09 19:45 ` Anyone see a problem in 5.7 ncurses Ada? Anh Vo
2011-03-09 19:52   ` localhost
2011-03-09 20:00     ` Anh Vo
2011-03-09 20:02       ` localhost
2011-03-09 22:12     ` Emile8
2011-03-09 20:28 ` Emile8
2011-03-09 20:53   ` Jeffrey Carter
2011-03-09 21:42     ` Emile8
2011-03-10 14:43       ` Niklas Holsti
2011-03-10 21:38         ` Jeffrey Carter
2011-03-10  6:14   ` localhost
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox