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,b7d0df4caba54f2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.129.169 with SMTP id nx9mr2989093pbb.2.1331312387373; Fri, 09 Mar 2012 08:59:47 -0800 (PST) Path: h9ni6883pbe.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Eilie Newsgroups: comp.lang.ada Subject: Re: Ncurses and Ada Date: Fri, 9 Mar 2012 16:59:46 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <17201789.834.1331304977001.JavaMail.geo-discussion-forums@vbux23> Mime-Version: 1.0 Injection-Date: Fri, 9 Mar 2012 16:59:46 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="Djv7k0en5Qxna71K2VR8XQ"; logging-data="25515"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IRNB1sK/tplk6zgqTfMt9" User-Agent: slrn/0.9.9p1 (Linux) Cancel-Lock: sha1:TZtt7tOYBHYQqLa08Q8HbMlsMlc= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: 2012-03-09T16:59:46+00:00 List-Id: On 2012-03-09, mockturtle wrote: > 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 quite appropriate... >:-/ Especially when the usual segmentation fault left your 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 file and modifying to my needs. > > Hope this "bootstraps" you. > > Riccardo I'm tryng to make some simple CLI game. I think that study GtkAda for this purpose would be overhead. But if there is some more stable/usable lib for that purpose(CLI tools/games) i will be happy to hear about it.