After reinstalling Cygwin Emacs can only create a single shell buffer

KARR, DAVID dk068x@att.com
Fri Aug 9 13:31:30 GMT 2024


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 yesterday, 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.

I've already reported this to the help-gnu-emacs list, and they said I should ask here instead.


More information about the Cygwin mailing list