From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57434: 28.1.91; Terminal Emacs Mac OS flickering. Date: Mon, 29 Aug 2022 22:37:52 +0300 Message-ID: <831qsyx2lr.fsf@gnu.org> References: <83edx1znjl.fsf@gnu.org> <83czclzms4.fsf@gnu.org> <83ler7vx3o.fsf@gnu.org> <838rn6x4h2.fsf@gnu.org> <834jxux3kd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7270"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 57434@debbugs.gnu.org To: Dmitrii Kuragin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 29 21:38:32 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 1oSkae-0001iP-Ca for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 21:38:32 +0200 Original-Received: from localhost ([::1]:60058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSkad-00051o-AU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 15:38:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSkaB-0004RD-BQ for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 15:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSkaB-0000MG-1u for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 15:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSkaA-00048X-UA for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Aug 2022 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57434 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57434-submit@debbugs.gnu.org id=B57434.166180185915858 (code B ref 57434); Mon, 29 Aug 2022 19:38:02 +0000 Original-Received: (at 57434) by debbugs.gnu.org; 29 Aug 2022 19:37:39 +0000 Original-Received: from localhost ([127.0.0.1]:33909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSkZn-00047i-3I for submit@debbugs.gnu.org; Mon, 29 Aug 2022 15:37:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSkZl-00047W-S1 for 57434@debbugs.gnu.org; Mon, 29 Aug 2022 15:37:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSkZg-0000HT-I1; Mon, 29 Aug 2022 15:37:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=P9oqYtrgzXPLiU3yNZDmD47sIRNTFXy8ms++p28d8Vg=; b=VISTDChbWbNf/v6/KUnP hSkXVnYyr8HnhVPmRGtwQKDwi4BaZ3aMuMX+Ngu829sKPlinPywHc63wW8uJSBiugAy98DOsESRSr VJwJtUu3sQ6vMnmXtW0LnQWh5b61iXx7C34Dku2e+ulbBG7YEtNycceOvnH17TBFnKjPW9VV31ltC KmACYoESOFP0tLuQLDmE1NQnCzkobO1kIKRR50HYImyufI82YFU2LjNFymGp2gIkelUgCVw16BJMJ zktTNM0hNcFU3kbSLD4xNfGKtCW1e6bU9zAXshyLimJNmDk42hTcD0A4dst0dMA7Bq+Z+/uA8gPPM Z/2Ai7jPvMzYiA==; Original-Received: from [87.69.77.57] (port=3859 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSkZg-0006zI-1K; Mon, 29 Aug 2022 15:37:32 -0400 In-Reply-To: (message from Dmitrii Kuragin on Mon, 29 Aug 2022 12:26:07 -0700) 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:241066 Archived-At: > From: Dmitrii Kuragin > Date: Mon, 29 Aug 2022 12:26:07 -0700 > Cc: Gerd Möllmann , > 57434@debbugs.gnu.org > > I tried different terminal emulators, Alacritty, iTerm2, Terminal.app (stock). All of them show the same issue. > So, it is not a terminal emulator. If this happens with all terminal emulators on macOS, we should reset the line_ins_del_ok flag for macOS. Look in term.c, where it is initialized by consulting various terminfo features supported by the terminal. If all the features it consults indeed work on macOS, then simply say something like #ifdef DARWIN_OS tty->line_ins_del_ok = 0; #else ... the current code... #endif and see if the problem goes away. Gerd, do you see the same on your system?