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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c4e4e40240a86624 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!o14g2000prb.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: Anyone see a problem in 5.7 ncurses Ada? Date: Wed, 9 Mar 2011 11:45:23 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 149.32.224.33 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1299699924 22540 127.0.0.1 (9 Mar 2011 19:45:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 9 Mar 2011 19:45:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o14g2000prb.googlegroups.com; posting-host=149.32.224.33; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; MS-RTC LM 8),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:18976 Date: 2011-03-09T11:45:23-08:00 List-Id: On Mar 9, 10:55=A0am, localh...@example.org wrote: > 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 i= s > returning 25 columns and 81 lines. This makes the values actually 2 highe= r > 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 any= one > 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 h= ave > noted and fixed it but then again I don't think the Ada binding has been > touched in years (and wow, it's good). I do not know much about it until recently. Try the latest version, 5.8. If the problem still persists, try version 5.6 or older before sending a bug report. Anh Vo