Ncurses and Ada

  • Permalink
  • submit to reddit
  • Email
  • Follow


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?
0
Reply Eilie (8) 3/9/2012 2:40:00 PM

See related articles to this posting


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
0
Reply framefritti (102) 3/9/2012 2:56:16 PM

On 2012-03-09, mockturtle <framefritti@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 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.
0
Reply Eilie (8) 3/9/2012 4:59:46 PM

On Friday, March 9, 2012 10:59:46 AM UTC-6, Eilie wrote:
> 
> 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.

Inspired by Kroz?
http://en.wikipedia.org/wiki/Kroz_series
0
Reply onewingedshark (321) 3/9/2012 5:13:01 PM

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
0
Reply framefritti (102) 3/9/2012 5:35:42 PM

On 2012-03-09, Shark8 <onewingedshark@gmail.com> wrote:
> On Friday, March 9, 2012 10:59:46 AM UTC-6, Eilie wrote:
>>
>> 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.
>
> Inspired by Kroz?
> http://en.wikipedia.org/wiki/Kroz_series

Not really.
I'm just begginer it's too hard for me write rougelikes in Ada.
I need to start with a small steps.
Maybe some Sokoban or Sudoku with ncurses(i'm know these to games can be
easely implemented without ncurses but i want to study Ada ncurses too).
0
Reply Eilie (8) 3/9/2012 5:44:09 PM

Eilie writes on comp.lang.ada:
> 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?

I don't know what platform you develop on but Debian is your friend :)
and Nicolas Boulenguez made sure it is as easy as possible for you to
use ncurses in your programs:

aptitude install libncursesada2-dev

then look in the file /usr/share/ada/adainclude/ncursesada.gpr.

-- 
Ludovic Brenta.
0
Reply ludovic (1598) 3/9/2012 5:57:03 PM

On 2012-03-09, Ludovic Brenta <ludovic@ludovic-brenta.org> wrote:
>
> I don't know what platform you develop on but Debian is your friend :)
> and Nicolas Boulenguez made sure it is as easy as possible for you to
> use ncurses in your programs:
>
> aptitude install libncursesada2-dev
>
> then look in the file /usr/share/ada/adainclude/ncursesada.gpr.
>

I'm on Arch Linux and i have /usr/share/ada/adainclude but i don't have
/usr/share/ada/adainclude/ncursesada.gpr in it.

I already find out wich options should i use to compile my code with
ncurses. Anyway thank you for your attention.
0
Reply Eilie (8) 3/9/2012 6:28:39 PM

Am Freitag, 9. M=E4rz 2012 19:28:39 UTC+1 schrieb Eilie:
> I'm on Arch Linux and i have /usr/share/ada/adainclude but i don't have
> /usr/share/ada/adainclude/ncursesada.gpr in it.
>=20
> I already find out wich options should i use to compile my code with
> ncurses. Anyway thank you for your attention.

I created a few Ada related PKGBUILDs for the AUR and will have a look at n=
cursesada.

BTW, where did you get /usr/share/ada/adainclude from? Normally, the Ada li=
brary packages should install to /usr/include/<foo> and /usr/lib/<foo> and =
their project files to /usr/lib/gnat.

You can identify the package owning a file by using pacman -Qo
0
Reply julian71 (28) 3/12/2012 8:18:50 AM

Julian Leyh <julian@vgai.de> writes:

> BTW, where did you get /usr/share/ada/adainclude from? Normally, the
> Ada library packages should install to /usr/include/<foo> and
> /usr/lib/<foo> and their project files to /usr/lib/gnat.

FSF GCC and GNAT GPL both use $prefix/lib/gnat to find GPR files, with
the rest of the layout as you say.

The /usr/share/ada/adainclude is Debian's layout. I don't know why it's
different (probably Ludovic needed a scheme before AdaCore had settled
on theirs) and I haven't so far worked out install scripts that will
work in either situation.
0
Reply simon8285 (1465) 3/12/2012 8:42:19 AM

On 2012-03-12, Julian Leyh <julian@vgai.de> wrote:
> I created a few Ada related PKGBUILDs for the AUR and will have a look at ncursesada.
>
> BTW, where did you get /usr/share/ada/adainclude from? Normally, the Ada library packages should install to /usr/include/<foo> and /usr/lib/<foo> and their project files to /usr/lib/gnat.
>
> You can identify the package owning a file by using pacman -Qo

