From 555f3b856f2681b46870a66386396b49426b9719 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 15 May 2011 08:48:05 +1000 Subject: - djm@cvs.openbsd.org 2011/05/08 12:52:01 [PROTOCOL.mux clientloop.c clientloop.h mux.c] improve our behaviour when TTY allocation fails: if we are in RequestTTY=auto mode (the default), then do not treat at TTY allocation error as fatal but rather just restore the local TTY to cooked mode and continue. This is more graceful on devices that never allocate TTYs. If RequestTTY is set to "yes" or "force", then failure to allocate a TTY is fatal. ok markus@ --- clientloop.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clientloop.h') diff --git a/clientloop.h b/clientloop.h index 37d07290..ad588d14 100644 --- a/clientloop.h +++ b/clientloop.h @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.h,v 1.26 2011/04/17 22:42:41 djm Exp $ */ +/* $OpenBSD: clientloop.h,v 1.27 2011/05/08 12:52:01 djm Exp $ */ /* * Author: Tatu Ylonen @@ -70,3 +70,5 @@ void client_register_global_confirm(global_confirm_cb *, void *); void muxserver_listen(void); void muxclient(const char *); void mux_exit_message(Channel *, int); +void mux_tty_alloc_failed(Channel *); + -- cgit v1.2.3