• DOSBOX as background job?

    From Dumas Walker@21:1/175 to All on Mon Jul 30 19:35:06 2018
    For those of you that use DOSBOX instead of dosemu (under linux) to run some of your DOS doors, etc... how do you get DOSBOX to execute in the background without a console?

    I am actually trying to call it from a script that runs in the background that handles maintenance, etc, for the board. I could get dosemu to run without a console, but it often crashes now on my newer machine when running a couple of the programs. DOSBOX does not crash, but it also will not start up in the background when the script calls it. The only way so far I can get it to run is by running the script in the foreground (instead of as a cron job), or by running the DOSBOX bit by hand.

    I read something about a --noconsole switch but I don't see it in the man page or on the wiki, and I also read that it does not work. LOL.

    Since I had read that some folks are using it to run doors, I thought maybe it had improved some since the last time I tried it a few years ago. In this regard, it seems to be the same. :)

    Thanks!
    --- SBBSecho 3.05-Linux
    * Origin: Capitol City Online - capitolcityonline.net (21:1/175)
  • From apam@21:1/101 to Dumas Walker on Tue Jul 31 15:54:50 2018
    For those of you that use DOSBOX instead of dosemu (under linux) to run some of your DOS doors, etc... how do you get DOSBOX to execute in the background without a console?

    I think the environment variable you want to set is

    SDL_VIDEODRIVER="dummy"

    Then DosBox should launch without a window, but you won't be able to see anything that's happening (which is I guess what you want)

    Andrew

    --- Mystic BBS v1.12 A39 2018/04/21 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Dumas Walker@21:1/175 to APAM on Tue Jul 31 16:46:00 2018
    I think the environment variable you want to set is
    SDL_VIDEODRIVER="dummy"
    Then DosBox should launch without a window, but you won't be able to see anything that's happening (which is I guess what you want)

    Yes, that sounds about right. I don't really care whether I see it or not.
    As I am not seeing what is happening in the linux script that calls it, and
    it apparently won't open if a background script calls it and it cannot find
    a console, I think that is what I want. :)

    I will give it a try!

    ---
    þ SLMR 2.1a þ What do you mean, QWK?? It took me over an hour to read!!
    * Origin: Capitol City Online - capitolcityonline.net (21:1/175)
  • From Ed Vance@21:1/175 to apam on Tue Jul 31 09:31:00 2018
    07-31-18 15:54 apam wrote to Dumas Walker about Re: DOSBOX as background
    Thanks Andrew,

    A long time ago I read the DOSBOX docs and then tried learning how to use it
    on this XP computer to run some DOS things that I wanted to see how they
    would do with DOSBOX on the XP instead of turning on the 486.

    I was able to do what I wanted to do.

    I learned DOSBOX isn't just for DOS Games, it can be used with other
    types of programs too.

    Thanks for helping my SysOp, Mike.

    I know there is a lot of "Head Scratching" being done after the Power
    Switch on a computer is pressed.
    I probably caused Mike some "Head Scratching" at times too.
    Sorry Mike, but there probably will be More To Follow.............


    @MSGID: <5B5FDEEE.3581.fsx_bbs@capitolcityonline.net>
    @REPLY: <5B5FA0AA.3566.fsx_bbs@capitolcityonline.net>
    For those of you that use DOSBOX instead of dosemu (under linux) to run some of your DOS doors, etc... how do you get DOSBOX to execute in the background without a console?

    I think the environment variable you want to set is

    SDL_VIDEODRIVER="dummy"

    Then DosBox should launch without a window, but you won't be able to
    see anything that's happening (which is I guess what you want)

    Andrew


    ... I took the road less traveled & ended up with no phone signal.
    --- MultiMail/MS-DOS v0.49
    * Origin: Capitol City Online - capitolcityonline.net (21:1/175)