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,b7d0df4caba54f2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.201.129 with SMTP id ka1mr2639042pbc.6.1331304977358; Fri, 09 Mar 2012 06:56:17 -0800 (PST) Path: h9ni6572pbe.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: mockturtle Newsgroups: comp.lang.ada Subject: Re: Ncurses and Ada Date: Fri, 9 Mar 2012 06:56:16 -0800 (PST) Organization: http://groups.google.com Message-ID: <17201789.834.1331304977001.JavaMail.geo-discussion-forums@vbux23> References: NNTP-Posting-Host: 158.110.27.77 Mime-Version: 1.0 X-Trace: posting.google.com 1331304977 21784 127.0.0.1 (9 Mar 2012 14:56:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Mar 2012 14:56:17 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=158.110.27.77; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-03-09T06:56:16-08:00 List-Id: On Friday, March 9, 2012 3:40:00 PM UTC+1, Eilie wrote: > Hello, > I started learn ada recently and mess with ncurses. > I know this is somewhat unrelated but maybe someone can help me here. > I build ncurses with Ada support, > Ada examples(rain and so on) has been built fine. > But i don't know how should i build mine programs that uses ncurses. > For example: I copy rain.adb from examples dir to some other dir, > How can i build it? What options of gnatmake should i pick to build it? Is ncurses related with curses? (I guess so) Ah, memories... I used curses = _many_ years ago, when I was a student and I thought that the name was quit= e appropriate... :-/ Especially when the usual segmentation fault left you= r VT100 monitor [yes, I am that old!] in an unusable state, forcing you to = logout and login again... Seriously, since I never used ncurses, I cannot be of much help, but I can = give you some general advice. Does the example dir has some project file (= *.gpr)? If it has, I would start from that, taking an existing project fil= e and modifying to my needs. Hope this "bootstraps" you. Riccardo