GNU bug report logs - #70519
30.0.50; Device for Emacs terminal I/O

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Mon, 22 Apr 2024 20:10:04 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Philipp Stephani <p.stephani2 <at> gmail.com>, 70519 <at> debbugs.gnu.org, eller.helmut <at> gmail.com
Subject: bug#70519: 30.0.50; Device for Emacs terminal I/O
Date: Sat, 4 May 2024 10:39:20 -0700
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




This bug report was last modified 1 year and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.