From owner-freebsd-questions Thu Nov 30 15:45: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id C1E0037B400 for ; Thu, 30 Nov 2000 15:44:57 -0800 (PST) Received: (qmail 41906 invoked by uid 100); 30 Nov 2000 23:44:56 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14886.58999.949219.141331@guru.mired.org> Date: Thu, 30 Nov 2000 17:44:55 -0600 (CST) To: Cliff Sarginson Cc: Gary , Peter , questions@freebsd.org Subject: Re: How to Resume a Suspended Process In-Reply-To: <00113023231505.02830@buffy> References: <14885.50923.235065.639125@guru.mired.org> <00113023231505.02830@buffy> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Message: You should get a better mailer. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Cliff Sarginson types: > On Thursday 30 November 2000 04:18, Mike Meyer wrote: > > Gary types: > > > >> Occasionally, I have accidentally hit cntrl-Z when trying to hit > > > >> cntrl-C. Cntrl-Z suspends whatever process I was running and returns > > > >> me to the command prompt. How can I resume the suspended process? > > > Can also type %(name of program) to bring it back (at least in Linux) > > This is a feature of the shell, not the OS. Bash, csh and FreeBSD's > > /bin/csh all support it. > Mmm, well it does require OS support to work, to be accurate... Well, suspend/resume requires OS support. But whether any shell supports the "%(name of program)" feature for doing a resume is a shell feature; the OS has nothing to do with that. And if the OS doesn't do suspend/resume, the the problem with C-Z that started the thread would never happen :-). http://www.mired.org/home/mwm/ Independent WWW/Unix/FreeBSD consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message