[ds6-devel] nc6 long options
Mauro Tortonesi
mauro@deepspace6.net
Sun Dec 29 13:54:48 2002
On Sun, 29 Dec 2002, Chris Leishman wrote:
> Hi,
>
> Just looking at the options currently defined in parser.c - it's
> getting pretty cluttered and I've already managed to break option
> compatibility with netcat :( (oops)
it's not your fault. with all the different features of nc and nc6, it was
impossible not to have some conflicts :-P
> I think we should add in long options asap so that this can be cleared
> up. Things like setting the buffer size, mtu & nru can be moved to
> long options - they don't need single letter mnemonics.
this is a very good idea. we should do it asap.
> I think the best (only?) choice would be to use the gnu getopt library
> (getopt_long) - but should we include the gnu getopt source into the
> source tree as well, or should we just assume that platforms not using
> glibc can install the libgnugetopt?
we should include getopt_long in the sources, with the autoconf replace
function facility.
BTW: i am just committing some changes to nc6. please take a look at the
runtime configuration code. also, it seems that there are some
problems with the configure script. i will try to fixe them ASAP.
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi mauro@deepspace6.net
mauro@ferrara.linux.it
Deep Space 6 - IPv6 on Linux http://www.deepspace6.net
Ferrara Linux Users Group http://www.ferrara.linux.it
More information about the ds6-devel
mailing list