Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hpcvca!charles From: charles@hpcvca.CV.HP.COM (Charles Brown) Newsgroups: comp.emacs Subject: Re: "Suspending a program running in an X window is silly" Message-ID: <640015@hpcvca.CV.HP.COM> Date: 2 Jul 90 18:40:48 GMT References: Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 36 > This reminds me. Does anybody else think that the version of ^Z that > gets compiled on machines without job control (the inferior shell that > uses the original terminal) is better than the version that gets > compiled on machines with job control (the superior shell)? I prefered forking a new shell over returning to the original. > What is the advantage of the superior shell other than that one's > .cshrc/$ENV file is not read and that non-exported items are > available? One of the advantages of the inferior shell is that one > starts out in the working directory of the current buffer, rather than > the wd at the time that one called emacs. One of the advantages of inferior shells is that I could more easily stack emacses. If I was planning extensive editing in a directory but afraid I might screw things up I would type "emacs *" and immedeately fork out with ^Z and use emacs on the files I knew I wanted to change. If I got to a plateau, (that is a place where things were working again, but not really the ultimate objective) I would fork out again and start over. In this way I had a file history created as I went. If my edits were successful I could simply exit from my shells and emaces and therefore dispose of the history. Perhaps this is still possible, but I am not really proficient with job control. > (P.S. I quickly tell the difference between an inferior shell and the > superior shell because I have my prompts change for each invocation of > a subshell. This helps to remind me that I am inside emacs and is an > advantage of the inferior shell, along with knowing that I have a new, > unadulterated shell.) So do I. When I sit down to someone elses session to help them out, it makes me nervous not having that information. -- Charles Brown charles@cv.hp.com or charles%hpcvca@hplabs.hp.com or hplabs!hpcvca!charles or "Hey you!" Not representing my employer.