GNU bug report logs - #31144
cygwin bash: cannot set terminal process group (-1): inappropriate ioctl for device

Previous Next

Package: emacs;

Reported by: Piyush Kapadia <piyush_kapadia <at> hotmail.com>

Date: Fri, 13 Apr 2018 08:19:03 UTC

Severity: normal

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31144 in the body.
You can then email your comments to 31144 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#31144; Package emacs. (Fri, 13 Apr 2018 08:19:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Piyush Kapadia <piyush_kapadia <at> hotmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 13 Apr 2018 08:19:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Piyush Kapadia <piyush_kapadia <at> hotmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: cygwin bash: cannot set terminal process group (-1): inappropriate
 ioctl for device
Date: Fri, 13 Apr 2018 02:00:45 +0000
[Message part 1 (text/plain, inline)]
There is a bug out there for using NTEmacs on Windows.

NTEmacs on Windows is great setup to use in combination with cygwin.

However since quite some time when you launch cygwin as a shell from NTEmacs it give this error.

There is a bug out there for using NTEmacs on Windows.

Its been several years and no one has been able to solve it yet.

Please look through this and solve it so that cygwin could be used as a shell from with in NTEmacs.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31144; Package emacs. (Fri, 13 Apr 2018 08:56:02 GMT) Full text and rfc822 format available.

Message #8 received at 31144 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Piyush Kapadia <piyush_kapadia <at> hotmail.com>
Cc: 31144 <at> debbugs.gnu.org
Subject: Re: bug#31144: cygwin bash: cannot set terminal process group (-1):
 inappropriate ioctl for device
Date: Fri, 13 Apr 2018 11:55:18 +0300
> From: Piyush Kapadia <piyush_kapadia <at> hotmail.com>
> Date: Fri, 13 Apr 2018 02:00:45 +0000
> 
> There is a bug out there for using NTEmacs on Windows.
> 
> NTEmacs on Windows is great setup to use in combination with cygwin.
> 
> However since quite some time when you launch cygwin as a shell from NTEmacs it give this error.
> 
> There is a bug out there for using NTEmacs on Windows.
> 
> Its been several years and no one has been able to solve it yet.
> 
> Please look through this and solve it so that cygwin could be used as a shell from with in NTEmacs.

I see no such error message in Emacs sources.  Unless I missed
something, this means the error message comes from Cygwin, and you
should first report this problem on the Cygwin mailing list.  If the
analysis of the Cygwin developers concludes that this is something
that should be fixed in Emacs, and indicates how to do that, please
come back here with those conclusions, and we will try to see how to
fix this.

Also, you didn't say which version of Emacs you are using, and where
did you get the binaries, if you didn't yourself compile Emacs.  If
your version of Emacs is old, I suggest to try the latest version (RC1
of Emacs 26.1 was just released and is available from alpha.gnu.org),
because it's possible the problem was solved in the meantime.

P.S.  In general, the combination of the native Windows build of Emacs
and Cygwin tools is only semi-supported, as there are subtle
incompatibilities between them.  You may be better off using the
Cygwin build of Emacs, either the one that requires X libraries or the
one that uses the native w32 widgets.

Thanks.




Added tag(s) wontfix; removed tag(s) moreinfo. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 09 Jan 2019 00:42:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 31144 <at> debbugs.gnu.org and Piyush Kapadia <piyush_kapadia <at> hotmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 09 Jan 2019 00:42:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 06 Feb 2019 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 73 days ago.

Previous Next


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