GNU bug report logs - #53808
29.0.50; ansi colorization process could block indefinetly on stray ESC char

Previous Next

Package: emacs;

Reported by: Ioannis Kappas <ioannis.kappas <at> gmail.com>

Date: Sat, 5 Feb 2022 20:53:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 53808 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ioannis Kappas <ioannis.kappas <at> gmail.com>
Cc: 53808 <at> debbugs.gnu.org,
 Miha Rihtaršič <miha <at> kamnitnik.top>
Subject: Re: bug#53808: 29.0.50; ansi colorization process could block
 indefinetly on stray ESC char
Date: Sat, 05 Feb 2022 22:56:23 +0100
Ioannis Kappas <ioannis.kappas <at> gmail.com> writes:

> A solution (open to discussion) could be to identify a partial SGR
> fragment based on its actual specification rather than only starting
> with the ESC char:

Hm...  what happens if the ESC arrives in one chunk and then the rest of
the SGR sequence in the next chunk?

(Miha has done work in this area recently; added to the CCs.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.