Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CS.WISC.EDU!dcmartin From: dcmartin@CS.WISC.EDU ("David C. Martin") Newsgroups: gnu.emacs Subject: Re: emacs hangs when invoke from a subshell Message-ID: <8911291900.AA13109@cheddar.cs.wisc.edu> Date: 29 Nov 89 19:00:52 GMT References: <8911290316.AA17359@soulcatcher.uk.oracle.com> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: University of Wisconsin - Madison Lines: 22 If you compile emacs w/ the X Window System support, it defaults to attempting to start up w/ the X server on the local machine (localhost:0.0, I assume). If you want to start it up under a tty subshell, you have to use the -nw flag to say ``no window.'' Hope this solves the problem. dcm -------- Your message: We are running GNU emacs 18.55 on both SUN SPARC SUNOS 4.0.3 and DEC 3100 Ultrix workstations. When emacs is invoked from a subshell on these machines, it hangs; PS shows it to be in state "T" (stopped on tty output?). When the same emacs is invoked with the DISPLAY environment variable set appropriately, it creates an X window and all is well. I have the feeling I'm missing something obvious here; does anyone know why this is happening? Thanks, -------- Brought to you by Super Global Mega Corp .com