summaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/term/users.c b/term/users.c
index b4df3dbe..93ce4a88 100644
--- a/term/users.c
+++ b/term/users.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -1836,6 +1836,9 @@ send_signal (int signo)
void
report_carrier_off ()
{
+ clear_queue (inputq);
+ (*bottom->notice_input_flushed) ();
+ drop_output ();
termflags |= NO_CARRIER;
if (!(termstate.c_cflag & CLOCAL))
send_signal (SIGHUP);