all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Help-gnu-emacs@gnu.org
Subject: Re: After reinstalling Cygwin, executing shell function in Emacs gets "cannot set terminal process group"
Date: Fri, 09 Aug 2024 13:25:58 +0300	[thread overview]
Message-ID: <86plqikn61.fsf@gnu.org> (raw)
In-Reply-To: <DM3PR02MB10256CAAEA6A7AAF250D1E8ED9DB92@DM3PR02MB10256.namprd02.prod.outlook.com> (dk068x@att.com)

> From: "KARR, DAVID" <dk068x@att.com>
> Date: Thu, 8 Aug 2024 23:55:59 +0000
> 
> 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.

Sounds to me like something that you should first report to the Cygwin
mailing list.  Crystal ball says that the new version of Cygwin which
you installed does something differently wrt IOCTL on console devices.




  reply	other threads:[~2024-08-09 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2024-08-11 17:51   ` KARR, DAVID

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86plqikn61.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.