dosemu interbbs.bat
everything launches and works fine.
Is the .bat completing it's tasks, and is there an exitemu at the end of it?
There is no exitemu at the end of the script i will try adding
that, but it doesn't seem to be necessary when running it from
shell, and none of my batch scripts for the door games have exitemu
in them.
As for if it's completing its tasks i'm not really sure. it was
hung up for a few hours so i had to manually kick things off when i
woke up.
Anyone know how to make the dosemu part not hangup? Unfortunately I forgot to check /home/mystic/.dosemu/boot.log this morning when it was hung so I'm not sure if there was anything indicated in logs.
I would add "echo We got this/that done >>somefile.txt" in a couple
places in the .bat so you can get a better idea if stuff is happening as you planned.
Anyone know how to make the dosemu part not hangup? Unfortunately I forgot to check /home/mystic/.dosemu/boot.log this morning when it wa hung so I'm not sure if there was anything indicated in logs.
DO you mean that the dosemu call you make doesn't return back to the bash script? If that is the case, in the .bat file you are calling add
exitemu as the last command and it will exit dosemu and process the rest of your bash script.
I would add "echo We got this/that done >>somefile.txt" in a
couple places in the .bat so you can get a better idea if
stuff is happening as you planned.
Good idea, some old fashioned logging ;)
dosemu /dumb netmaint.bat /DOS
That is correct. I changed the command to run as dosemu /dumb interbbs.bat /DOS and added exitemu to interbbs.bat and it worked this time.
Now to try it in the non-dumb version to see if the exitemu fixed it or the /dumb did.
Looks like /dumb was not necessary, just adding exitemu to the end
of the bat seems to fix it.
I am still curious as to why this is needed when launched from a
shell script but not needed when launched via DD from mystic
itself.
Mystic must have another way of quiting dosemu. I'll have to look into that one day. All of my bat files that run dos doors end with exitemu to get back to my linux prompt. It's just that .bat files that have exitemu, not the .sh scripts.
If I run dosemu from the command line to do some dosy stuff I have to enter "exitemu" to quit, or else it just sits there waiting for input.
if i run dosemu somebat.bat it executes the bat and returns me to
prompt (without exitemu anywhere needed)
I am still curious as to why this is needed when launched from a shell script but not needed when launched via DD from mystic itself.
Mystic must have another way of quiting dosemu. I'll have to look into that one day. All of my bat files that run dos doors end with exitemu to get back to my linux prompt. It's just that .bat files that have exitemu, not the .sh scripts.
Hmmm, I don't have exitemu in any of my .bat files that run in dosemu. Once they finish, the window is closed, and the .sh script continues...
I'm pretty convinced that exitemu is only required if -E is passed when calling and actually the -dumb is what fixed my interbbs.bat.
Hmmm, I don't have exitemu in any of my .bat files that run in dosemu. Once they finish, the window is closed, and the .sh script continues...
Hmmm, I don't have exitemu in any of my .bat files that run in dosemu Once they finish, the window is closed, and the .sh script continues.
The key with you is the word "window" as you are running a windows
manager and xorg. Not the same if you run headless.
Hmmm, I don't have exitemu in any of my .bat files that run in
dosemu. Once they finish, the window is closed, and the .sh script continues...
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 96 |
Nodes: | 16 (0 / 16) |
Uptime: | 15:32:17 |
Calls: | 4,606 |
Calls today: | 7 |
Files: | 8,491 |
Messages: | 349,365 |
Posted today: | 1 |