[gnu.emacs.bug] FOLLOWUP TO Suspending Emacs in a shelltool

squash@BOSCO.BERKELEY.EDU (09/04/89)

This is a followup to my message of  3 Sep 89 09:02:42 GMT  from
squash@BOSCO.BERKELEY.EDU  running  version 18.51.1 of  GNU Emacs.

In that message I refered to the typing of C-z causing my Shelltool (in which
I am running GNU Emacs, under Suntools on a Sun workstation) to die.

Alas, it seems that typing C-g at the wrong time also causes this problem.
I had the following file
  -rw-------  1 squash     641490 Sep  3 04:08 5run.500
in a buffer and was examining it in Outline mode with Narrowing.  I believe I
typed some Outline command and then the word
  Autosaving...
appeared in the minibuffer.  I typed a single C-g and the same symptoms that
C-z provoked occurred, namely, Emacs no longer saw my keyboard input (it
merely echoed in the Shelltool)
					jonathan king

dog@cbnewsl.ATT.COM (edward.n.schiebel) (09/05/89)

From article <8909040826.AA04025@purina>, by squash@BOSCO.BERKELEY.EDU:
> ...stuff deleted...  I typed a single C-g and the same symptoms that
> C-z provoked occurred, namely, Emacs no longer saw my keyboard input (it
> merely echoed in the Shelltool)

I have also seen this in emacstool (emacs 18.53, sun3, sunos 4.0.3)
but don't know how it happenes.  It's in response to some mis-type
on my part.  The only way to resume is kill the window entirely
and start over.

	-Ed Schiebel

mdb@bridge2.ESD.3Com.COM (Mark D. Baushke) (09/06/89)

In article <1755@cbnewsl.ATT.COM> dog@cbnewsl.ATT.COM (edward.n.schiebel)
writes:
ed> From article <8909040826.AA04025@purina>, by squash@BOSCO.BERKELEY.EDU:
> ...stuff deleted...  I typed a single C-g and the same symptoms that
> C-z provoked occurred, namely, Emacs no longer saw my keyboard input (it
> merely echoed in the Shelltool)

ed> I have also seen this in emacstool (emacs 18.53, sun3, sunos 4.0.3)
ed> but don't know how it happenes.  It's in response to some mis-type
ed> on my part.  The only way to resume is kill the window entirely
ed> and start over.

ed> 	-Ed Schiebel

You do not have to kill the window entirely and start over. Follow this
procedure and you should be able to recover.

	do a ps command (from another window) to find the process
	number of the emacs process (NOT the emacstool process).

	issue the command 'kill -CONT emacs-process-number' to restart
	the suspended emacs (where emacs-process-number is the number
	from the ps command above)

	if it happened that your emacstool sent too many C-g
	interrupts in a burst, emacs will prompt you to 'autosave
	(y/n)' say 'y', it will ask if you want to dump core. say 'no'
	you will be able to continue where you left off.

	if it was not the 'too many interrupts' problem you will be
	back in emacs where you left off.

Enjoy!
--
Mark D. Baushke
Internet:   mdb@ESD.3Com.COM
UUCP:	    {3comvax,auspex,sun}!bridge2!mdb