Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA684 ; Sat, 06 Feb 93 21:01:04 EST Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!clark!serval!news.u.washington.edu!usenet.coe.montana.edu!saimiri.primate.wisc.edu!doug.cae.wisc.edu!umn.edu!lynx.unm.edu!zia.aoc.nrao.edu!laphroaig!cflatter From: cflatter@nrao.edu (Chris Flatters) Subject: Re: emacs UNIX shell upon login Message-ID: <1993Feb5.010124.13323@zia.aoc.nrao.edu> Sender: news@zia.aoc.nrao.edu Reply-To: cflatter@nrao.edu Organization: NRAO References: <ARA.93Feb4183013@camelot.ai.mit.edu> Date: Fri, 5 Feb 93 01:01:24 GMT Lines: 22 In article 93Feb4183013@camelot.ai.mit.edu, ara@zurich.ai.mit.edu (Allan Adler) writes: >It is easy enough to go into emacs: I just put the command > >emacs > >in my .cshrc file. It is also easy to go directly into a UNIX shell >upon entering emacs: I just put the line > >(shell) > >in my .emacs file. However, if I do both of these things, then when I >log in, the machine goes into an infinite loop which persists even >after I log out. Eventually, the loop exhausted some resources and >was thrown out, whereupon I was able to delete the .emacs file via >anonymous ftp. Before the loop was thrown out, I could not delete the file >via anonymous ftp because the file was "busy". I'm not surprised: .cshrc is executed by any new C shell so you get an inbounded recursion. Try moving the emacs command to .login. Chris Flatters cflatter@nrao.edu