Those ^M characters look ugly. Should the filter process here do something about those? Or are they part of some ANSI control character sequence that's not parsed correctly, perhaps? In GNU Emacs 29.0.50 (build 46, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-09-29 built on downe Repository revision: 48c9f9d31d3eab756595c05cd2d3aced0fd856ca Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Ubuntu 22.04.1 LTS Configured using: 'configure --with-xwidgets'