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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-29 10:16:37 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news.mainstreet.net!feedwest.aleron.net!aleron.net!sjc70.webusenet.com!news.usenetserver.com!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor References: <400A9B48.3060100@noplace.com> <400BD4B5.6000307@noplace.com> <400BDB7C.40100@noplace.com> <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <100upo7ln5e3k59@corp.supernews.com> <400FC8E8.2040100@noplace.com> <_JSdna166JuxFo3dRVn-hg@comcast.com> <401115B7.5020205@noplace.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <0UbSb.57524$Kg6.643609@news20.bellglobal.com> Date: Thu, 29 Jan 2004 13:02:24 -0500 NNTP-Posting-Host: 198.96.223.163 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1075399292 198.96.223.163 (Thu, 29 Jan 2004 13:01:32 EST) NNTP-Posting-Date: Thu, 29 Jan 2004 13:01:32 EST Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:5056 Date: 2004-01-29T13:02:24-05:00 List-Id: Jeffrey Carter wrote: > Warren W. Gay VE3WWG wrote: > >> Try writing a binding to curses, to run with: >> >> - UNIX real curses >> - GNU curses >> - PDcurses >> >> then, make it compile and work for win2k, Linux, Solaris, >> and HPUX. Do it without gnatprep or code generation. > > Where's the specification for "curses" that I'm to write a binding to? > Clearly it's no larger than the intersection of the 3 curses packages > you named. Where's your solution, that cannot be achieved with a > preprocessor? The idea is to put the Ada programmer on an even keel with the C/C++ programmer on the same platform. If from C you can call GNU curses API xyz (or functionality provided by xyz), they by George, it would be nice for the Ada program to take advantage of the same feature (caveat: thick bindings do not always make this comparison trivial, but think functionality). By the same token, xyz may not be available to the PDcurses programmer on some or all platforms. Win32 may be more restricted for example. -- Warren W. Gay VE3WWG http://ve3wwg.tk