From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Subject: Re: [9fans] process group, processes running in the background From: "Russ Cox" Date: Fri, 20 Jun 2008 15:58:31 -0400 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080620195755.5C1551E8C22@holo.morphisms.net> Topicbox-Message-UUID: c3ef80ea-ead3-11e9-9d60-3106f5b1d025 There is no "job control" in Plan 9. Instead, there is a window system. Draw two windows, and run one command in each. Then it is very easy to bring one or the other command to the foreground by clicking with the mouse in the associated window. Russ P.S. Processes by group: for(i in `{grep . /proc/*/noteid | sed 's!.*:!!' | sort -nu}){ echo $i ps | grep -f <{ grep -l ' '$i' ' /proc/*/noteid >[2]/dev/null | sed 's!/proc/!^[^ ]+ +!; s!/noteid! !' } }