From: rkushner@sycom.mi.org (Ronald Kushner)
Newsgroups: comp.sys.amiga.datacomm
Subject: Re: C-NET
Distribution: world
X-BBS-Software: EXCELSIOR! v0.95f
Date: 19 Aug 92 23:40:47 EST
Organization: Michigan Information eXchange

In an article, gbartoli@guild.socal.com (Guy Bartoli) writes:


>        If you could please post/email whatever proof you have (ie:
>original author statements, specific lines of code, etc), I would greatly
>appreciate it. I personally feel that CNET has to be >the< greatest
>investment I have ever made in my Amiga.
>


Well, I found the aux ripoff when I was looking for device/handler examples.
I said, wow, this is some deep shit, I can not imagine someone like Pletzer
grasping the concept of a handler, let alone writing one(for heavens sake,
this guy doesn't even understand a linked list!). Whats really sad is that
C-Net's auxhandler's _main() has to be a cut and paste with labotomized
serial routines(he uses a message port rdport to communicate between C-Net
and this aux handler). This handler wasn't even resident, and I found
C-Net's handler wasn't resident either. When I saw char *version = "ver 1.0
(c) Steve Drew 1987", I said to myself "If its cut and paste without
understanding what the functions do, I bet he left this in."  Sure enough,
I found the copyright message inside of cnetaux-handler.  Even the bailout
hack "ENDCLI" is in the C-Net code. 


I'm willing bet this code lifter doesn't have a license with Commodore to 
distribute Workbench with his program either.

And if you want other examples, I don't have the time personally to get into 
it. But they are there. A person who wrote a module for my BBS had his code 
ripped in the past by Ken(I will let that individual come forward himself), 
and his code implemented into C-Net. He sent the source to Ken as an example 
(Ken's request, as a favor), Ken cut and pasted it right into the program. 
Maybe others have simular stories..


/****************************************************************************
 *
 *  Aux Driver V1.0 (c)CopyRight 1987, Steve Drew.  All Rights Reserved.
 *  
 *  Aux-Handler Ver. 1.0  1-May-1987
 *
 *  Steve Drew
 *  52-Castledale Cres. N.E.
 *  Calgary, Ab. Canada.
 *
 ***************************************************************************/




_main()
{


    extern void returnpkt();            /* sends back the packet          */
    extern void returnpktplain();       /* use args in Res1               */
    extern struct DosPacket *taskwait();


           char       *version =        "Ver 1.0 (c) Steve Drew 1987";
    struct Process    *myproc;          /* my process                     */
    struct DosPacket  *mypkt;           /* a pointer to the dos packet    */
    struct DosPacket  *rdpkt;     
    struct DeviceNode *mynode;          /* our device node (parmpkt Arg3) */
    struct FileHandle *fh;              /* a pointer to our file handle   */
    struct MsgPort    *myport;  
    long              run = TRUE;       /* handler main loop flag         */
    u_char            *ptr;             /* ptr for name translation       */
    char              *name,*s;         /* ptr to name for open           */
    int               aux_open = 0;     /* aux open count                 */
    char              auxbuf[AUXBUFSIZE];/* Our type ahead buffer         */
    long              signals;          /* signals that occurred in Wait  */


---


---
            /*
                This is a Hack to allow a bail out of a NEWCLI
                that is using the AUX. By doing say an echo >AUX:ENDCLI
                from another process the reader (being the NEWCLI)
                will be sent a ENDCLI command.
            */


            if (!strcmp(name,"AUX:ENDCLI") && (aux_stat & AUX_RPEND)) {
                strcpy(rdpkt->dp_Arg2,"ENDCLI\n");
                rdpkt->dp_Res1 = 7L;
                returnpktplain(rdpkt, myproc);
                aux_stat &= ~AUX_RPEND;
            }








cnetaux-handler             4116 ----rwed 24-Jun-91 17:51:17


05B0: FF3C90BC 0000000B 6700FCD8 53806700    .<.....g.S.g.
05C0: FCF25380 6700FF6E 60AC6000 FBCC206D    S.g..n``. m
05D0: FFEC42A8 00084E5D 4E755665 7220312E    .B ..N]NuVer 1.
05E0: 30202863 29205374 65766520 44726577    0 (c) Steve Drew
05F0: 20313938 37007264 706F7274 00415558     1987.rdport.AUX
0600: 3A454E44 434C4900 454E4443 4C490A00    :ENDCLI.ENDCLI..
0610: 4E55FFF0 2B7C0000 0001FFF0 48780008    NU.+|.....Hx..
0620: 487A00F4 2F2D0008 4EBA0646 4FEF000C    Hz.o/-..N.FOi..
0630: 4A806704 4E5D4E75 206D0008 50882B48    J.g.N]Nu m..P.+H


Newsgroups: comp.sys.amiga.datacomm