[1069] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: [Doug Engert ] Krlogind and ss-962301

daemon@ATHENA.MIT.EDU (Sam Hartman)
Mon Apr 15 18:14:47 1996

To: Marc Horowitz <marc@MIT.EDU>
Cc: "Richard Basch" <basch@lehman.com>, Sam Hartman <hartmans@MIT.EDU>,
        krbdev@MIT.EDU
From: Sam Hartman <hartmans@MIT.EDU>
Date: 15 Apr 1996 18:14:40 -0400
In-Reply-To: Marc Horowitz's message of Mon, 15 Apr 1996 17:43:54 EDT

>>>>> "Marc" == Marc Horowitz <marc@MIT.EDU> writes:

    Marc> I think you misunderstand the issue, Richard.  I'm aware of
    Marc> the difference between capability testing and os
    Marc> conditionalizing, and we agree on this point.  I believe the
    Marc> right thing to do is to have two major paths through the
    Marc> code: one for bsd-style pty mangling, and another which uses
    Marc> streams.  libpty should be able to encapsulate any pty
    Marc> dependencies, or the library isn't doing its job.  

	To clarify, under the current design of libpty, it
encapsulates the application from pty dependencies, but not tty
dependencies.  I know Marc knows this, but I'm not sure the point is
well-known.  I did not design abstractions to do things like deal with
raw mode, window sizes, packet mode, etc.  Both rlogind and telnetd
handle these differently, and I didn't feel comfortable drawing
abstractions to deal with these issues.  So, I try to remove pty
dependencies, and with the exception of packet mode, I am successful. 

	I agree that making libpty able to deal with both pty and tty issues would be nice, but I don't think we have resources to do so.  If I'm wrong--that is, if someone has time to deal, then it should happen.

    Marc> If everything else is done right, the only hpux 10.x
    Marc> specific place in the system should be a platform name test
    Marc> in configure.in in libpty.

	This is currently not the case.  Because I am not able to
isolate packet mode handling out of klogind and telnetd, and because
this depends on whether streams work, you have to make sure telnetd
and libpty agree.  Currently, klogind only works if packet mode is
supported in Berkely style.  I realize this is a bug.  This may in
fact end up settling the HPUX issue for us; it may work better without
streams, but I won't know until I see Marc's patches.



    Marc> 		Marc



home help back first fref pref prev next nref lref last post