From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#70519: 30.0.50; Device for Emacs terminal I/O Date: Sat, 4 May 2024 10:39:20 -0700 Organization: UCLA Computer Science Department Message-ID: <447da592-a8c0-4fcb-9d5d-1768dc3bc7be@cs.ucla.edu> References: <871q6xkvm9.fsf@gmail.com> <86zftk4pau.fsf@gnu.org> <865xvthnm8.fsf@gnu.org> <87msp5bmvf.fsf@gmail.com> <86edahft33.fsf@gnu.org> <72ad1e4f-39fb-4287-874d-f0ddecb08e41@cs.ucla.edu> <868r0pfqad.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9173"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Philipp Stephani , 70519@debbugs.gnu.org, eller.helmut@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 04 19:39:54 2024 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 1s3JMX-00026P-Ly for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 May 2024 19:39:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3JMU-0004Fi-52; Sat, 04 May 2024 13:39:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3JMK-0004En-0E for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 13:39:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3JMI-0001dz-Jb for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 13:39:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3JMf-0006Wn-MT for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 13:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 May 2024 17:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70519 X-GNU-PR-Package: emacs Original-Received: via spool by 70519-submit@debbugs.gnu.org id=B70519.171484439325083 (code B ref 70519); Sat, 04 May 2024 17:40:01 +0000 Original-Received: (at 70519) by debbugs.gnu.org; 4 May 2024 17:39:53 +0000 Original-Received: from localhost ([127.0.0.1]:54887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3JMX-0006WV-3U for submit@debbugs.gnu.org; Sat, 04 May 2024 13:39:53 -0400 Original-Received: from mail.cs.ucla.edu ([131.179.128.66]:56258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3JMT-0006WP-M3 for 70519@debbugs.gnu.org; Sat, 04 May 2024 13:39:51 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id E80E53C00F4E2; Sat, 4 May 2024 10:39:20 -0700 (PDT) Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id vVULVr1NUPVx; Sat, 4 May 2024 10:39:20 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 7D77C3C00F4E3; Sat, 4 May 2024 10:39:20 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 7D77C3C00F4E3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1714844360; bh=qbX0+NzUL7jQ8rrSo11I+2InvSLQNrc8altXIPpget4=; h=Message-ID:Date:MIME-Version:To:From; b=d38TtTeVduTPcPKMEydj0F4OI8GljIYSCd5hlj8SdtADcoY45fXPuI1PFRtZsMJun cOHEhU9kvQOMFMhIuZSfNRHkNZd2tSXQrdXhIBgTi2QSAZZ6kSEMXePf0PY3UEhcUt ZwyfHKHWGIOWqvAbBagYuISDoM/jeomxbnheFnYMLDWwj/udj0Z7Pnz8r9Q8ldcNDx qONWUiwjmlK8wj/8JvUiGGdJEPUvjfOU/uT9SZ7wFLRV0BW9ecPClk5U6xdIr+Wxm+ fXt+pd5Nx+vbf7fxzYidohmGF7IaLNj55R0FC3Qymk13RJkj5snd2zi2uzmkWAOEDs geqJWPdGTJNsw== X-Virus-Scanned: amavis at mail.cs.ucla.edu Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id 7nURkqnQjfuk; Sat, 4 May 2024 10:39:20 -0700 (PDT) Original-Received: from [192.168.254.12] (unknown [47.154.17.165]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 5E3AD3C00F4E2; Sat, 4 May 2024 10:39:20 -0700 (PDT) Content-Language: en-US In-Reply-To: <868r0pfqad.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284452 Archived-At: On 2024-05-04 10:19, Eli Zaretskii wrote: > So you are saying that the handling of --terminal in emacs.c is > incomplete, in that it doesn't call that ioctl on the new stdin? Sounds like that may be so, if that's what Helmut needs. > In any case, is the result Helmut reports after typing Ctrl-C > expected, or does it mean we have a bug when using --terminal? I don't know. I don't use --terminal. Perhaps others who use it could weigh in. > emacs_spawn is about starting a sub-process, which is something > different from what I'm talking about. Here, the issue is the Emacs's > own terminal. This stuff used to be in different and somewhat-duplicated sections of code, but Philipp refactored and coalesced this in 2020. Perhaps a bit of the controlling terminal business got lost in the shuffle? I'll cc this to Philipp to see whether he has insight on the issue. Philipp, the details are here: https://bugs.gnu.org/70519