• xtrn/dpoker/dpoker

    From deuce@VERT to CVS commit on Wed Jul 19 03:17:15 2017
    xtrn/dpoker dpoker 1.1 1.2
    Update of /cvsroot/sbbs/xtrn/dpoker
    In directory cvs:/tmp/cvs-serv23767/dpoker

    Modified Files:
    dpoker
    Log Message:
    Avoid the non-standard "arch" command and use "uname -m"
    Use the same commands as the build system to get our mangled OS-arch format
    Add icc and clang compiler prefixes since our build system supports them. Prefered order: gcc, clang, icc.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Thu Aug 17 18:37:03 2017
    xtrn/dpoker dpoker 1.2 1.3
    Update of /cvsroot/sbbs/xtrn/dpoker
    In directory cvs:/home/rswindell/sbbs/xtrn/dpoker

    Modified Files:
    dpoker
    Log Message:
    Fix last commit as reported by Mark lewis


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert|cvs|bbs].synchro.net
  • From mark lewis@VERT to rswindell on Fri Aug 18 13:24:52 2017
    On 2017 Aug 17 14:37:02, you wrote to CVS commit:

    xtrn/dpoker dpoker 1.2 1.3
    Update of /cvsroot/sbbs/xtrn/dpoker
    In directory cvs:/home/rswindell/sbbs/xtrn/dpoker

    Modified Files:
    dpoker
    Log Message:
    Fix last commit as reported by Mark lewis

    both of

    xtrn/dpoker/dpconfig
    xtrn/sbj/sbjclean

    need the same fix as well...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Clippity-clop, clippity-clop, BLAM! - Amish Drive-By Shooting
    ---
    * Origin: (1:3634/12.73)
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert|cvs|bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Aug 18 18:11:13 2017
    xtrn/dpoker dpoker 1.3 1.4
    Update of /cvsroot/sbbs/xtrn/dpoker
    In directory cvs:/home/rswindell/sbbs/xtrn/dpoker

    Modified Files:
    dpoker
    Log Message:
    Utilize the new common exec/unixstub.sh rather than the previous copy/pasta hack.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Fri Aug 18 18:12:38 2017
    Re: xtrn/dpoker/dpoker
    By: mark lewis to rswindell on Fri Aug 18 2017 09:24 am


    On 2017 Aug 17 14:37:02, you wrote to CVS commit:

    xtrn/dpoker dpoker 1.2 1.3
    Update of /cvsroot/sbbs/xtrn/dpoker
    In directory cvs:/home/rswindell/sbbs/xtrn/dpoker

    Modified Files:
    dpoker
    Log Message:
    Fix last commit as reported by Mark lewis

    both of

    xtrn/dpoker/dpconfig
    xtrn/sbj/sbjclean

    need the same fix as well...

    Thanks. I don't have a dpconfig stub script however (not in CVS).

    digital man

    Synchronet "Real Fact" #14:
    SBBSecho was originally written by Allen Christiansen (King Drafus) in 1994. Norco, CA WX: 82.9°F, 47.0% humidity, 9 mph ESE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Digital Man on Sat Aug 19 00:50:06 2017
    On 2017 Aug 18 14:12:38, you wrote to me:

    both of

    xtrn/dpoker/dpconfig
    xtrn/sbj/sbjclean

    need the same fix as well...

    Thanks. I don't have a dpconfig stub script however (not in CVS).

    that's weird... really weird... i wonder if it was taken out when dpclean was removed? i'm pretty sure that we got it from CVS... i don't know how else we would have gotten it unless max maybe made it when she saw dpconfig in the binary directory... probably thought we'd need this script to execute dpconfig to set the game up... it makes sense since the game binary is called from a script so the same type of script should/would be needed for dpconfig, too...

    anyway, the script is/was exactly like the others... here's what we have (below)... it is missing the new stuff, of course... as far as i know, it is only for doing the configuration but with the change from dpoker.cfg to dpoker.ini, maybe dpconfig isn't needed any more?? or maybe it is built into dpoker like dpclean was done? i don't see that in main() with the other two options, though...

    ----->8 snip 8<-----
    #!/bin/sh
    os=`uname | tr "[A-Z]" "[a-z]"`
    exename=`basename $0`
    dirname=`dirname $0`
    if [ -x $dirname\/gcc.$os.exe.release/$exename ]
    then exec $dirname\/gcc.$os.exe.release/$exename $@
    elif [ -x $dirname\/gcc.$os.exe.debug/$exename ]
    then exec $dirname\/gcc.$os.exe.debug/$exename $@
    elif [ -x $dirname\/gcc.$os.x64.exe.release/$exename ]
    then exec $dirname\/gcc.$os.x64.exe.release/$exename $@
    elif [ -x $dirname\/gcc.$os.x64.exe.debug/$exename ]
    then exec $dirname\/gcc.$os.x64.exe.debug/$exename $@
    elif [ -x $dirname\/*.$os.exe.release/$exename ]
    then exec $dirname\/*.$os.exe.release/$exename $@
    elif [ -x $dirname\/*.$os.exe.debug/$exename ]
    then exec $dirname\/*.$os.exe.debug/$exename $@
    elif [ -x $dirname\/*.$os.exe.*/$exename ]
    then exec $dirname\/*.$os.exe.*/$exename $@
    fi
    ----->8 snip 8<-----


    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Zoophiles see the entire animal kingdom as potential dates!
    ---
    * Origin: (1:3634/12.73)
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Sat Aug 19 01:22:50 2017
    Re: xtrn/dpoker/dpoker
    By: mark lewis to Digital Man on Fri Aug 18 2017 08:50 pm

    xtrn/dpoker/dpconfig

    Thanks. I don't have a dpconfig stub script however (not in CVS).

    that's weird... really weird... i wonder if it was taken out when dpclean was removed?

    I see no evidence in CVS or anywhere else that I (or we) ever created a dpclean stub.

    i'm pretty sure that we got it from CVS... i don't know how
    else we would have gotten it unless max maybe made it when she saw dpconfig in the binary directory... probably thought we'd need this script to execute dpconfig to set the game up...

    That explanation makes sense.

    it makes sense since the game binary
    is called from a script so the same type of script should/would be needed for dpconfig, too...

    Well... those stubs are for online programs (e.g. stubs) where dpconfig was not intended to be executed online. I don't even know if it'll work that way.

    digital man

    Synchronet "Real Fact" #28:
    Rob Swindell's first computer was a Commodore VIC-20 (1980).
    Norco, CA WX: 70.2°F, 73.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Digital Man on Sat Aug 19 17:31:34 2017
    On 2017 Aug 18 21:22:50, you wrote to me:

    that's weird... really weird... i wonder if it was taken out when
    dpclean was removed?

    I see no evidence in CVS or anywhere else that I (or we) ever created
    a dpclean stub.

    yeah, i didn't see anything, either...

    i'm pretty sure that we got it from CVS... i don't know how else we
    would have gotten it unless max maybe made it when she saw dpconfig
    in the binary directory... probably thought we'd need this script to
    execute dpconfig to set the game up...

    That explanation makes sense.

    yeah, especially since sysops like us just look at the files instead of reading
    the docs :lol:

    dpoker.doc does say to run dpconfig, though... and dpconfig does handle the dpoker.ini file... knowing that dpconfig will be in one of the debug or release
    binary's directories is something else ;)

    it makes sense since the game binary is called from a script so the
    same type of script should/would be needed for dpconfig, too...

    Well... those stubs are for online programs (e.g. stubs) where
    dpconfig was not intended to be executed online. I don't even know if it'll work that way.

    yeah, we weren't looking for a way to run it online... just a way to run it, period... althought it should be able to be run online from a shell if we're trying to set things up from remote... i'm kinda thinking that maybe it was just overlooked and no one has tried to set the game up using it so the situation hasn't been found until now ;)

    thanks for looking at it... sorry if it seems like we're pushing on about it...
    we're not trying to do that...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Unexplained error. Please tell us how it happened.
    ---
    * Origin: (1:3634/12.73)
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net