comp.lang.ada
 help / color / mirror / Atom feed
* Anyone see a problem in 5.7 ncurses Ada?
@ 2011-03-09 18:55 localhost
  2011-03-09 19:45 ` Anh Vo
  2011-03-09 20:28 ` Emile8
  0 siblings, 2 replies; 12+ messages in thread
From: localhost @ 2011-03-09 18:55 UTC (permalink / 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).



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-03-10 21:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-09 18:55 Anyone see a problem in 5.7 ncurses Ada? localhost
2011-03-09 19:45 ` 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

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