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,5bc9084f95aecb97 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!i18g2000yqn.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Ncurse with ada Date: Tue, 11 Jan 2011 02:08:22 -0800 (PST) Organization: http://groups.google.com Message-ID: <439abd8d-f2f6-441c-aece-2e82ff4bf43e@i18g2000yqn.googlegroups.com> References: <4a591e07-f7e8-4582-9d0a-16fd04721060@32g2000yqz.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1294740502 15300 127.0.0.1 (11 Jan 2011 10:08:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 11 Jan 2011 10:08:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i18g2000yqn.googlegroups.com; posting-host=153.98.68.197; 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.6) Gecko/2009012111 Red Hat/3.0.6-1.el5 Firefox/3.0.6,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:17342 Date: 2011-01-11T02:08:22-08:00 List-Id: Rieska Hendrawan wrote on comp.lang.ada: > does anyone here has using NCURSE 5-7? > > I have completed install NCURSE 5-7, but i don't know how to compile > it, since i try to compile it's sample file (ncurses.adb) will produce > an error message like "terminal_interface.ads" not found > > I try it for days, search some sample or ncurse tutorial, but i never > found it. This seems like an error in the installation process. What operating system and compiler do you use? Where did you download ncurses.adb from? What command did you use to compile it? Where is terminal_interface.ads on your system? Note that, if your operating system is Debian, a simpler alternative is to "aptitude install libtexttools2-dev" and read the instructions in /usr/share/ada/adainclude/texttools.gpr to build your application. TextTools is a high-level library on top of ncurses, it provides widgets such as buttons, scroll bars and windows. HTH -- Ludovic Brenta.