unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* After reinstalling Cygwin, executing shell function in Emacs gets "cannot set terminal process group"
@ 2024-08-08 23:55 KARR, DAVID
  2024-08-09 10:25 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: KARR, DAVID @ 2024-08-08 23:55 UTC (permalink / raw)
  To: Help-gnu-emacs@gnu.org

I've been using Cygwin and Cygwin Emacs for a long time on Windows 11.  I have to reinstall it every couple of years.  I just reinstalled Cygwin today, and after having to remember a bunch of things, I finally got my Emacs window again.  However, the main thing I use it for is giving me a new problem.  I have a wrapper function that creates a new buffer and runs "(shell)".  This has literally worked fine for decades.  Today, it worked fine for the first shell.  The package allows me to manage multiple shell buffers. When I tried to create the second shell buffer, it said this:

    bash: cannot set terminal process group (-1): Inappropriate ioctl for device
    bash: no job control in this shell

If I just kill this buffer at this point, I can safely interact with the first shell buffer.  However, if I execute any command, it seems to execute it in an infinite loop, and if I then kill the buffer, the Emacs process is completely hung, and I have to kill the entire process. 

This is using Emacs v29.4.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-11 17:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08 23:55 After reinstalling Cygwin, executing shell function in Emacs gets "cannot set terminal process group" KARR, DAVID
2024-08-09 10:25 ` Eli Zaretskii
2024-08-11 17:51   ` KARR, DAVID

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).