public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: "Inappropriate ioctl for device" problem using latest cygwin as a shell within native (non-cygwin) GnuEmac
Date: Sun, 11 Mar 2012 19:42:00 -0000	[thread overview]
Message-ID: <4F5D0025.9040309@cornell.edu> (raw)
In-Reply-To: <CANDzSLR7Z0TjJx6GJ2ds5A8MKNRaBA0QPBHGf_siwrzeqiXBNg@mail.gmail.com>

On 3/11/2012 3:19 PM, Jack Profit wrote:
> After upgrading my cygwin environment this morning to version
> 1.7.11-1, I am no longer able to use cygwin bash as a shell within
> native GnuEmacs (Windows).
>
> When I invoke M-x shell, I now get the following output in the shell window:
>
> bash: cannot set terminal process group (-1): Inappropriate ioctl for device
> bash: no job control in this shell
> $
>
> The shell window is functional, but as the error message suggests, I
> have no Ctrl-C, Ctrl-Z or other job control functions.
>
> Here are my shell related .emacs settings:
> (setq explicit-shell-file-name "c:/cygwin/bin/bash.exe")
>
> I am using:
> GnuEmacs version 23.4.1 (latest)
> Bash version 4.1.10-4
> also Bash version 3.2.51-24 (removes error message, but job control
> still doesn't work)
>
> I also tried the cygwin1.dll from the 3/10 snapshot and saw no
> difference in behavior.

I doubt if the Cygwin developers are going to be able to track this down 
unless you can find a way to reproduce the problem without using native 
emacs.  Can you look into the emacs source for the native build and see 
how it is creating the bash process?  Maybe you can extract a simple 
test case from it.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2012-03-11 19:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11 19:19 Jack Profit
2012-03-11 19:42 ` Ken Brown [this message]
2012-03-11 19:47   ` Ken Brown
2012-03-12  1:44     ` Jack
2012-05-06  2:40       ` Re: Trey Greer
2012-05-06  3:00     ` "Inappropriate ioctl for device" problem using latest cygwin as a shell within native (non-cygwin) GnuEmac Trey Greer

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=4F5D0025.9040309@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /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.
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).