delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/11/15:19:23

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: <CANDzSLR7Z0TjJx6GJ2ds5A8MKNRaBA0QPBHGf_siwrzeqiXBNg@mail.gmail.com>
Subject: "Inappropriate ioctl for device" problem using latest cygwin as a shell within native (non-cygwin) GnuEmac
From: Jack Profit <jack DOT profit AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019