[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: term echoes every second ^O
From: |
Roland McGrath |
Subject: |
Re: term echoes every second ^O |
Date: |
Mon, 17 Dec 2001 22:55:15 -0500 (EST) |
It looks to me like it not only echoes the VDISCARD character, but
processes it for input. Your change is not right for the second-press
case, and I think with or without that change it's still wrong to process
the character below.
I suspect what we want instead is a change like this:
Index: munge.c
===================================================================
RCS file: /cvsroot/hurd/hurd/term/munge.c,v
retrieving revision 1.10
diff -u -b -p -r1.10 munge.c
--- munge.c 1 Mar 1999 14:28:16 -0000 1.10
+++ munge.c 18 Dec 2001 03:54:37 -0000
@@ -405,8 +405,10 @@ input_character (int c)
else
{
drop_output ();
+ poutput (cc[VDISCARD]);
termflags |= FLUSH_OUTPUT;
}
+ goto alldone;
}
}