• shared COMM port

    From Elwyn Goldsbury@3:771/160 to All on Sat Jan 20 15:24:20 2001
    has anyone out there written a cmd file or rexx program to terminate or suspend binkleyterm and dial out to their ISP to collect email , newsgroups etc and then restore binkleyterm ??

    I am running OS2 warp 3 and wold like to use the same modem same line for both these tasks .

    Ive also got an intermittent problem where the current version IBM (Attglobal.net) dialer hangs on closing the logon screen and therefore
    I would alos like to develop a ppp script with slattach to make this connection - anuyone done this also for ibm.net connetction or Attglobal.net connection ?

    thanks

    --- Maximus/2 3.01
    * Origin: GenBOARD/2 (Wellington, New Zealand) 64-4-479-1960 (3:771/160)
  • From mark lewis@1:3634/12 to Elwyn Goldsbury on Sat Jan 20 15:32:14 2001
    has anyone out there written a cmd file or rexx program to
    terminate or suspend binkleyterm and dial out to their ISP to
    collect email , newsgroups etc and then restore binkleyterm
    ??

    as i use two seperate modems and frontdoor on my system, i can't say about externally shutting down or suspending bink but i seem to recall in my days of messing around with it that it could run external events... that's where i'd go... external event that fires up your dialout and gathers what it needs, and then when it shuts down, returns to binkley...

    )\/(ark


    * Origin: (1:3634/12)
  • From Mike Luther@1:117/3001 to Elwyn Goldsbury on Sat Jan 20 15:00:10 2001
    No, but if we get an answer that has a timing and connect sniffer involved,

    has anyone out there written a cmd file or rexx
    program to terminate or suspend binkleyterm and dial
    out to their ISP to collect email , newsgroups etc
    and then restore binkleyterm ??

    I'd like some help too.

    I run a batch file that relogs DHCP on drop from my cable ISP, and subsequently
    puts IFIRE back up.

    What I can't figure out how to do, sorta like you, but with nailed up broadband, is determine I've been dropped, from the command or REXX file,autokill IJFIRE< and loop back up to the re-connect start of the command file...

    If nobody responds here I'll post it as a separate thread...

    TiA

    Mike @ 1:117/3001

    --- Maximus/2 3.01
    * Origin: Ziplog Public Port (1:117/3001)
  • From Elwyn Goldsbury@3:771/160 to Mark Lewis on Mon Jan 22 11:12:52 2001
    as i use two seperate modems and frontdoor on my system, i can't say about >externally shutting down or suspending bink but i seem to recall in my days of >messing around with it that it could run external events... that's where i'd >go... external event that fires up your dialout and gathers what it needs, and >then when it shuts down, returns to binkley...

    thanks Mark - thats the way I may need to go - currently I am using two modems - but I would rather have a Cron triggured event that shuts down binkley does the internet connection them fires up binkley again
    - just looking for anyone who may hav put some code together to do it !!

    thankd again

    Elwyn Goldsbury

    --- Maximus/2 3.01
    * Origin: GenBOARD/2 (Wellington, New Zealand) 64-4-479-1960 (3:771/160)
  • From Mike Tripp@1:382/61.1 to Elwyn Goldsbury on Mon Jan 22 05:38:33 2001
    Hello Elwyn.

    22 Jan 01 19:12, Elwyn Goldsbury wrote to Mark Lewis:

    thanks Mark - thats the way I may need to go - currently I am using
    two modems - but I would rather have a Cron triggured event that
    shuts down binkley does the internet connection them fires up binkley again - just looking for anyone who may hav put some code together to
    do it !!

    I had a similar requirement to be able to knock Binkley offline long enough for
    a maintenance routine to trim its logs. Because my processes were scattered between the DOS mailer node and and OS/2 node across a Netware LAN, the solution required a combination of Binkley's flag file support (which can be used to force Bink to exit with a specified errorlevel) and a semaphore file written to the server. The logic flows something like:

    Log process creates flag file to force Bink to exit and then loops, waiting for
    the appearance of a semaphore from the Bink process to acknowledge that it indeed has exited. Binkley process finishes doing whatever work it might have been doing when the flag was created, detects the flag, exits with specified errorlevel, and branches to BAT/CMD logic that creates the semaphore and loops while that semaphore exists. Log process exits wait-for-semaphore loop, does its work, and then deletes semaphore. Binkley exits wait-while-semaphore loop and recycles.

    Sounds convoluted, but it really only involves an additional 6 or 8 lines scattered across the two batch jobs to implement. You'll spend more time in the Bink docs figuring out exactly how that damn flag file has to be named to match your Bink implementation. For mine, it is something like BTEXITxx.yy: where xx is the task number (node) in hex and yy is the errorlevel in hex...but
    this may vary between versions or in XE releases, so check your dox (including WHATSNEW) before you start.

    .\\ike

    --- GoldED/2 2.50+
    * Origin: TechKnowledgy at Work (1:382/61.1)
  • From Stephen Hayes@1:124/5009 to Elwyn Goldsbury on Thu Feb 1 20:43:46 2001
    Elwyn Goldsbury wrote in a message to Mark Lewis:

    as i use two seperate modems and frontdoor on my system, i can't say about >externally shutting down or suspending bink but i seem to recall in
    my days of
    messing around with it that it could run external events... that's where i'd >go... external event that fires up your dialout and gathers what it
    needs, and
    then when it shuts down, returns to binkley...

    thanks Mark - thats the way I may need to go - currently I am
    using two modems - but I would rather have a Cron triggured event
    that shuts down binkley does the internet connection them fires up binkley again - just looking for anyone who may hav put some
    code together to do it !!

    I do that, I think.

    I exit binkley through a normal event to the main batch file, which calls a routine to do the internet connection.

    Haven't seen you in the genealogy echoes for a while.

    c:
    cd \bt

    if exist BBSBATCH.CMD del BBSBATCH.CMD

    BT32 unattended
    If ErrorLevel 255 goto Top
    If Errorlevel 125 goto Irex ; Run Internet Rex for tunnelled mail

    <stuff deleted>

    :Irex
    c:
    cd \utils
    call injoy.cmd
    d:
    cd \belfry
    call tossftp.bat
    c:
    cd \bt

    goto Top

    The above is from my main BINKLEY.CMD file.

    REM *** Run Injoy to connect to ISP
    c:
    cd \injoy
    in-joy Global


    Keep well

    Steve Hayes
    WWW: http://www.geocities.com/Athens/7734/steve.htm
    E-mail: hayesstw@yahoo.com

    --- WtrGate v0.93.p9 Unreg
    # Origin: Khanya BBS, Pretoria, South Africa [012] 333-0004 (8:7903/10)
    * Origin: Echogate [972] 496-0650 http://www.family-bbs.net (1:124/5009)
  • From Peter Knapper@3:772/1.10 to Elwyn Goldsbury on Fri Feb 2 15:21:30 2001
    Hi Elwyn,

    Sorry, I am a bit late jumping into this thread...

    thanks Mark - thats the way I may need to go -
    currently I am using two modems - but I would rather
    have a Cron triggured event that shuts down binkley
    does the internet connection them fires up binkley
    again
    - just looking for anyone who may hav put some code together to do it !!

    Thats exactly what I do here. I have a CRON that triggers many different events
    and one of those events forces Binkely to exit with a specific errorlevel that starts the PPP session. This uses the BTEXITnn.tt flag file method, nn is the error level (in Hex) you wish Binkley to use, tt = task number. EG BTEXT14.01 is exit task 1 with errorlevel 20 (equivalent to F2 key).

    Cheers................pk.


    --- Maximus/2 3.01
    * Origin: Another Good Point About OS/2 (3:772/1.10)
  • From Elwyn Goldsbury@3:771/160 to Stephen Hayes on Sat Feb 3 04:04:20 2001
    thanks for that - i will try it out. when I fix my other bug which is a random hang of the logon windoe of the ATTGLOBAL.net ipdial.exe - maybe injoy is the way to go.

    ive been quietly lurking in the geno area - but theres not a lot of activity. must say GENBOARD gets more traffic interest from users who
    read the msg areas that mirror a selection of rootsweb.com lists

    Elwyn Goldsbury



    --- Maximus/2 3.01
    * Origin: GenBOARD/2 (Wellington, New Zealand) 64-4-479-1960 (3:771/160)
  • From Elwyn Goldsbury@3:771/160 to Peter Knapper on Sun Feb 4 05:20:34 2001
    thanks peter I will investigate that - I am still using bink 2.59
    i presume it has the same function ?

    I woulds also very much like to build a straight command file to invoke ppp and slattach rather than use the attglobal dialer which has a habit of hanging on the logon window

    Elwyn goldsbury

    --- Maximus/2 3.01
    * Origin: GenBOARD/2 (Wellington, New Zealand) 64-4-479-1960 (3:771/160)
  • From Peter Knapper@3:772/1 to Elwyn Goldsbury on Tue Feb 6 03:32:56 2001
    Hi Elwyn,

    thanks peter I will investigate that - I am still
    using bink 2.59 i presume it has the same function ?

    I can't be certain but it would not surprise me to find that it had.

    I woulds also very much like to build a straight
    command file to invoke ppp
    and slattach rather than use the attglobal dialer
    which has a habit of hanging on the logon window

    I don't know the ATT Dialer sorry, however you can script this type of function
    to run OS/2's native PPP, or even with Injoy.

    Cheers............pk.


    --- Maximus/2 3.01
    * Origin: === NZCC Maxie BBS. Ak, NZ +64 9 444-0989 === (3:772/1)