public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with emacs shell starting with 2011-05-05 snapshot
@ 2011-06-15 21:14 Ken Brown
  2011-06-16 18:43 ` Ken Brown
  2011-06-17 11:20 ` Ken Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Ken Brown @ 2011-06-15 21:14 UTC (permalink / raw)
  To: cygwin

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

Starting with the 2011-05-28 snapshot, the error message changes to

  Process shell aborted

Starting with the 2011-06-01 snapshot, it changes again, this time to

  Process shell stopped (tty input)

I still get that error message with the 2011-06-14 snapshot.

My system is Win7 SP1 64-bit.  I also have an XP system that I can test this on later.  I haven't had a chance yet to dig into the emacs code and see if I can boil this down to a Simple Test Case.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with emacs shell starting with 2011-05-05 snapshot
  2011-06-15 21:14 Problems with emacs shell starting with 2011-05-05 snapshot Ken Brown
@ 2011-06-16 18:43 ` Ken Brown
  2011-06-16 19:34   ` Ken Brown
  2011-06-17 11:20 ` Ken Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Ken Brown @ 2011-06-16 18:43 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with emacs shell starting with 2011-05-05 snapshot
  2011-06-16 18:43 ` Ken Brown
@ 2011-06-16 19:34   ` Ken Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Ken Brown @ 2011-06-16 19:34 UTC (permalink / raw)
  To: cygwin

On 6/16/2011 2:43 PM, Ken Brown wrote:
> 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.

Please disregard this message.  I did something stupid and didn't really 
test my build.

Sorry for the noise.  I'll write again after doing some more careful 
testing.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with emacs shell starting with 2011-05-05 snapshot
  2011-06-15 21:14 Problems with emacs shell starting with 2011-05-05 snapshot Ken Brown
  2011-06-16 18:43 ` Ken Brown
@ 2011-06-17 11:20 ` Ken Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Ken Brown @ 2011-06-17 11:20 UTC (permalink / raw)
  To: cygwin

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
>
> Starting with the 2011-05-28 snapshot, the error message changes to
>
>    Process shell aborted
>
> Starting with the 2011-06-01 snapshot, it changes again, this time to
>
>    Process shell stopped (tty input)
>
> I still get that error message with the 2011-06-14 snapshot.

This is fixed in the 2011-06-16 snapshot.  Thanks.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-17 11:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15 21:14 Problems with emacs shell starting with 2011-05-05 snapshot Ken Brown
2011-06-16 18:43 ` Ken Brown
2011-06-16 19:34   ` Ken Brown
2011-06-17 11:20 ` Ken Brown

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