DOSEMU via inetd (for BBS games without the BBS)
Hello.
Quoted 3 lines · Ryan Underwood
First of all, I was wrong when I said that I had inetd invoke a wrapper script directly. With that method, DOSEMU is unable to accept any input due to lack of a pty.
Thanks for following up on that - otherwise there were a concerns about the patch that explicitly prevented that.
Quoted 2 lines
What I actually did was to install telnetd, and then hack
/usr/lib/telnetloginto call the dosemu wrapper as the login program.
That was expected:)
Quoted 3 lines
this is convenient not only because it doesn't require the BBS, but the user telnets directly into the door without requiring login, etc. Pretty good setup for small games where everyone is trusted.
OK. Now, as the proper way exists, how about trying it (and probably documenting)? My expectations were (when I enabled the direct pty support) that it will allow all the like things, but without an ugly "no_local_video" hack and without any problems with the redirected stdio. But it was only tested with the "modemu" modem emulator, which is not sufficient.
hi,
Quoted 4 lines · Stas Sergeev
Quoted 4 lines
this is convenient not only because it doesn't require the BBS, but the user telnets directly into the door without requiring login, etc. Pretty good setup for small games where everyone is trusted.
Quoted 8 lines
OK. Now, as the proper way exists, how about trying it (and probably documenting)? My expectations were (when I enabled the direct pty support) that it will allow all the like things, but without an ugly "
no_local_video" hack and without any problems with the redirected stdio. But it was only tested with the "modemu" modem emulator, which is not sufficient.
Actually, since the BBS doors are run in the local mode, no modemu is necessary. (In that mode, they use DOS stdio, or sometimes BIOS video.)
They could be run against vmodem (in traditional BBS mode), but typically they need a BBS dropfile in order to do that. We could generate the necessary dropfile by a script, but one would probably just want to go ahead and set up a BBS if it came to that.
Do you think it would be useful to generate some documentation for running a local-mode-only, (not secure) game server for TW2002 or LORD using only DOSEMU and telnetd?
Do you have a better idea to get telnetd to execute the DOSEMU wrapper besides hacking telnetd or telnetlogin?
Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253