dosemu config generator
Hi dosemu hackers,
Here is my script to generate a dosemu config.
Obviously it needs a lot of work to be really flexible and useful (I would like to tie it in with the app database) but I just wanted opinions on it. :)
http://www.icequake.net/cgi2/dosemuconf.pl
There is a button at the bottom to view the source.
Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253
Hi there,
Quoted 3 lines · Ryan Underwood
Here is my script to generate a dosemu config.
[snip]
I just wanted opinions on it. :)
My opinion is that it's an ouststandingly good effort and it will probably be very useful to a lot of people.
Well done, and thanks!
73,
Ged.
Quoted 7 lines · Ryan Underwood
Here is my script to generate a dosemu config.
Obviously it needs a lot of work to be really flexible and useful (I would like to tie it in with the app database) but I just wanted opinions on it. :)
Looks nice! Just a few comments -- it may be better to look forwards towards 1.2.0 rather than back to 1.0.2.
emubat is no longer there. It was never really reliable and there are other methods to use an alternative to autoexec.bat.
hogthreshold -- yes I know it's a little confusing but "0" means "full tilt", 1 is "be nice" and higher then means "less nice". Think of "0" as "infinity" here. Also the values can be higher than 15.
There are a few settings that don't apply to xdosemu (such as rawkeyboard, mouse settings, native speaker).
keybint is obsolete, gone, just like "videoportaccess" (graphics does that).
SECURITY: all this stuff is obsolete too. Use sudo.
Sound: we have sb16 support now (in 1.1.5.2).
rdtsc may be overridden by .dosemurc.
If you want to specify different hdimages to be used for restricted access, do that here. If this is empty, the hdimages from "hdimage" will be used for all users. (FIXME is that right?) -- also gone. the idea was that a long time ago DOSEMU could only run suid-root, so you could have a class of restricted users in dosemu.users that were only allowed to execute certain DOS programs. Right now the non-suid-root DOSEMU is a lot more powerful so this option has become pointless.
One thing that would be good is to merge this with the tcl/tk configuration utilities in the setup directory (run ./setup.tk etc there). The problem is that these tools suffer from severe bitrot now so any help would be very welcome to get these up and going again.
Bart
Quoted 1 line · Ryan Underwood
.dosemu/.dosemurc is the same format as
/etc/dosemu/dosemu.confcorrect?
It's just
~/.dosemurc
everything can be configured there except for some privileged settings (most notably $_ports and console graphics), so becoming root to edit dosemu.conf is rarely necessary.
in the setup directory there are probably still some references to ~/.dosrc. This is an old style per user config file (pre 0.97) which has the same syntax as global.conf and is obsolete.
Bart
Hi Bart,
Quoted 4 lines · Bart Oldeman
Quoted 2 lines · Ryan Underwood
Here is my script to generate a dosemu config.
Quoted 8 lines
Quoted 5 lines
Obviously it needs a lot of work to be really flexible and useful (I would like to tie it in with the app database) but I just wanted opinions on it. :)
Looks nice! Just a few comments -- it may be better to look forwards towards 1.2.0 rather than back to 1.0.2.
Yeah, I designed it so that configs for different versions can be easily generated. But, that functionality isn't implemented quite yet :)
Quoted 19 lines
emubat is no longer there. It was never really reliable and there are other methods to use an alternative to autoexec.bat.
hogthreshold -- yes I know it's a little confusing but "0" means "full tilt", 1 is "be nice" and higher then means "less nice". Think of "0" as "infinity" here. Also the values can be higher than 15.
There are a few settings that don't apply to xdosemu (such as rawkeyboard, mouse settings, native speaker).
keybint is obsolete, gone, just like "videoportaccess" (graphics does that).
SECURITY: all this stuff is obsolete too. Use sudo.
Sound: we have sb16 support now (in 1.1.5.2).
rdtsc may be overridden by .dosemurc.
Quoted 8 lines
If you want to specify different hdimages to be used for restricted access, do that here. If this is empty, the hdimages from "hdimage" will be used for all users. (FIXME is that right?) -- also gone. the idea was that a long time ago DOSEMU could only run suid-root, so you could have a class of restricted users in dosemu.users that were only allowed to execute certain DOS programs. Right now the non-suid-root DOSEMU is a lot more powerful so this option has become pointless.
Ok, thanks for all the fixed comments.
Quoted 4 lines
One thing that would be good is to merge this with the tcl/tk configuration utilities in the setup directory (run ./setup.tk etc there). The problem is that these tools suffer from severe bitrot now so any help would be very welcome to get these up and going again.
I should be able to take my same base script and make a perl/gtk script from it. I don't know any TCL so that would be a little bit of a barrier potentially ;)
.dosemu/.dosemurc is the same format as /etc/dosemu/dosemu.conf correct?
Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253
Hi Bart,
Quoted 9 lines · Bart Oldeman
Quoted 1 line · Ryan Underwood
.dosemu/.dosemurc is the same format as
/etc/dosemu/dosemu.confcorrect?It's just
~/.dosemurc
everything can be configured there except for some privileged settings (most notably $_ports and console graphics), so becoming root to edit dosemu.conf is rarely necessary.
Good, I was hoping that was the case. The user can simply download .dosemurc from the generator and place it in their home directory then.
Quoted 3 lines
in the setup directory there are probably still some references to ~/.dosrc. This is an old style per user config file (pre 0.97) which has the same syntax as global.conf and is obsolete.
That is good to know, thanks!
Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253
Hi dosemu hackers,
I added some more features to the config generator, fixed some bugs, and made it support the -devel version too. Descriptions for the entities default to the stable descriptions but can be overriden by new things in the development version.
There is a small todo list at the top of the source code.
Let me know your thoughts,
Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253
URL:
http://www.icequake.net/cgi2/dosemuconf.pl
Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253