public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: sethflash <seth@flashgroup.com>
To: cygwin@cygwin.com
Subject: Re: bash under emacs gives "cannot set terminal process group"
Date: Mon, 25 Jun 2012 20:46:00 -0000	[thread overview]
Message-ID: <34069153.post@talk.nabble.com> (raw)
In-Reply-To: <4F4B7ACB.30608@cornell.edu>


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

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

  reply	other threads:[~2012-06-25 20:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27 12:45 leoslists
2012-02-27 15:19 ` Ken Brown
2012-06-25 20:46   ` sethflash [this message]
2012-06-27 13:55     ` Ken Brown
2012-02-28 10:25 ` Leo
2012-02-28 12:56   ` Ken Brown
2012-02-29 19:31     ` wytten
2012-03-01 22:34       ` Leo
2012-03-11 19:00         ` bash under emacs gives Jack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34069153.post@talk.nabble.com \
    --to=seth@flashgroup.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).