bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] Re: inetutils supported on solaris?


From: Simon Josefsson
Subject: [bug-inetutils] Re: inetutils supported on solaris?
Date: Fri, 11 Dec 2009 08:49:43 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Ed Arnold <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]