Subj : exec_xtrn
To   : ALL
From : Jim King
Date : Fri Nov 19 1999 03:03 am

DM>@TZ:41e0
DM>RE: exec_xtrn
DM>BY: Jim King to ALL on Thu Nov 18 199
DM>:20 pm

DM> > Is this command work only with programs that reside in the \sbbs\exec
DM> > dir? Can I stick a drive and path in front of the executible?
DM> >
DM> > Yes, I tried that, and it failed miseribly.
DM> >
DM> > #cmdkey /B
DM> > #        print "\r\nBulletin Menu\r\n"
DM> > #                 EXEC_XTRN "C:\sbbs\xtrn\dbullet\DBULLET"
DM> > #              args: BULLETIN
DM> > #                end_cmd
DM> >
DM> > I am not sure as to the next to the last line being needed but the BaJa
DM> > docs said it should be the internal code.

DM>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).

DM>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:

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

DM>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