I'm sorry, but I've read through these, and am now more confused. http://wiki.synchro.net/howto:dosemu
http://www.icequake.net/bbs/syncmods/
When I setup SBBS, I could have swore I did USE_DOSEMU=1, but when I open a terminal in Linux, the drives do not correspond to the drives in these how-to's.
C:/ Looks blank. Just a tmp, autoexec.bat and config.sys
D:/ looks like either bin or usr
E:/ Looks like root.
I'm supposed to goto E:/ and then goto D:/ for the dropfile, and I just seem to be missing something here.
I got the sunrise doors and would like to set them up, but just feel I am at a roadblock right now.
Please explain exactly how you "open a terminal in Linux" and then see DOS drive mappings. That's not how those mappings work - they're only mapped when DOSEMU is being run and specifically, when run from sbbs (e.g. not from a shell prompt).
Re: Running DOS doors in Synchronet
By: Digital Man to Grease on Wed Jan 08 2020 08:41 pm
Please explain exactly how you "open a terminal in Linux" and then see DOS drive mappings. That's not how those mappings work - they're only mapped when DOSEMU is being run and specifically, when run from sbbs (e.g. not from a shell prompt).
I click on terminal icon, type in dosemu, and I get a new terminal window with DOS in it.
So, the remap is done through sbbs? OK. How would I be able to check? Or to be able to see if it is there?
I'm in the dark about running DOS in Linux and if something goes wrong, I have no clue what happened.
When I setup SBBS, I could have swore I did USE_DOSEMU=1, but when I open a terminal in Linux, the drives do not correspond to the drives in these how-to's.
C:/ Looks blank. Just a tmp, autoexec.bat and config.sys
D:/ looks like either bin or usr
E:/ Looks like root.
I'm supposed to goto E:/ and then goto D:/ for the dropfile, and I just seem to be missing something here.
whereas from within sbbs, the .dosemu directory is placed in sbbs/ctrl and sbbs sets up its own environment for that one...
Re: Running DOS doors in Synchronet
By: Rampage to Grease on Thu Jan 09 2020 01:55 pm
whereas from within sbbs, the .dosemu directory is placed in sbbs/ctrl and sbbs sets up its own environment for that one...
Is there a way to see if it's there, or is it something that creates itself when you fire it up to run a door?
Please explain exactly how you "open a terminal in Linux" and then see DOS drive mappings. That's not how those mappings work - they're only mapped when DOSEMU is being run and specifically, when run from sbbs (e.g. not from a shell prompt).
I click on terminal icon, type in dosemu, and I get a new terminal window with DOS in it.
So, the remap is done through sbbs? OK. How would I be able to check? Or to be able to see if it is there?
I'm in the dark about running DOS in Linux and if something goes wrong, I have no clue what happened.
I've never used/run DOSemu myself, so my ability to help debug any issues is limited.
What's the output you're getting when trying to run the game trough the External programs menu in Synchronet?
Do you have emusetup.bat in your ctrl dir?
Did a external.bat file get created in your node directory when you ran the game?
I'm sorry, but I've read through these, and am now more confused. http://wiki.synchro.net/howto:dosemu
http://www.icequake.net/bbs/syncmods/
When I setup SBBS, I could have swore I did USE_DOSEMU=1, but when I open a terminal in Linux, the drives do not correspond to the drives in these how-to's.
C:/ Looks blank. Just a tmp, autoexec.bat and config.sys
D:/ looks like either bin or usr
E:/ Looks like root.
I'm supposed to goto E:/ and then goto D:/ for the dropfile, and I just seem to be missing something here.
I got the sunrise doors and would like to set them up, but just feel I am at a roadblock right now.
whereas from within sbbs, the .dosemu directory is placed insbbs/ctrl and sbbs sets up its own environment for that one...
Is there a way to see if it's there, or is it something that creates itself when you fire it up to run a door?
Do you have emusetup.bat in your ctrl dir?
What OS are you running? These instructions should work if you are running Ubuntu. I've never got dosemu to work on CentOS.
When you run a DOS door it'll create external.bat in your node directory.
Run the following commends to setup your environment
set DSZLOG=D:\PROTOCOL.LOG
set SBBSNODE=D:
set SBBSNNUM=1
set SBBSCTRL=F: (more)
test -d "$SBBSCTRL/.dosemu" && echo "it exists!" || echo "sorry..."
i copied bnu.com and x00.exe into my sbbs/ctrl/.dosemu/drive_c and modified my autoexec.bat to load one of them all the time... i also modified my config.sys to always load nansi.sys so ANSI is always interpreted... no emusetup.bat needed at all ;)
/sbbs/ctrl/.dosemu/drive_c/tmp/
/sbbs/ctrl/.dosemu/drive_c/temp/
/sbbs/ctrl/.dosemu/drive_c/autoexec.bat /sbbs/ctrl/.dosemu/drive_c/autoexec.org /sbbs/ctrl/.dosemu/drive_c/bnu.com/sbbs/ctrl/.dosemu/drive_c/config.org /sbbs/ctrl/.dosemu/drive_c/config.sys/sbbs/ctrl/.dosemu/drive_c/x00.exe
Did a external.bat file get created in your node directory when you ran the game?
Have not ran a game. I am confused about the switching of lredir and how and where all the drives show up.
I am going to try to set up a game now and see how it goes. I'm just going to copy what is on that wiki.
Re: Re: Running DOS doors in Synchronet
By: Nelgin to Grease on Fri Jan 10 2020 05:17 am
What OS are you running? These instructions should work if you are running Ubuntu. I've never got dosemu to work on CentOS.
Ubuntu. DOSEMU works on its' own windowed terminal. Trying through SBBS. I'm going to go through what you have posted here. Last night, I tried what I could make of the wiki. I got door.sys in the directory and in the console log, I got a DOS not allowed error.
Note: I read ahead on another response of yours about DOS not allowed? If you're getting this through Synchronet it would make me think you did not compile it with USE_DOSEMU=1. This is why I asked what the output or errors were when trying to run the door from within Synchronet were.
You definitely need to resolve that "DOS not allowed error" first thing.
Re: Re: Running DOS doors in Synchronet
By: Digital Man to Grease on Fri Jan 10 2020 12:08 pm
You definitely need to resolve that "DOS not allowed error" first thing.
Really? <wet fart noise> :(
I could have sworn I did the 'ol DOSEMU=1 thing as I cut and pasted when I setup sbbs.
Is there a way to do it after the fact?
Or is it a backup and redo? (please don't tell me that)
I have DOSEMU in Ubuntu.
It's USE_DOSEMU=1
You need to rebuild sbbs.
Re: Re: Running DOS doors in Synchronet
By: Will Milberger to Digital Man on Fri Jan 10 2020 03:15 pm
Re: Re: Running DOS doors in Synchronet
By: Digital Man to Grease on Fri Jan 10 2020 12:08 pm
You definitely need to resolve that "DOS not allowed error" first
thing.
Really? <wet fart noise> :(
I could have sworn I did the 'ol DOSEMU=1 thing as I cut and pasted when I
setup sbbs.
It's USE_DOSEMU=1
Is there a way to do it after the fact?
You need to rebuild sbbs.
Or is it a backup and redo? (please don't tell me that)
You need to perform a clean rebuild of sbbs and add the USE_DOSEMU=1 option.
I have DOSEMU in Ubuntu.
Good, that's required as wel.
Re: Re: Running DOS doors in Synchronet
By: Will Milberger to Digital Man on Fri Jan 10 2020 03:15 pm
Re: Re: Running DOS doors in Synchronet
By: Digital Man to Grease on Fri Jan 10 2020 12:08 pm
You definitely need to resolve that "DOS not allowed error" first
thing.
Really? <wet fart noise> :(
I could have sworn I did the 'ol DOSEMU=1 thing as I cut and pasted when I
setup sbbs.
It's USE_DOSEMU=1
Is there a way to do it after the fact?
You need to rebuild sbbs.
Or is it a backup and redo? (please don't tell me that)
You need to perform a clean rebuild of sbbs and add the USE_DOSEMU=1 option.
I have DOSEMU in Ubuntu.
Good, that's required as wel.
You need to rebuild sbbs.
That is not what I needed to hear. Drat.
I guess I'll back up text and configuration files.
Thanks for help.
Put USE_DOSEMU=1 in /sbbs/src/sbbs3/localdefs.mk and you'll never have to worry about adding it to the command line. The compiler will pick up the setting automatically.
test -d "$SBBSCTRL/.dosemu" && echo "it exists!" || echo "sorry..."
I got:
"sorry..."
Now what do I do? I could have sworn I did DOSEMU=1 when I setup SBBS.
Could Ubuntu's DOSEMU blow out the SBBS one?
Is there a way to put it in through CVS or something?
I could have sworn, I did. Mainly because I copied and pasted
when I set up sbbs. But I did a test, and it is not there. I
do have DOSEMU in Ubuntu. Is there a way to add DOSEMU after
the fact? Try and reload it?
You need to rebuild sbbs.
That is not what I needed to hear. Drat.
I guess I'll back up text and configuration files.
echo $DISPLAY
if DISPLAY is set then that's your problem. I had this initially and I can't remember for the life of me how I resolved it. I obviously unset DISPLAY before sbbs runs.
Re: Re: Running DOS doors in Synchronet
By: Digital Man to Will Milberger on Fri Jan 10 2020 01:29 pm
It's USE_DOSEMU=1
I was just typing less.
You need to rebuild sbbs.
That is not what I needed to hear. Drat.
I guess I'll back up text and configuration files.
I won't discourage you from doing a backup but rebuilding the source doesn't replace any of your text or configuration files, just your executables.
http://wiki.synchro.net/install:nix
Look near the bottom on Clean Rebuild.
I won't discourage you from doing a backup but rebuilding the source doesn't replace any of your text or configuration files, just your executables.
Will Milberger wrote to Digital Man <=-
It's USE_DOSEMU=1
You need to rebuild sbbs.
That is not what I needed to hear. Drat.
I guess I'll back up text and configuration files.
Will Milberger wrote to Digital Man <=-
I could have sworn I did the 'ol DOSEMU=1 thing as I cut and
pasted when I setup sbbs.
Is there a way to do it after the fact?
Or is it a backup and redo? (please don't tell me that)
I have DOSEMU in Ubuntu.
create yourself a sysop only xtrn command to run dosemu... then it'll configure everything as needed and you can edit it if desired like i pointed out in another of my messages...
When I try to run the door, or the command .com external, I get these messages:
can't create local /root/.dosemu directory
can't create local /root/.dosemu/run directory
can't open /sbbs/node1/dosemu_boot.log for writing
Re: Re: Running DOS doors in Synchronet
By: Nelgin to Digital Man on Fri Jan 10 2020 04:02 pm
echo $DISPLAY
if DISPLAY is set then that's your problem. I had this initially and I
can't remember for the life of me how I resolved it. I obviously unset
DISPLAY before sbbs runs.
I get :
:0
Re: Re: Running DOS doors in Synchronet
By: Nelgin to Digital Man on Fri Jan 10 2020 04:02 pm
echo $DISPLAY
if DISPLAY is set then that's your problem. I had this initially and I
can't remember for the life of me how I resolved it. I obviously unset
DISPLAY before sbbs runs.
I get :
:0
Grease
darkmatt.synchro.net
When I try to run the door, or the command .com external, I get these messages:
can't create local /root/.dosemu directory
can't create local /root/.dosemu/run directory
can't open /sbbs/node1/dosemu_boot.log for writing
It's not reading the sbbs dosemu. It's still reading the Ubuntu one.
How are you starting sbbs? From the command line? systemctl?
Okay, some headway. I got the ../ctrl/.dosemu folder
I made the autoexec.bat and config.sys and copied the fossils into the .dosemu directory.
When I try to run the door, or the command .com external, I get these messages:
can't create local /root/.dosemu directory
can't create local /root/.dosemu/run directory
can't open /sbbs/node1/dosemu_boot.log for writing
Or is it a backup and redo? (please don't tell me that)
Re: Re: Running DOS doors in Synchronet
By: Nelgin to Will Milberger on Sat Jan 11 2020 04:24 am
How are you starting sbbs? From the command line? systemctl?
I am using SynchronetManagementConsole. It's basically a daemon setup in python.
Grease wrote:
Re: Re: Running DOS doors in Synchronet
By: Nelgin to Will Milberger on Sat Jan 11 2020 04:24 am
How are you starting sbbs? From the command line? systemctl?
I am using SynchronetManagementConsole. It's basically a daemon setup in python.
Why?
Try to unset DISPLAY before you run the management console or whatever. If the management console is a gui then you're going to have problems. Why not just it from systemd like everyone else does (or should)?
For grins you can try to change /sbbs/src/sbbs3/xtrn.cpp line 1422
It should look like this:
"/usr/bin/env %s HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video { none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",
Change it to include DISPLAY=""
"/usr/bin/env %s DISPLAY="" HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video { none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",
Then recompile and restart.
You definitely need to resolve that "DOS not allowed error" first thing
Really? <wet fart noise> :(
I could have sworn I did the 'ol DOSEMU=1 thing as I cut and pasted when I WM>setup sbbs. Is there a way to do it after the fact?
Or is it a backup and redo? (please don't tell me that)
I have DOSEMU in Ubuntu.
Re: Re: Running DOS doors in Synchronet
By: Nelgin to Grease on Sat Jan 11 2020 05:57 pm
Grease wrote:
Re: Re: Running DOS doors in Synchronet
By: Nelgin to Will Milberger on Sat Jan 11 2020 04:24 am
How are you starting sbbs? From the command line? systemctl?
I am using SynchronetManagementConsole. It's basically a daemon setup in
python.
Why?
Try to unset DISPLAY before you run the management console or whatever. If
the management console is a gui then you're going to have problems. Why not
just it from systemd like everyone else does (or should)?
For grins you can try to change /sbbs/src/sbbs3/xtrn.cpp line 1422
It should look like this:
"/usr/bin/env %s HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video { none }\"
-I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",
Change it to include DISPLAY=""
"/usr/bin/env %s DISPLAY="" HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video {
none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",
Then recompile and restart.
The correct way to insert double-quotes in a C string is the sequence: \"
So that'd be:
"/usr/bin/env %s DISPLAY=\"\" HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video {
none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s"
On 01-10-20 16:48, Altere wrote to Will Milberger <=-
I won't discourage you from doing a backup but rebuilding the source doesn't replace any of your text or configuration files, just your executables.
I'm sorry, but I've read through these, and am now more confused. http://wiki.synchro.net/howto:dosemu
http://www.icequake.net/bbs/syncmods/
When I setup SBBS, I could have swore I did USE_DOSEMU=1, but when I open a terminal in Linux, the drives do not correspond to the drives in these how-to's.
C:/ Looks blank. Just a tmp, autoexec.bat and config.sys
D:/ looks like either bin or usr
E:/ Looks like root.
I'm supposed to goto E:/ and then goto D:/ for the dropfile, and I just seem to be missing something here.
I got the sunrise doors and would like to set them up, but just feel I am at a roadblock right now.
So, we spend a lot of time trying to help you get this going. Did it work?
Re: Re: Running DOS doors in Synchronet
By: Nelgin to Grease on Thu Jan 16 2020 04:11 am
So, we spend a lot of time trying to help you get this going. Did it work?
Not yet. I did a fresh install of operating system and sbbs. The usb stick wouldn't read my backup, so basically starting over from scratch. Luckily, I had my ansi screens on a different computer. It'll probably be another week or so until I get back to it.
What OS and version are you using?
I can probably tar up my working dosemu setup. You'll just need to make sure the packages are installed and then drop in my tar.
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 557 |
Nodes: | 8 (0 / 8) |
Uptime: | 55:12:12 |
Calls: | 10,403 |
Files: | 5 |
Messages: | 364,643 |