• exec_xtrn

    From Jim King@VERT to ALL on Thu Nov 18 08:20:00 1999
    Is this command work only with programs that reside in the \sbbs\exec
    dir? Can I stick a drive and path in front of the executible?

    Yes, I tried that, and it failed miseribly.

    #cmdkey /B
    # print "\r\nBulletin Menu\r\n"
    # EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"
    # args: BULLETIN
    # end_cmd

    I am not sure as to the next to the last line being needed but the BaJa
    docs said it should be the internal code.


    * OLX 2.2 TD * It's only a hobby ... only a hobby ... only a

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Digital Man@VERT to Jim King on Thu Nov 18 06:59:00 1999
    RE: exec_xtrn
    BY: Jim King to ALL on Thu Nov 18 1999 04:20 pm

    Is this command work only with programs that reside in the \sbbs\exec
    dir? Can I stick a drive and path in front of the executible?

    Yes, I tried that, and it failed miseribly.

    #cmdkey /B
    # print "\r\nBulletin Menu\r\n"
    # EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"
    # args: BULLETIN
    # end_cmd

    I am not sure as to the next to the last line being needed but the BaJa
    docs said it should be the internal code.

    EXEC_XTRN is used to execute configured online external programs ONLY. The argument to EXEC_XTRN (the word that you put in quotes) must be the internal code for the external program (as shown in SCFG). The argument is not the name of the executable (with or without a path).

    The args: line is part fo the Baja documentation, not the code. See the section titled "Argument Names" on page 21 of BAJA.DOC. So, your example should be changed to:

    cmdkey /B
    print "\r\nBulletin Menu\r\n"
    EXEC_XTRN "BULLETIN"
    end_cmd

    Rob

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From TommyKnocker@VERT to Jim King on Thu Nov 18 09:13:00 1999
    RE: exec_xtrn
    BY: Jim King to ALL on Thu Nov 18 1999 04:20 pm

    # EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"

    exec_xtrn is to execute a program already configured in scfg as an external.
    Look in the src I sent you and you will see several examples of exec_xtrn
    mmKnkr


    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Beta@VERT to Jim King on Thu Nov 18 13:10:00 1999
    RE: exec_xtrn
    BY: Jim King to ALL on Thu Nov 18 1999 04:20 pm

    Is this command work only with programs that reside in the \sbbs\exec
    dir? Can I stick a drive and path in front of the executible?

    Yes, I tried that, and it failed miseribly.

    #cmdkey /B
    # print "\r\nBulletin Menu\r\n"
    # EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"
    # args: BULLETIN
    # end_cmd

    I am not sure as to the next to the last line being needed but the BaJa
    docs said it should be the internal code.

    This should work fine, except that you are trying to execute an External Program, from the External Programs menu, which if your trying to do, will work fine if setup. Anyways, why I'm getting at is that you can not put pathin a EXEC_XTRN, if that's what you wwant to do then delete the ARGS line, and use EXEC "Bleah"

    (This is a purely from my memory on Baja programming, and I may not be !))% correct, but I think I am. :)
    Beta

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Jim King@VERT to ALL on Fri Nov 19 03:03:00 1999
    @TZ:41e0
    RE: exec_xtrn
    BY: Jim King to ALL on Thu Nov 18 199
    :20 pm

    Is this command work only with programs that reside in the \sbbs\exec dir? Can I stick a drive and path in front of the executible?

    Yes, I tried that, and it failed miseribly.

    #cmdkey /B
    # print "\r\nBulletin Menu\r\n"
    # EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"
    # args: BULLETIN
    # end_cmd

    I am not sure as to the next to the last line being needed but the BaJa docs said it should be the internal code.

    EXEC_XTRN is used to execute configured online external programs ONLY. The DM>argument to EXEC_XTRN (the word that you put in quotes) must be the internal DM>code for the external program (as shown in SCFG). The argument is not the na DM>of the executable (with or without a path).

    The args: line is part fo the Baja documentation, not the code. See the sect DM>titled "Argument Names" on page 21 of BAJA.DOC. So, your example should be DM>changed to:

    cmdkey /B
    print "\r\nBulletin Menu\r\n"
    EXEC_XTRN "BULLETIN"
    end_cmd

    Rob
    And I seem to have exactly that, and yet it just blinks on screen.

    I clipped a bit from default.src and captured the scfg screen.

    From Default.SRC

    cmdkey A
    auto_message
    end_cmd

    cmdkey B
    print hBrowse/New Message Scan\r\n"
    msg_browse_scan
    end_cmd

    ###marker
    cmdkey /B
    print "\r\nBulletin Menu\r\n"
    EXEC_XTRN "BULLETIN"
    end_cmd


    cmdkey C
    chat_section
    end_cmd



    From SCFG


    +[_][?]----------------------------------------------------+
    Domain Bulletins ----------------------------------------------------------
    Name Domain Bulletins
    Internal Code BULLETIN
    Start-up Directory C:\SBBS\XTRN\DBULLET
    Command Line dbullet /new
    Clean-up Command Line
    Execution Cost None
    Access Requirements
    Execution Requirements
    Multiple Concurrent Users Yes
    Intercept I/O Interrupts Yes
    Swap BBS out of Memory Yes
    Modify User Data No
    Execute on Event Logon, Only
    BBS Drop File Type (R) Synchronet XTRN.DAT
    Place Drop File In Node Directory
    Time Options... +----------------------------------------------------------+

    You must pardon me for the length of the quote.


    Is the /new switch killing me on this? Seems like after it runs once it
    wont show again if no new bulletins are present. worth an experiment

    Ok so that was it For those that don't know, Dbulletin has some command
    line switches on of which is /new this causes the menu to not be show
    if there are no new bulletins. I removed the /new switch and now it asks
    if you want to read the bulletins if there are none you haven't read
    yet. other switches are /force and /noask. Niffty program.


    * OLX 2.2 TD * Press any key to continue or any other key to quit

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From TommyKnocker@VERT to Jim King on Fri Nov 19 00:41:00 1999
    RE: exec_xtrn
    BY: Jim King to ALL on Fri Nov 19 1999 11:03 am

    Command Line dbullet /new

    I have not meesed with /new, I just run it normally from the main menu.

    Swap BBS out of Memory Yes

    No need to swap this one.
    mmKnkr


    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Beta@VERT to Jim King on Fri Nov 19 04:45:00 1999
    RE: exec_xtrn
    BY: Jim King to ALL on Fri Nov 19 1999 11:03 am

    Is the /new switch killing me on this? Seems like after it runs once it
    wont show again if no new bulletins are present. worth an experiment

    Ok so that was it For those that don't know, Dbulletin has some command
    line switches on of which is /new this causes the menu to not be show
    if there are no new bulletins. I removed the /new switch and now it asks
    if you want to read the bulletins if there are none you haven't read
    yet. other switches are /force and /noask. Niffty program.

    Not to take anything away from Rob, but if you keep haing probs with this, try Sport! Bulletin, wait, you have that set for Logon only?? Sync may not want to run it again, besides at login...
    Beta

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Jim King@VERT to TOMMYKNOCKER on Fri Nov 19 03:56:00 1999
    @TZ:41e0
    RE: exec_xtrn
    BY: Jim King to ALL on Thu Nov 18 199
    :20 pm

    # EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"

    exec_xtrn is to execute a program already configured in scfg as an
    external.
    Look in the src I sent you and you will see several examples of exec_x
    mmKnkr

    The hold up wasn't with the info you and Digital Man were giving me but
    rather the option I had selected for Dbullet. Of course if I had NEW
    messages only selected nad the user had just gone thru the Dbullet door.
    there would be nothing NEW to see and it didn't show anything. I changed
    it to NOASK and all works well. Just needed a good nights sleep to let
    it all perk.

    Big thanks though to both of you for your help. I had asked Rob about
    this on the sync board and he gave me pretty much the same answer. I
    just couldn't make it fit. I thank him for giving me a straight answer
    when someone else might have blown it off as someone not able to chew
    gum and walk at the same time.

    BTW is Domain Bulletin still in operation?


    * OLX 2.2 TD * Chicken heads are the chief food of captive alligators.

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Jim King@VERT to BETA on Fri Nov 19 04:00:00 1999
    @TZ:41e0
    RE: exec_xtrn
    BY: Jim King to ALL on Thu Nov 18 199
    :20 pm

    Is this command work only with programs that reside in the \sbbs\exec dir? Can I stick a drive and path in front of the executible?

    Yes, I tried that, and it failed miseribly.

    #cmdkey /B
    # print "\r\nBulletin Menu\r\n"
    # EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"
    # args: BULLETIN
    # end_cmd

    I am not sure as to the next to the last line being needed but the BaJa docs said it should be the internal code.

    This should work fine, except that you are trying to execute an External BE>Program, from the External Programs menu, which if your trying to do, will w BE>fine if setup. Anyways, why I'm getting at is that you can not put pathin a BE>EXEC_XTRN, if that's what you wwant to do then delete the ARGS line, and use BE>EXEC "Bleah"

    (This is a purely from my memory on Baja programming, and I may not be !))% BE>correct, but I think I am. :)
    Beta

    No path needed as I wouldn't be executing the pogram from that line but
    rather calling the door from the internal database. My problem was the
    config I had for the bulletins. Running the program twice would never
    show anything the second time with the /NEW switch. Once I realised that
    it was simple. I ended up chaging it to /NOASK. Looks good amd tastes
    great! Thanks!

    * OLX 2.2 TD * I'm in shape ... round's a shape isn't it?

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Digital Man@VERT to Beta on Fri Nov 19 07:45:00 1999
    RE: exec_xtrn
    BY: Beta to Jim King on Fri Nov 19 1999 12:45 pm

    Not to take anything away from Rob, but if you keep haing probs with this, t Sport! Bulletin, wait, you have that set for Logon only?? Sync may not want run it again, besides at login...

    You woudln't be taking anything away from me, Domain Bulletins isn't my program. <shrug>

    Rob

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Beta@VERT to Digital Man on Fri Nov 19 08:02:00 1999
    RE: exec_xtrn
    BY: Digital Man to Beta on Fri Nov 19 1999 03:45 pm

    Not to take anything away from Rob, but if you keep haing probs with this Sport! Bulletin, wait, you have that set for Logon only?? Sync may not w run it again, besides at login...

    You woudln't be taking anything away from me, Domain Bulletins isn't my program. <shrug>


    Hum.... I thought it was... :) <G> Correction noted. :)
    Beta

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Angus Netfoot@VERT to Beta on Fri Nov 19 08:09:00 1999
    RE: exec_xtrn
    BY: Beta to Digital Man on Fri Nov 19 1999 04:02 pm

    You woudln't be taking anything away from me, Domain Bulletins isn't my program. <shrug>


    Hum.... I thought it was... :) <G> Correction noted. :)

    DOmain was half of the first DOVE-net.

    Rob's board, VErtrauen, was the other half.

    Some history for you youngsters! :)

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Jim King@VERT to TOMMYKNOCKER on Fri Nov 19 09:00:00 1999
    TO#@TZ:41e0
    #RE: exec_xtrn
    #BY: Jim King to ALL on Fri Nov 19 199
    #:03 am

    TO# > Command Line dbullet /new
    #
    # I have not meesed with /new, I just run it normally from the main men
    #
    # > Swap BBS out of Memory Yes
    #
    # No need to swap this one.
    # mmKnkr

    Prolly no need to swap most of the doors out but I set them all as I
    have the RAM. What can it hurt?

    Most of the (all actually) don't read the bulletins. But I keep hoping.

    So to run a program All I need to do is define it in SCFG and then add
    the menu item as with this example... some possiblities come to mind.

    Dang I wish I were C literate. or Pearl. I used to know a smattering of
    Basic. Smattering = use a decimal and a lot of zeros. (-:


    * OLX 2.2 TD * Proofread carefully to see if you any words out.

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Digital Man@VERT to Jim King on Fri Nov 19 09:41:00 1999
    RE: exec_xtrn
    BY: Jim King to TOMMYKNOCKER on Fri Nov 19 1999 05:00 pm

    # > Swap BBS out of Memory Yes
    #
    # No need to swap this one.
    # mmKnkr

    Prolly no need to swap most of the doors out but I set them all as I
    have the RAM. What can it hurt?

    It won't hurt anything, but it doesn't really "do" anything either. The BBS can't swap to run a Baja module (since the BBS must be resident in memory to interpret the .bin file), so that parameter (along with the startup directory, intercept I/O, etc) is ignored in the case of Baja modules.

    Rob

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Beta@VERT to Angus Netfoot on Fri Nov 19 10:38:00 1999
    RE: exec_xtrn
    BY: Angus Netfoot to Beta on Fri Nov 19 1999 04:09 pm

    Hum.... I thought it was... :) <G> Correction noted. :)

    DOmain was half of the first DOVE-net.

    Rob's board, VErtrauen, was the other half.

    Some history for you youngsters! :)


    I knew this, but I still thought that Domain was Rob's codeing.... Oh well. :) Beta

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Jim King@VERT to DIGITAL MAN on Sat Nov 20 08:50:00 1999
    DM#@TZ:41e0
    #RE: exec_xtrn
    #BY: Jim King to TOMMYKNOCKER on Fri N
    #9 1999 05:00 pm

    DM# > # > Swap BBS out of Memory Yes
    # > #
    # > # No need to swap this one.
    # > # mmKnkr
    # >
    # > Prolly no need to swap most of the doors out but I set them all as I
    # > have the RAM. What can it hurt?

    DM#It won't hurt anything, but it doesn't really "do" anything either. The BBS
    #can't swap to run a Baja module (since the BBS must be resident in memory to
    #interpret the .bin file), so that parameter (along with the startup director
    #intercept I/O, etc) is ignored in the case of Baja modules.

    DM#Rob

    Well then how do you tell which games will benifit and which ones wont?
    I have never read a game doc that recomended the BBS software be swapped
    out or not.

    * OLX 2.2 TD * I'm in shape ... round's a shape isn't it?

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From TommyKnocker@VERT to Jim King on Sat Nov 20 07:32:00 1999
    RE: exec_xtrn
    BY: Jim King to DIGITAL MAN on Sat Nov 20 1999 04:50 pm

    Well then how do you tell which games will benifit and which ones wont?
    I have never read a game doc that recomended the BBS software be swapped
    out or not.

    The one way to know for sure is it you get out of memory errors. Also if things run real slow with a particular game then try swapping it. Most of my run of the mill door games are swapped. Most game docs will mention it if it is needed.
    mmKnkr


    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From PistolGrip@VERT to Angus Netfoot on Fri Nov 19 20:05:00 1999
    RE: exec_xtrn
    BY: Angus Netfoot to Beta on Fri Nov 19 1999 04:09 pm

    DOmain was half of the first DOVE-net.

    Rob's board, VErtrauen, was the other half.

    Some history for you youngsters! :)

    The scary thing is I was actually like user 12 or something on Domain. What year was that anyway? :->

    Dave

    ---
    Synchronet WasteLand BBS telnet://wasteland.darktech.org
  • From PistolGrip@VERT to Jim King on Fri Nov 19 20:20:00 1999
    RE: exec_xtrn
    BY: Jim King to TOMMYKNOCKER on Fri Nov 19 1999 05:00 pm

    Prolly no need to swap most of the doors out but I set them all as I
    have the RAM. What can it hurt?

    Well, I still think that would depend. If you are executing a DOS program you might not have enough Conventional Memory. Even running under Windows the Largest Executable program size might depend upon your conventional memory which is limited to 640k. Regardless of how much RAM.

    Do a ;MEM command from Sync's Main Menu and you'll see the maximum
    conventional memory available with the BBS loaded. Which is the largest possible program that you can execute. Theoretically.

    I only had trouble with a couple apps here that wouldn't run swapped out. A Upload Tester and one Door which i don't seem ot recall the name of. I have 256Mb of RAM so I don't think it was a RAM issue :-)

    I set all the BBS windows to 600k Conventional Memory Minimum and I usually show about 279k free Conventional from the BBS Prompt.

    Dave

    ---
    Synchronet WasteLand BBS telnet://wasteland.darktech.org
  • From Beta@VERT to Digital Man on Sun Nov 21 10:10:00 1999
    RE: exec_xtrn
    BY: Digital Man to Jim King on Sat Nov 20 1999 10:30 pm

    Any external program that is actually a "program" (.exe file) and not a Baja module (.bin), may benefit from the additional memory supplied by swapping t BBS out of memory.

    I was wondering if we'd see that tag line again! :) Welcome back Vert!
    Beta

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Beta@VERT to Digital Man on Mon Nov 22 11:56:00 1999
    RE: exec_xtrn
    BY: Digital Man to Beta on Mon Nov 22 1999 12:50 pm

    I was wondering if we'd see that tag line again! :) Welcome back Vert!

    Oops! I guess I did post that message from here. <blush> I guess the cat is starting to sneak out of her bag...

    LOL! I'm amazed there hasn't been the reaction I predicted (General all out loss of control over the return of Vert. :)
    Beta

    ---
    Synchronet telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Lord Time@VERT to Digital Man on Mon Nov 22 14:22:00 1999
    RE: exec_xtrn
    BY: Digital Man to Beta on Mon Nov 22 1999 12:50 pm

    I was wondering if we'd see that tag line again! :) Welcome back Vert!

    Oops! I guess I did post that message from here. <blush> I guess the cat is starting to sneak out of her bag...

    yep, it's out of the bag.


    ---
    Synchronet Time Warp of the Future (360) 891-0969 Vancouver, Wa.
  • From Lord Time@VERT to Beta on Mon Nov 22 14:24:00 1999
    RE: exec_xtrn
    BY: Beta to Digital Man on Mon Nov 22 1999 07:56 pm

    I was wondering if we'd see that tag line again! :) Welcome back Vert

    Oops! I guess I did post that message from here. <blush> I guess the cat starting to sneak out of her bag...

    LOL! I'm amazed there hasn't been the reaction I predicted (General all out loss of control over the return of Vert. :)

    your right, but there might be, on the fido-net side, of this net.


    ---
    Synchronet Time Warp of the Future (360) 891-0969 Vancouver, Wa.
  • From PistolGrip@VERT to Digital Man on Mon Nov 22 20:03:00 1999
    RE: exec_xtrn
    BY: Digital Man to Beta on Mon Nov 22 1999 12:50 pm

    RE: exec_xtrn
    BY: Beta to Digital Man on Sun Nov 21 1999 05:10 pm

    I was wondering if we'd see that tag line again! :) Welcome back Vert!

    Oops! I guess I did post that message from here. <blush> I guess the cat is starting to sneak out of her bag...


    Hehe and what a nice cat she is... :-)

    Dave

    ---
    Synchronet WasteLand BBS telnet://wasteland.darktech.org