On 06/28/2013 07:38 PM, Mateusz Viste wrote: > if $_netdev is empty (or undefinied), then we use an internal, embedded > slirp for user-friendliness, else we use the one specified in $_netdev. > > This would have the benefit of providing a DOSemu internet connectivity > that works out of the box, and, for super-users, the possiblity to call > their own version of slirp, or any other SLIP-compatible app.
Now that I think about it, I'm not sure anymore it's good to artificially embed slirp.. apart being 'all in one binary', it doesn't really provide any added value after all. Adding slirp as a separate executable is probably wiser, then at least curious users can understand how it works exactly, and the dosemu binary is not bloated. For example having files like: /usr/bin/dosemu.bin /usr/bin/dosemu.slirp and then, in dosemu a simple rule stating "if $_netdev is empty or unknown, then try to use %s/dosemu.slirp, where %s is the directory where dosemu.bin is". This way we reuse already existing slirp, without bloating dosemu, and if one day slirp is improved, power users still can reconfigure dosemu to use their own versions of slirp... Mateusz ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Dosemu-devel mailing list Dosemu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dosemu-devel