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: a07f3367d7,4510e62b5a1dbcfa X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!d4g2000yqa.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: ada, curses and windows Date: Sat, 1 Aug 2009 13:34:51 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 94.108.156.230 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1249158892 22358 127.0.0.1 (1 Aug 2009 20:34:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 1 Aug 2009 20:34:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d4g2000yqa.googlegroups.com; posting-host=94.108.156.230; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009061208 Iceweasel/3.0.9 (Debian-3.0.9-1),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7512 Date: 2009-08-01T13:34:51-07:00 List-Id: Massimo M. wrote on comp.lang.ada: > i can't use windows in curses. > they don't work, i looked for examples, but i find only too complicated > examples. can you give me some easy examples in using windows in ada? > > i used > > winInput:=New_Window(Line_Count(8),Column_Count(8),Line_Position(8),Column_Position(8)); > box(winInput); > refresh(winInput); > > but no windows appears... > if i use > box(standard_window), the box appears. > > thanks in advance The behaviour you see is correct. Curses does not draw have window borders; you have to draw the borders yourself, e.g. with a "box". That's what I remember from the two programs I wrote with curses back in 1992 or so. -- Ludovic Brenta.