hang on exit

Frank Cusack fcusack at fcusack.com
Thu Feb 14 08:15:42 EST 2002


On Mon, Feb 04, 2002 at 08:32:26PM +0100, Markus Friedl wrote:
> untested, as i don't have access to a system that
> shows the hang-on-exit problem.

> +	options->allow_data_loss_on_pty = -1;

Can someone explain why this has been discouraged for a long time based
on it "allowing data loss", when on obsd it does this by default?  It
is my understanding that a patch like this has not made it into the distro
because of concerns that an active background process might have data to
send us.  It is also my understanding that obsd discards that data.  ISTM
the correct fix is to do 'shopt huponexit' or whatever your shell requires.

Or, is it more PC to have the 'discard data' behaviour b/c rsh does this?

/fc



More information about the openssh-unix-dev mailing list