/usr/share/ada/adainclude/terminal_interface-curses.adb is owned by
ncurses 5.9-3

I just build ncurses from ABS with ada support.
0
Reply Eilie (8) 3/12/2012 9:04:03 AM

Simon Wright wrote on comp.lang.ada:
> Julian Leyh writes:
>> BTW, where did you get /usr/share/ada/adainclude from? Normally, the
>> Ada library packages should install to /usr/include/<foo> and
>> /usr/lib/<foo> and their project files to /usr/lib/gnat.
> 
> FSF GCC and GNAT GPL both use $prefix/lib/gnat to find GPR files, with
> the rest of the layout as you say.
> 
> The /usr/share/ada/adainclude is Debian's layout. I don't know why it's
> different (probably Ludovic needed a scheme before AdaCore had settled
> on theirs)

Correct. I didn't invent this path myself though; Florian Weimer did,
when he made the very first proposal for a standard ("GNU Ada
Environment Specification") back in 2001 or so.  IIRC, that
specification applied to the early .rpm packages for GNAT 3.13p
produced by the Ada for Linux Team.  So, it is possible that
/usr/share/ada/adainclude still exists in distributions other than
Debian.

> and I haven't so far worked out install scripts that will
> work in either situation.

Sorry about that :/ but as I've said many times, packaging is
difficult; if you want to concentrate on writing your software,
your best bet is to leave packaging to specialists of each target
platform while making their job as easy as possible.

-- 
Ludovic Brenta.
0
Reply ludovic (1598) 3/12/2012 10:20:23 AM

On 12.03.12 11:20, Ludovic Brenta wrote:
> Simon Wright wrote on comp.lang.ada:
>> Julian Leyh writes:
>>> BTW, where did you get /usr/share/ada/adainclude from? Normally, the
>>> Ada library packages should install to /usr/include/<foo> and
>>> /usr/lib/<foo> and their project files to /usr/lib/gnat.
>>
>> FSF GCC and GNAT GPL both use $prefix/lib/gnat to find GPR files, with
>> the rest of the layout as you say.
>>
>> The /usr/share/ada/adainclude is Debian's layout. I don't know why it's
>> different (probably Ludovic needed a scheme before AdaCore had settled
>> on theirs)
> 
> Correct. I didn't invent this path myself though; Florian Weimer did,
> when he made the very first proposal for a standard ("GNU Ada
> Environment Specification") back in 2001 or so. 

According to $(man hier), an Ada compiler's spec files
would not normally be counted among UNIX System Resources,
specifically not in /usr/include, and since /usr/share seems to be
the place for architecture independent files, the current paths seem
o.K. to me.

0
Reply rm.dash-bauhaus (1095) 3/12/2012 1:20:55 PM

Georg Bauhaus <rm.dash-bauhaus@futureapps.de> writes:

> According to $(man hier), an Ada compiler's spec files would not
> normally be counted among UNIX System Resources, specifically not in
> /usr/include, and since /usr/share seems to be the place for
> architecture independent files, the current paths seem o.K. to me.

I don't have a Linux box immediately to hand, but Apple seem to think
it's OK to include Tcl & Python (neither of which is mentioned in `man
hier`, any more than Ada is) in /usr/include.
0
Reply simon8285 (1465) 3/12/2012 2:33:19 PM

On 12.03.12 15:33, Simon Wright wrote:
> Georg Bauhaus <rm.dash-bauhaus@futureapps.de> writes:
> 
>> According to $(man hier), an Ada compiler's spec files would not
>> normally be counted among UNIX System Resources, specifically not in
>> /usr/include, and since /usr/share seems to be the place for
>> architecture independent files, the current paths seem o.K. to me.
> 
> I don't have a Linux box immediately to hand, but Apple seem to think
> it's OK to include Tcl & Python (neither of which is mentioned in `man
> hier`, any more than Ada is) in /usr/include.

The header files seem to be mostly for interfacing to the language
(or library). Objective-C has its "objc" subdirectory, too. So do PHP
and some "system components".

Still, the bulk of what (I think) would correspond to the Ada RTS,
or AWS or Ada libraries in general lives in
/System/Library/Frameworks/{Tcl,Python}.framework/Versions,
alongside Cocoa, Ruby, IOKit, LDAP, ...

I'd nevertheless hope to find, in an "ada" subdirectory of /usr/include,
Ada related header files for cross language programming.
For example,if GNAT is a system compiler, one might then write

#include <ada/lifecycle.h>

and then the C compiler knows about functions (ultimately) named

  void adainit (void);
  void adafinal (void);

Thus, if other compilers have a comparable mechanism, the ARG could bless
names of functions controlling it, and programs that call Ada parts
from C parts would be made portable by including the system header.

Once Apple considers Ada part of the system, they will have done it
for us ;-)
0
Reply rm.dash-bauhaus (1095) 3/12/2012 4:23:40 PM
comp.lang.ada 7711 articles. 2 followers. Post

14 Replies
124 Views

Similar Articles

[PageSpeed] 51


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

Ncurse with 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. 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 m...

Ada in Debian: libncursesada -- Ada binding for the ncurses text user interface library
Thanks to the initiative and efforts of Nicolas Boulenguez, I am happy to announce that the Ada binding to ncurses is now part of Debian unstable, with the same level of quality as all other Ada packages. The following packages are now but an "aptitude install" away: libncursesada-doc - Ada binding to the ncurses text interface library: documentation libncursesada1 - Ada binding to the ncurses text interface library: shared library libncursesada1-dbg - Ada binding to the ncurses text interface library: debug symbols libncursesada1-dev - Ada binding to the ncurses text interface...

Ada 95 -- Ada 2005 -- Ada 2012
newbie: i'm learning Ada now using an Ada 95 book=E2=80=A6 question: is the object oriented features so different in Ada 2012 that i should not = use a book teaching Ada 95, the book is the second edition by Koffman and F= eldman "Ada 95: Problem Solving and Program Design" I was reading the Ada Style Guide and got to the part about Object Oriented= features and realized how dated this document might be. From Ada Style Guide: "Chapter 9 defines a set of guidelines in common objected-oriented terms th= at exploit some of the features of Ada 95 that are ...

Interfacing Ada with Ada
Hello, Is it possible to interface Ada code compiled with an older compiler (gnat 3.14) and for which I just have specs (ads), objects and ali files (so I can't recompile it), with Ada code compiled with a newer compiler (gnat 2009), and for which I have all the sources? Yours, David. dhenry a �crit : > Hello, > > Is it possible to interface Ada code compiled with an older compiler > (gnat 3.14) and for which I just have specs (ads), objects and ali > files (so I can't recompile it), with Ada code compiled with a newer > compiler (gnat 2009), and fo...

The Ada Connection = Ada-Europe 2011 + Ada Conference UK 2011
----------------------------------------------------------------------- FINAL Call for Participation *** UPDATED Program Summary *** The Ada Connection 16th International Conference on Reliable Software Technologies - Ada-Europe 2011 + Ada Conference UK 2011 20 - 24 June 2011, Edinburgh, UK http://www.ada-europe.org/conference2011 *** Full Program available on conference web site *** ...

The Ada Connection = Ada-Europe 2011 + Ada Conference UK 2011
----------------------------------------------------------------------- FINAL Call for Participation *** UPDATED Program Summary *** The Ada Connection 16th International Conference on Reliable Software Technologies - Ada-Europe 2011 + Ada Conference UK 2011 20 - 24 June 2011, Edinburgh, UK http://www.ada-europe.org/conference2011 *** Full Program available on conference web site *** ...

The Ada Connection = Ada-Europe 2011 + Ada Conference UK 2011
----------------------------------------------------------------------- FINAL Call for Participation *** UPDATED Program Summary *** The Ada Connection 16th International Conference on Reliable Software Technologies - Ada-Europe 2011 + Ada Conference UK 2011 20 - 24 June 2011, Edinburgh, UK http://www.ada-europe.org/conference2011 *** Full Program available on confere...

Anyone see a problem in 5.7 ncurses Ada?
I had built some programs against an earlier version of ncurses, I can't remember whether it was 5.5 or later and they were working fine. When I rebuilt them against 5.7 a few of them broke. I have tracked it down to incorrect values being returned by get_size. For a 24x80 xterm get_size is returning 25 columns and 81 lines. This makes the values actually 2 higher than they should be, because the numbers are supposed to be zero-relative. That is the lines should be 23 and the columns 79. Has anyone else noticed this? I don't know whether it's in the Ada binding or in ncurses itself...

The Ada Connection = Ada-Europe 2011 + Ada Conference UK 2011 #2
----------------------------------------------------------------------- FINAL Call for Participation *** UPDATED Program Summary *** The Ada Connection 16th International Conference on Reliable Software Technologies - Ada-Europe 2011 + Ada Conference UK 2011 20 - 24 June 2011, Edinburgh, UK http://www.ada-europe.org/conference2011 *** Full Program available on conference web site *** ...

Ada-java, java-ada
Hello, I am actually working with ada83 and going forward to Ada95. On the way I would like to do some tests using java. 1. Does someone have some good links on java->ada83 and java->ada95 or some simple demos ? 2. Is it possible to call java FROM ada83 ? Can I use JNI ? 3. Is it possible to call java FROM ada95 ? Can I use JNI ? Thank you, S�bastien. __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover S=E9bastien Thoos wrote: > I am actually working with &...

ada without ada libraries?
Hi Everyone I just got my compiler set up the way I want it and I am ready for my first ada project. I have spent sometime with lua. Lua's library support is terrible but lots of people love the language. Many people just build a rough skeleton application in C and call it from lua. Lua handles all the type checking and much of the logic in this arrangement and C is mostly just library code. Would this same approach seem logical for ada? -Patrick On 02/07/2012 04:14 PM, Patrick wrote: > Hi Everyone > > I just got my compiler set up the way I want it and I am ready for my >...

C to ADA or FORTRAN to ADA
Where I can found a tranlator from C/Fortran source code to ADA? for winXP. "TC" <tecomeco@inwind.it> wrote in message news:oGFPe.32034$HM1.904119@twister1.libero.it... > Where I can found a tranlator from C/Fortran source code to ADA? for > winXP. > if you can't find one for XP, you could always install cygwin on XP and use c2ada there. You can download c2ada tar file from here. It should not be hard to make it compile/build on cygwin, you might have to modify the makefile etc... http://12000.org/my_notes/ada/index.htm Nasser ...

Is it Ada 2005 or Ada 2007?
I have seen the "new" Ada referred to as both Ada 2005 and Ada 2007. When referring to the new standard and without referring to any particular implementation of it, which is correct or preferred? I sort of understand that the standard wasn't agreed to until 2007 but that might not be the defining event. Is there an official designation or are left to our own devices to call it what we want? Jerry writes: > I have seen the "new" Ada referred to as both Ada 2005 and Ada 2007. > When referring to the new standard and without referring to any > particular implem...

Ada Advocacy
For those of you that are not familiar there is an e-mail list called Team-Ada (see the Ada FAQ - http://www.adapower.com/faq - but to make things short you join by sending the word subscribe to team-ada@acm.org) where Ada advocacy is discussed. I've started this evening on the list the first of what I hope will be many of my suggestions to Juice Up Ada (There was certainly tons of Juice flowing when the Juice was on trial, perhaps we can get some going with Ada a bit on trial). I've posted the following (Please join and respond on Team-Ada@acm.org for this one): Welcome to t...

A few questions on Ada and Ada implementations
Hi, I have been looking over Ada (the 95 variant) and it looks like a great language. Are there any free (as in no license restrictions, not GPL- anything) GUI libraries? What choices are there for handling output besides text? gcc-Ada looks good but I prefer to avoid gcc as much as I can and I also haven't found anything but GtkAda that seems to be GPLed. What Ada toolchains are available for 64 bit Linux that can be used to generate 32 or 64 bit Linux/UNIX executables that are in a hobbyist's price range (let's say up to 1000 USD). Do they include their own GUI libraries? Do th...

Ada principles outside of Ada
Hi people, Just for fun, two quotes from a captivating thesis about Isabelle, a pro= of = assistance and authoring environment, which has some words Ada users may= = recognize as their own typical words. In Markus Wenzel's 2001 thesis, titled =E2=80=9CIsabelle/Isar =E2=80=94 a versatile environment for huma= n-readable formal = proof documents=E2=80=9D http://tumb1.biblio.tu-muenchen.de/publ/diss/in/2002/wenzel.pdf Page 18 (printed page 4) =E2=80=9CHere the primitive layer consists of abstract theorem constructors of the inference kernel, according t...

what about having ada compile ada on the fly?
I've seen that there are discussions about enhancing the current ada95 spec. I was interested to know if there has been any talk of implementing an api for compiling ada code. I've read that some languages implement this feature(i think one was smalltalk), and i could see how that would be very useful for making an IDE that would load modules or scripts on the fly. I dunno much about the topic yet, my "Dragon Book" compiler book hasn't gotten here for Christmas yet. I have ideas for an IDE for linux and customizing the IDE with scripts that were compiled on the fly sounde...

Ada
I was just wondering if it is possible to change the colour of a string in ada 95? In article <1106770009.493447.308200@c13g2000cwb.googlegroups.com>, mcf501@york.ac.uk writes: > I was just wondering if it is possible to change the colour of a string > in ada 95? Ada strings have no attribute called "color". If you mean to change the color in which a string is displayed, that depends on your operating system and display hardware. On an older terminal, for instance, the only two color choices are Black and White. <mcf501@york.ac.uk> wrote in message news:11067...

Ada noob here! Is Ada widely used?
I'm new to Ada, but not to programming in general. Decided to learn a new language, and Ada was of interest to me. Am enjoying the language so far - using GNAT GPL nad Coronado's old tutorial. Just curious to know if Ada is still widely used, and in what area(s) does it excel, e.g. data processing, number crunching, graphics, etc? TIA.. -- Duke *** Tolerance becomes a crime, when applied to evil [Thomas Mann] *** On May 20, 8:53=A0am, Duke Normandin <dukeofp...@ml1.net> wrote: > I'm new to Ada, but not to programming in general. Decided to learn a new > language, ...

any ada operating systems? any ada database?
curious esp when see www.prevayler.org could object prevalence be ported to ada? maybe without needing objects? ...

Ada library, interfacing ADA with C
Hello everybody !!! I have to interface ADA with C and I would like to create an ADA library. I read the gnat manual and it is said that i can use gnatmake and a project library. So I use gnatmake: $ gnatmake -Pmy_lib.gpr I get the following message: powerpc-eabispe-gnatbind -n -o b~lib.adb -Llib prog1.ali prog2.ali powerpc-eabispe-gcc -c b~lib.adb building static library for project my_lib powerpc-eabispegnatmake: powerpc-elf-ar not found in path. In fact I haven't powerpc-elf-ar on my computer, so i created a link to it with : ln -s powerpc-eabispe-ar powerpc-elf-ar But the pr...

Moving from Ada 83 to Ada 95
Has someone done such thing? I need to move a huge application made in Ada 83 and installed on Solaris, to Ada 95 (probably on Linux)... looks very tough but maybe there're automatic tools and good advices out there. What do you say? "vrenna" <closure@nin.com> writes: > Has someone done such thing? I need to move a huge application made in Ada > 83 and installed on Solaris, to Ada 95 (probably on Linux)... looks very > tough but maybe there're automatic tools and good advices out there. What do > you say? That Ada95 is mostly upward compatible with Ada...

Ada.Real_Time Vs. Ada.Calendar
I need to compare data types that are stored in Ada.Real_Time.Time and Ada.Calendar.Time. I know I can get a seconds count from each package. However, is it the same time base? Is it dependant on the hardware it is run on? markp wrote: > I need to compare data types that are stored in Ada.Real_Time.Time and > Ada.Calendar.Time. I know I can get a seconds count from each package. > However, is it the same time base? Is it dependant on the hardware it > is run on? In general, you can't count on them having any meaningful relationship. Real_Time may be a count of ticks since t...

Concurrency in Ada/Ada 95 from the beginning
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=8310483803&rd=1&sspagename=STRK%3AMESE%3AIT&rd=1 http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=8310534818&rd=1&sspagename=STRK%3AMESE%3AIT&rd=1 ...