GNU bug report logs -
#57727
29.0.50; Optimize tty display updates
Previous Next
Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Date: Sun, 11 Sep 2022 10:04:01 UTC
Severity: wishlist
Found in version 29.0.50
Fixed in version 29.1
Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #25 received at 57727 <at> debbugs.gnu.org (full text, mbox):
> Cc: 57727 <at> debbugs.gnu.org
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Date: Mon, 12 Sep 2022 08:33:12 +0200
>
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> > That seems a bit over-engineered to me.
> > Why not just a DEVAR_BOOL to control whether we flush or not?
>
> Ok. My thoughts went like so:
FWIW, I don't think this is over-engineered. The suspend/resume dance
caused me to raise a brow, but I guess you cannot otherwise reset the
terminal settings?
> 2. I don't believe that just avoiding fflush will be enough. THe code
> currently uses a buffer of size BUFSIZ, which is OS-specific. On my
> system, for instance, BUFSIZ = 1024. Don't know about MS-Windows today,
> but I remember it being 512 there at some time.
It's still 512. But buffered stdio functions in the MS-Windows
runtime use 4K buffers, AFAIK, not 512B buffers.
This bug report was last modified 2 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.