make it so that chat doesn't fail when it can't get terminal params..

this allows it to work on non-tty input...  also don't warn when this
happens as it could get noisy...

Silence is Acceptance
This commit is contained in:
John-Mark Gurney 1997-04-02 09:55:26 +00:00
parent df3cc9399c
commit 39746e4630

View File

@ -31,7 +31,7 @@
*
*/
static char rcsid[] = "$Id$";
static char rcsid[] = "$Id: chat.c,v 1.6 1997/02/22 19:54:23 peter Exp $";
#include <stdio.h>
#include <time.h>
@ -542,7 +542,8 @@ void set_tty_parameters()
if (get_term_param (&t) < 0)
{
sysfatal("Can't get terminal parameters");
have_tty_parameters = 0;
return;
}
saved_tty_parameters = t;