Ed Arnold <[email protected]> writes: > Wondering if someone could tell me if the official policy now on > inetutils is not to support it on solaris. I looked at the online > ascii manual for inetutils but saw nothing about this.
Quoting README: o GNU Inetutils does not work on Solaris. Patches to make GNU Inetutils work on Solaris are happily accepted. > I'm asking because I needed a non-kerberized telnetd, and inetutils > seemed like a good place to start. However I had to make several > changes so build of telnetd would complete could complete on solaris. Thanks for working on this. > 1) Solaris doesn't recognize type "sig_t". Added > "typedef void (*sig_t) (int);" to libinetutils/setsig.c. Potentially this should be solved somehow differently though -- through a gnulib module. I'll look into it. > 2) In telnetd/state.c, NTELOPTS is not getting defined. Added > "#define NTELOPTS 40" per /usr/include/arpa/telnet.h. This seems simpler. Could also go into a gnulib replacement header, I'll look into that too. > 3) Solaris doesn't have forkpty(). Added own forkpty.c to libinetutils/ > and libinetutils/Makefile*. Could you try latest daily snapshot? Solaris does have forkpty, but needs special handling which should now be taken care of. /Simon
