X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Sun, 11 Mar 2012 12:19:00 -0700 Message-ID: Subject: "Inappropriate ioctl for device" problem using latest cygwin as a shell within native (non-cygwin) GnuEmac From: Jack Profit To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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. Jack -- 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