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.74.201 with SMTP id w9mr2523980pbv.0.1331314640679; Fri, 09 Mar 2012 09:37:20 -0800 (PST) Path: h9ni6999pbe.0!nntp.google.com!news1.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 09:35:42 -0800 (PST) Organization: http://groups.google.com Message-ID: <11816337.1278.1331314542913.JavaMail.geo-discussion-forums@vbbfy7> References: <17201789.834.1331304977001.JavaMail.geo-discussion-forums@vbux23> NNTP-Posting-Host: 158.110.27.77 Mime-Version: 1.0 X-Trace: posting.google.com 1331314640 24338 127.0.0.1 (9 Mar 2012 17:37:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Mar 2012 17:37:20 +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-09T09:35:42-08:00 List-Id: On Friday, March 9, 2012 5:59:46 PM UTC+1, Eilie wrote: > On 2012-03-09, mockturtle <...@gmail.com> 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 i= t? > > > > Is ncurses related with curses? (I guess so) Ah, memories... I used cur= ses _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 monito= r [yes, I am that old!] in an unusable state, forcing you to logout and log= in 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 fi= le (*.gpr)? If it has, I would start from that, taking an existing project= file and modifying to my needs. > > > > Hope this "bootstraps" you. > > > > Riccardo >=20 > 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/ga= mes) > i will be happy to hear about it. Just to avoid any misunderstanding (with written exchange it may happens): = I was not criticizing your choice, it just made me wonder (and smile) since= it recalled to my memory my experience with "curses." =20 (BTW, I am smiling while I write this ;-) Riccardo