GNU bug report logs - #41788
28.0.50; emacsclient -t doesn't work with vipe from moreutils

Previous Next

Package: emacs;

Reported by: Platon Pronko <platon7pronko <at> gmail.com>

Date: Wed, 10 Jun 2020 13:20:01 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Platon Pronko <platon7pronko <at> gmail.com>, 41788 <at> debbugs.gnu.org
Subject: bug#41788: 28.0.50; emacsclient -t doesn't work with vipe from moreutils
Date: Mon, 06 Jun 2022 19:40:09 +0200
On Jun 06 2022, Lars Ingebrigtsen wrote:

> Andreas Schwab <schwab <at> linux-m68k.org> writes:
>
>> That associates the process with /dev/tty, not the real terminal.  But
>> the running Emacs process usually does not have a controlling terminal,
>> thus it cannot open /dev/tty.  It needs to know the real terminal to be
>> able to open a tty frame on it.
>
> This works fine, though:
>
>  echo a | EDITOR="emacs -nw" vipe
>
> It's only when using emacsclient that we get an error...

Of course, emacs -nw runs on the same terminal.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 2 years and 338 days ago.

Previous Next


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