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 19:22:03 +0300 Message-ID: <83ler7vx3o.fsf@gnu.org> References: <83edx1znjl.fsf@gnu.org> <83czclzms4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20102"; mail-complaints-to="usenet@ciao.gmane.io" Cc: kuragin@google.com, 57434@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 29 18:22: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 1oShWx-00057o-Mg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 18:22:31 +0200 Original-Received: from localhost ([::1]:52388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oShWw-0007Pf-MP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 12:22:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oShWU-0007PI-NA for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 12:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oShWU-0002nN-Et for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 12:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oShWU-0007WN-AJ for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 12:22: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 16:22: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.166179011028878 (code B ref 57434); Mon, 29 Aug 2022 16:22:02 +0000 Original-Received: (at 57434) by debbugs.gnu.org; 29 Aug 2022 16:21:50 +0000 Original-Received: from localhost ([127.0.0.1]:33654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oShWI-0007Vi-35 for submit@debbugs.gnu.org; Mon, 29 Aug 2022 12:21:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oShWH-0007VW-43 for 57434@debbugs.gnu.org; Mon, 29 Aug 2022 12:21:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oShWB-0002ld-Gp; Mon, 29 Aug 2022 12:21:43 -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=QB06/fZNVLwxO7oFikfMpGF7Vm89DP1k4O8gvBI9iK4=; b=VrCsQ7Qf6zP7lrQdK8Hi QDhl9Uh1zWjZhSl79h1P1JdNNfsXCWXgawchRHHkAuBVPpsuUd12NnapkvlYMuqADlj0oSvuujwKr dQ02QEpFQDc+j2CaMLW5jDbIh28BPKGxnievV73plSoUN/SovON17Cr+b2t0ZLYAuoV4w5hpD3L1B F5xAtJ8nzPxjptJBlhSpWBhcBvig3gqkkjc+VhZYc2qFQve9U67fix8MRUYVz6eqBdBrTT9iTR3/1 fojMZxr4MS1GauoTrsbMTxfsdP4md2j8INkoLaOZCNcPjwrhmfto7vtNst6l3IrNJ/x9LdW5c94ur VHUTIFne/t3xTw==; Original-Received: from [87.69.77.57] (port=3485 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 1oShWA-0006se-Si; Mon, 29 Aug 2022 12:21:43 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Mon, 29 Aug 2022 17:15:41 +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:241050 Archived-At: > From: Gerd Möllmann > Cc: Eli Zaretskii , 57434@debbugs.gnu.org > Date: Mon, 29 Aug 2022 17:15:41 +0200 > > LLDB doesn't work for me, neither the one from Apple, nor from LLVM 14. > For some reason, SIGTTOU seems to be behave differently when running > Emacs -nw under LLDB, even when I tell LLDB to not stop or report it. > Or so I think, I'm not an LLDB expert. > > Here is what I tried > > cd src > lldb emacs > b main > run -Q -nw > process handle -s false -n false SIGTTOU > c > > but then Emacs gets stuck. Maybe it's a bug in LLDB. Is this specific to -nw sessions? If so, maybe LLFB has a command similar to GDB's "set new-console 1"? That's what I do to make sure the console used by GDB doesn't get messed up by the terminal setup used by Emacs to prepare the terminal for itself. Like this: $ gdb ./emacs ... (gdb) set new-console 1 (gdb) r -Q -nw Then Emacs gets a new console for its TTY frame, while GDB retains its original console.