delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/16/14:44:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DFA4ED6.8020601@cornell.edu>
Date: Thu, 16 Jun 2011 14:43:34 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problems with emacs shell starting with 2011-05-05 snapshot
References: <4DF920BC DOT 5080502 AT cornell DOT edu>
In-Reply-To: <4DF920BC.5080502@cornell.edu>
X-IsSubscribed: yes
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

On 6/15/2011 5:14 PM, Ken Brown wrote:
> Starting with the 2011-05-05 snapshot, I can't start a shell under emacs.  Here are the steps to reproduce:
>
> 1. Start emacs in a mintty window.
> 2. Type<Alt-x>shell<enter>
>
> This yields the following error message in the shell buffer:
>
>    sh: cannot set terminal process group (-1): Inappropriate ioctl for device
>    sh: no job control in this shell
>

The problem with the 2011-05-05 snapshot goes away if I build 
cygwin1.dll myself.  I used a CVS checkout as of 2011-05-05 22:31, which 
seems to be cutoff for that snapshot.  The last change in the ChangeLog is

2011-05-05  Christopher Faylor  <...>

	* cygheap.cc (cygheap::close_ctty): Close ctty via close_with_arch().
	* debug.cc (close_handle): Call debugger on failure.
[...]

I don't understand this.  I simply built cygwin1.dll according to the 
instructions in the FAQ.

I haven't had a chance to build cygwin1.dll from later checkouts yet, so 
I don't know if the problems with later snapshots will go away too.

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

- Raw text -


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