X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,SPF_NEUTRAL,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F4B7ACB.30608@cornell.edu>
Date: Mon, 27 Feb 2012 07:44:59 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bash under emacs gives "cannot set terminal process group"
References: <909A4A8E-D4D3-4256-81AE-F47D52931913@letterboxes.org>
In-Reply-To: <909A4A8E-D4D3-4256-81AE-F47D52931913@letterboxes.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown@cornell.edu - Mon Feb 27 07:44:59 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2/27/2012 7:04 AM, leoslists@letterboxes.org wrote:
> Hi there
>
> I upgraded my Cygwin installation to Cygwin dll 1.7.11-1. Since then when I start Cygwin bash under emacs i get the following error message:
>
> 	bash: cannot set terminal process group (-1): Inappropriate ioctl for device
> 	bash: no job control in this shell
>
> And indeed, I can't stop subprocesses in this shell, which is very inconvenient.
>
> BTW, I invoke bash in emacs with the arguments "--noediting -i". Both are needed.

This is the default when you run M-x shell.

> What can I do about the error message?

I can't reproduce this.  Please give a precise recipe for producing the 
problem, starting from `emacs -Q'.  Also, please follow the 
problem-reporting guidelines at

   http://cygwin.com/problems.html

including the part about attaching cygcheck output.

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

