On 20 Nov 2011, at 11:24, hvlems at zonnet.nl wrote:
Another feature which would be nice to add generally is something which periodically
re-resolves the DNS names in the config file to IP addresses, so that people who use
something like DynDNS because they don t have a fixed IP address, can use it more easily
and not fall off the network for too long when their IP address changes. Presumably
calling the SIGHUP handler (read_conf) every so often would do the trick.
It would also be nice to make the code a bit more portable so that it will compile and run
on more platforms without modification, a bit like SIMH.
While we are talking about improvements, would it be possible to make it search a few
default locations on Linux/BSD for a config file? Currently you have to start it by cd-ing
to the directory the binary is in as it looks at the current directory for the config
file - if you start it from another place if fails.
Perhaps looking in /etc/hecnet or another place you can specify at compile time would be
better?
Also would it be difficult or counter-productive to roll the Port configuration into the
config file instead of having to specify it at runtime?
Lastly does anyone know how to roll a init.d script for it to set it as a service in
Debian/Ubuntu (10.04)?
--
Mark Benson
http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK
Online Resource & Mailing List for DEC Enthusiasts.