bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: have bg, fg, but lack stop


From: Ken Irving
Subject: Re: have bg, fg, but lack stop
Date: Sat, 19 Dec 2009 17:48:44 -0900
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Dec 20, 2009 at 10:30:27AM +0800, jidanni@jidanni.org wrote:
> Notice how I need two steps to stop this running job:
> 
> $ jobs
> [1]+  Running                 firefox &
> $ fg
> firefox
> ^Z
> [1]+  Stopped                 firefox
> 
> As there is no
> $ stop %1
> like command.

kill %1 works for me.  I've puzzled over this before, and I think part of the
trouble may be that 'jobspec' is not defined in bash(1) (v 3.29).

Ken

> 
> OK, I suppose I can use
> 
> $ kill -s SIGSTOP %1
> $
> [1]+  Stopped                 firefox
> 
> OK, never mind. Market demand too low to add...

-- 
Ken.Irving@alaska.edu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]