delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/25/16:46:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <34069153.post@talk.nabble.com>
Date: Mon, 25 Jun 2012 13:46:04 -0700 (PDT)
From: sethflash <seth AT flashgroup DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bash under emacs gives "cannot set terminal process group"
In-Reply-To: <4F4B7ACB.30608@cornell.edu>
MIME-Version: 1.0
References: <909A4A8E-D4D3-4256-81AE-F47D52931913 AT letterboxes DOT org> <4F4B7ACB DOT 30608 AT cornell DOT edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

I just updated my cygwin and also have the same problem under ntemacs. 
Following another suggestion somewhere I recompiled bash eliminating the
test for using a pty in jobs.c (line 3703) and I no longer get the error,
but I still can't terminate or suspend any jobs.  Very hard to use the shell
if you can't kill a job. :)

Does anyone have any solutions or know if anyone is working on this?


Ken Brown-6 wrote:
> 
> On 2/27/2012 7:04 AM, leoslists AT letterboxes DOT 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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/bash-under-emacs-gives-%22cannot-set-terminal-process-group%22-tp33399261p34069153.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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