From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c4e4e40240a86624,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: localhost@example.org Newsgroups: comp.lang.ada Subject: Anyone see a problem in 5.7 ncurses Ada? Date: Wed, 9 Mar 2011 18:55:25 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: NNTP-Posting-Host: 1fBP04fsPqTkkcvlQyUnMA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:18000 Date: 2011-03-09T18:55:25+00:00 List-Id: 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).