[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: info may stress-test the terminal emulator
From: |
Bruno Haible |
Subject: |
Re: info may stress-test the terminal emulator |
Date: |
Wed, 08 Feb 2023 18:32:44 +0100 |
Andreas Schwab wrote:
> > Is there a way to fix/improve this erratic behaviour of the 'info' program,
> > please?
>
> Are you sure it's not the terminal emulator erratically sending an
> endless stream of characters to the inferior? The info program normally
> emits a BEL when it receives a character input it doesn't recognize.
That's a theoretically possible cause, indeed. Normally the terminal emulator
sends an endless stream of characters only if
- some heavy object is lying on the keyboard, or
- some key is stuck in depressed position.
Both wasn't the case here.
So, I would still think that some of the 'terminal_ring_bell ();' invocations
in info/session.c was being executed too often. But since I didn't attach
gdb to 'info' at that moment, I don't know where.
Bruno