bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

term echoes every second ^O


From: Marcus Brinkmann
Subject: term echoes every second ^O
Date: Mon, 17 Dec 2001 22:42:38 +0100
User-agent: Mutt/1.3.24i

Hi,

term echoes the second ^O, which enables output again:

in munge.c:

      if (CCEQ (cc[VDISCARD], c))
        {
          if (termflags & FLUSH_OUTPUT)
            termflags &= ~FLUSH_OUTPUT;
          else
            {
              drop_output ();
              termflags |= FLUSH_OUTPUT;
            }
        }

Shouldn't this be:

      if (CCEQ (cc[VDISCARD], c))
        {
          drop_output ();
          if (termflags & FLUSH_OUTPUT)
            termflags &= ~FLUSH_OUTPUT;
          else
            termflags |= FLUSH_OUTPUT;
        }

Stevens says everything but newlines and carriage returns are discarded.

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]