From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#58228: 29.0.50; ansi-term display garbled Date: Sat, 01 Oct 2022 22:06:03 +0200 Message-ID: <8735c7til0.fsf@gmail.com> References: <87zgef1t1r.fsf@mail.jao.io> <87tu4nef4i.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39079"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58228@debbugs.gnu.org, Jose A Ortega Ruiz To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 01 22:09:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeind-0009yD-Kp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 22:09:25 +0200 Original-Received: from localhost ([::1]:47264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeinb-0005Ke-KX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 16:09:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeinH-0005Ji-5O for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 16:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeinG-000360-Mh for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 16:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeinG-0000rf-8y for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 16:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2022 20:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58228 X-GNU-PR-Package: emacs Original-Received: via spool by 58228-submit@debbugs.gnu.org id=B58228.16646548973272 (code B ref 58228); Sat, 01 Oct 2022 20:09:02 +0000 Original-Received: (at 58228) by debbugs.gnu.org; 1 Oct 2022 20:08:17 +0000 Original-Received: from localhost ([127.0.0.1]:45741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeimX-0000qi-AU for submit@debbugs.gnu.org; Sat, 01 Oct 2022 16:08:17 -0400 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:36372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeimV-0000qT-Ut for 58228@debbugs.gnu.org; Sat, 01 Oct 2022 16:08:16 -0400 Original-Received: by mail-wm1-f50.google.com with SMTP id i203-20020a1c3bd4000000b003b3df9a5ecbso6894800wma.1 for <58228@debbugs.gnu.org>; Sat, 01 Oct 2022 13:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :message-id:date:in-reply-to:subject:cc:to:from:from:to:cc:subject :date; bh=g7JQ3fBOaDTu8PE9DR7FxkEaKNGV1T1MG8du0oqNEB8=; b=Oj2ArGRxLvDxL9YiDwpfxJuA/ZbkkO0pd4Fw/p1gCrKYB5USRbNPYpZlSK6f7ahBJB 8oTEm4ZF8AOEHhprRwqL2w3bdkgsZcV/MBqomhHj3NfHXbyLtx3yNsqhmBYPXGt//PKf ATzgjKU12QjWn62w6ZOnKnDvYHnkSJp1wUuEh+3LzFFYqeftPqiCqVog56AgZFqiInLa rFdrondglzyNv0OMLuFiEXbOVLe3CC3DTGggm7IwDs2ZqUCCEVimKsMvZZI3k4Szqf+L jgh05q/uwFEY7saQLTTAB8wkHX8wOGUCoDCviDjCbT2pYBhbNI8AQBXAAaOX5oygiT/r 9P9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :message-id:date:in-reply-to:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date; bh=g7JQ3fBOaDTu8PE9DR7FxkEaKNGV1T1MG8du0oqNEB8=; b=sEXgKx4a+4j4PF/N0bsIF4sMY5BZrTcrRnwuX/hxQxK+0RAZnsBzr0d2PgkWivlMCY 4/iKq17ilxWrAtMU5g+bvUzOJjofN0yFyk9zZn/0lphiBgVLZw4WP4MKAOCYJrLArKLf I+U2qxrfy5ofMyDp2Avlbza5RL9Lvp75kjpVF64E8Is1PXZgYuzfRtTM3wMbFA4al5O+ S2skvdJcuLqRr/xt5TNUGEk2GagvdNZVXQLzihRj+Q4HGXTQRYXevQYab8u58NmSaCbo 8VlriV5L+QyeMBbyLlYoZ2WEzyasi6ueFe762Ew8Qx8fSgz5tlhrD4LafS7pJOzVIqmN M68A== X-Gm-Message-State: ACrzQf2V+6AGXEIAqIERokP2YkdIucbj0TjZQ7oOmRYNeWQLtUSpJaX9 TIW75Pm4xsnBVNcd9+SIHO7lpLc9fgw= X-Google-Smtp-Source: AMsMyM7fuvZ0onaGhIDt96+vNiXa87Hk1ZJrnU1g3n5oUliLKy8oFS+A+wdJ8VYhF/YAYiyUsZAWWQ== X-Received: by 2002:a7b:ce95:0:b0:3b4:5de8:2f34 with SMTP id q21-20020a7bce95000000b003b45de82f34mr2540703wmj.194.1664654889952; Sat, 01 Oct 2022 13:08:09 -0700 (PDT) Original-Received: from carbon.localdomain ([2a01:e0a:245:c850:98f5:429a:aa8e:95bb]) by smtp.gmail.com with ESMTPSA id w10-20020a05600c474a00b003b4ac05a8a4sm14605268wmo.27.2022.10.01.13.08.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Oct 2022 13:08:09 -0700 (PDT) In-Reply-To: <87tu4nef4i.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 01 Oct 2022 17:29:49 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244162 Archived-At: Lars Ingebrigtsen writes: > Jose A Ortega Ruiz writes: > >> - M-x ansi-term (accept default /bin/bash) >> >> - type anything in the bash prompt that produces output, a simple ls >> will suffice: the output is garbled, sometimes non-existent (the >> effect is very dramatic for ncurses apps). > > Perhaps this is related to the recent comint/osc stuff? I've added > Matthias to the CCs. I don't think so. For example running ansi-term after setting comint-output-filter-functions to nil leads to the same garbled output. Bisecting between the parent of (working as expected and not containing any of my changes to the OSC stuff): 7354f4e3e6..: Matthias Meulien 2022-09-18 Extract support of OSC escape sequences from comint and the broken: cd4208f6d8..: Miha Rihtar=C5=A1i=C4=8D 2022-09-30 Rename comint-fl-* to comint-fontify-input-* and mention it in NEWS leads to the first bad comit being: matthias@carbon:~/Sources/emacs ((12a78711c9...) $|BISECTING) =E2=86=B3 git bisect good 3553904a90a242b7ee7b48607ac02cf57e2ab753 is the first bad commit commit 3553904a90a242b7ee7b48607ac02cf57e2ab753 Author: Eli Zaretskii Date: Fri Sep 30 15:38:22 2022 +0300 Fix some issues with vertical-motion in bidi-reordered text =20=20=20=20 This fixes some uses of vertical-motion when a screen line starts withcharacters of directionality that is opposite to the current paragraph's base direction. * src/xdisp.c (move_it_vertically_backward): Adjust NLINES to compensate for its increasing when DY =3D=3D 0. src/xdisp.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) --=20 Matthias