[gnu.emacs.bug] Can't open shell buffer in 18.55

reed@olympus.princeton.edu (01/19/90)

I recently made gnuemacs 18.55 for a Sparc station running Sun OS 4.0.3.
Everything seems to run fine, except for one small problem.  When I
try to open the shell buffer with the M-x shell command, I receive
the following error message:

	Process shell exited abnormally with code 1

The shell window opens fine, but for some reason, no shell process
seems to be able to run.  I took a look at the source code, but I
really couldn't figure out what's going wrong.  Does anybody out
there have any ideas?

Thanks in advance.

weening@Gang-of-Four.Stanford.EDU (Joe Weening) (01/19/90)

In article <13065@phoenix.Princeton.EDU> reed@olympus.princeton.edu writes:

   I recently made gnuemacs 18.55 for a Sparc station running Sun OS 4.0.3.
   Everything seems to run fine, except for one small problem.  When I
   try to open the shell buffer with the M-x shell command, I receive
   the following error message:

	   Process shell exited abnormally with code 1

I've seen this happen on a number of machines.  The problem is usually
that Emacs is trying to use a pty for the shell buffer that is still
in use as some other process's controlling terminal.  There's an easy
workaround: rename (don't kill) the shell buffer and type M-x shell
again.  Try it several times (renaming each bad buffer to something
different) if it doesn't work the first time.
--
Joe Weening                                Computer Science Dept.
weening@Gang-of-Four.Stanford.EDU          Stanford University