Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!BOSCO.BERKELEY.EDU!squash From: squash@BOSCO.BERKELEY.EDU Newsgroups: gnu.emacs.bug Subject: Suspending Emacs in a shelltool Message-ID: <8909030902.AA03052@purina> Date: 3 Sep 89 09:02:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 31 (Running version 18.51.1 of GNU Emacs.) [NB. I think I am reporting a possible defect in Suntools, not a bug in Emacs.] I use Suntools on a Sun terminal and envoke Emacs in a Shelltool window by putting shelltool -Wp 460 0 -Ws 692 891 -WP 256 0 emacs -funcall rmail in my .suntools file. My .login calls the suntools command. If, when in Emacs, I accidentally hit C-z (bound to suspend-emacs) my cursor jumps to the minibuffer location of the Shelltool window and the Shelltool window seems dead (it echos keyboard input, but seems to execute no commands: C-q and C-] and M-x do nothing other than echo.) The only way out that I have found is to kill the window (using the mouse to pull down the Quit command) and call my shelltool again. At one time I used the Emacstool command and my memory is that it too fell victim to C-z A candidate solution to the problem is to put into the .emacs init file ; Prevent C-z from suspending Emacs in a shelltool window (it never recovers). ; The .login file sets the SUNTOOLSYES environment variable. (if (string= "yes" (getenv "SUNTOOLSYES")) (global-unset-key "")) which is what I have done. Is this an appropriate solution? jonathan king