🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: demon.ip.developers
5 messages
5 total messages Started by Niel Kempson Sat, 11 Nov 1995 00:00
ANSI C conversion for KA9Q ?
#1405
Author: Niel Kempson
Date: Sat, 11 Nov 1995 00:00
41 lines
2042 bytes
People,
       I'll start with three questions:

1.  Do you all know which development environments are currently used for
KA9Q implementations ?

2.  Would a move to "proper" ANSI C source code break any existing
implementations ?

3.  Would a move to "proper" ANSI C source code be a good idea ?


Background:

The current KA9Q source code was written some time ago to support a lot
of compilers, and as a result, is not ANSI C compliant.  Using ANSI C
with all the cross checking available has some significant advantages,
but would changing the source of KA9Q to ANSI C break any existing
implementations ?

The KA9Q source contains conditionals, I see conditionals for AMIGA,
AZTEC, LATTICE & MAC in addition to the compilers I know for DOS and
OS/2.  I don't know if these platform have ANSI C compilers and whether
the AZTEC/LATTICE compilers still exist.

While porting KA9Q to OS/2 (relatively straightforward), Gordon Beck also
converted KA9Q to ANSI C standards.  His version (called v2.17, but
strictly unofficial from a Demon support perspective) has a few extra
features available (archie, gopher) and is known to work under DOS
(Borland and MSC v6) and OS/2 (Borland and IBM C++).

In other words, the hard work of ANSI conversion has been done as a
"private venture", but there's no point in making it standard if it's
going to break things for current developers basing their efforts on the
Demon source code.

Niel
-- 
Dr C Niel Kempson
Snowy Owl Systems Limited
E-mail: kempson@snowyowl.co.uk (Internet)
Re: ANSI C conversion for KA9Q ?
#1410
Author: John Washington
Date: Sun, 12 Nov 1995 00:00
23 lines
1327 bytes
On 12 Nov, in article <484fcb$j4o@skate.demon.co.uk>
     plunky@skate.demon.co.uk "Iain Hibbert" wrote:

IH> Niel Kempson <kempson@snowyowl.co.uk> writes:
IH> > The KA9Q source contains conditionals, I see conditionals for AMIGA,
IH> > AZTEC, LATTICE & MAC in addition to the compilers I know for DOS and
IH> > OS/2.  I don't know if these platform have ANSI C compilers and whether
IH> > the AZTEC/LATTICE compilers still exist.
IH> 
IH> the Aztec & Lattice compilers were both Amiga compilers, they did things

I think Lattice also had a PC compiler, and that eventually
turned into Microsoft C version 4 a long time ago.

Whether that's relevant to the defines in the ka9q source I've
no idea.

I think there's a great need for (even a little) developers'
documentation with the program.  I don't think there's even
a read.me file.

--
John Washington
Re: ANSI C conversion for KA9Q ?
#1414
Author: Tom Hughes
Date: Sun, 12 Nov 1995 00:00
18 lines
1361 bytes
In article <484fcb$j4o@skate.demon.co.uk> Iain Hibbert (plunky@skate.demon.co.uk) wrote:

> I think there is also an Archimedes port of KA9Q, but again that has diverged
> from the original sources..  I don't watch the demon.ip.support.mac newsgroup
> but never see KA9Q mentioned in demon.tech.mac, they seem to mostly use other
> software (that is built into System 7.5 ?)

Indeed. The Archimedes port diverged from the PC version some years
ago now. All the Acorn C compilers (Acorn C, Easy C and gcc) are ANSI
compilers anyway, and AFAIK everyone working on KA9Q uses Acorn C at
the moment (they couldn't use Easy C as it has 32 bit shorts).

Tom

-- 
Tom Hughes (tom@compton.demon.co.uk)
13 Priory Close, Hoddesdon, Herts EN11 8DB
...I BOOTED my computer. Broke my toe!
Re: ANSI C conversion for KA9Q ?
#1417
Author: Iain Hibbert
Date: Sun, 12 Nov 1995 00:00
24 lines
1783 bytes
Niel Kempson <kempson@snowyowl.co.uk> writes:
> The KA9Q source contains conditionals, I see conditionals for AMIGA,
> AZTEC, LATTICE & MAC in addition to the compilers I know for DOS and
> OS/2.  I don't know if these platform have ANSI C compilers and whether
> the AZTEC/LATTICE compilers still exist.

the Aztec & Lattice compilers were both Amiga compilers, they did things
slightly differently..  the Aztec (also known as Manx for some reason) one
is effectively dead, most people these days use either SAS/C (which is
descended from Lattice - SAS Institute bought it out) or DICE or GCC, all of
which are ANSI compatible .. AmigaNOS has diverged from KA9Q though, and I
don't think they use the main sources any more though Dan Cannon at
<dan@blender.demon.co.uk> is the last person I know to have done work on it.
I don't know how widespread its use is either, many people use AmiTCP as its
more integrated with the OS as opposed to just being an application. (AmiTCP
is a port of the BSD network code, plus features)

I think there is also an Archimedes port of KA9Q, but again that has diverged
from the original sources..  I don't watch the demon.ip.support.mac newsgroup
but never see KA9Q mentioned in demon.tech.mac, they seem to mostly use other
software (that is built into System 7.5 ?)

--
]ain
Re: ANSI C conversion for KA9Q ?
#1422
Author: Kevin F. Quinn
Date: Mon, 13 Nov 1995 00:00
18 lines
1300 bytes
Iain Hibbert (plunky@skate.demon.co.uk) said,
        in message <484fcb$j4o@skate.demon.co.uk>:

> I think there is also an Archimedes port of KA9Q, but again that has diverged
> from the original sources..

Yep; it diverged a long time ago.  Although we use ANSI C, the source
hasn't been changed to ANSI standard; it still "extern"s everything
willy nilly.

Anyway; as far as Niel's proposal goes; changing the DIS baseline
code to ANSI C would not affect us adversely ;)

-- 
Kevin F. Quinn           * "No-one ever made any money out of good
                         *  looks and charm."
kevq@banana.demon.co.uk  * "You obviously haven't met Lady Hamilton..."
kevq@cix.compulink.co.uk *                               Blackadder III
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads