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

I’ve managed to resolve this.  I’m not certain exactly what was wrong, but I found something that’s been in my shell-mode-hook that has literally been there for decades, which when commented out, doesn’t show the symptom anymore.

After examining eshell for a couple of days, I conclude that it’s an interesting package, but I hope I don’t have to use it. It would require too many changes to my existing processes.

From: help-gnu-emacs-bounces+dk068x=att.com@gnu.org <help-gnu-emacs-bounces+dk068x=att.com@gnu.org> On Behalf Of Eli Zaretskii
Sent: Friday, August 9, 2024 3:26 AM
To: Help-gnu-emacs@gnu.org
Subject: Re: After reinstalling Cygwin, executing shell function in Emacs gets "cannot set terminal process group"

> 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


> From: "KARR, DAVID" <dk068x@att.com<mailto: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-11 17:51 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
2024-08-11 17:51   ` KARR, DAVID [this message]

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=DM3PR02MB102565106543F6E19FAB66ECD9D842@DM3PR02MB10256.namprd02.prod.outlook.com \
    --to=dk068x@att.com \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=eliz@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.