Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 6 Oct 2003 11:32:15 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Rolf Campbell cc: cygwin AT cygwin DOT com Subject: Re: Recent snapshots and bash/stopping processes In-Reply-To: Message-ID: References: <20031006144920 DOT GH29063 AT cygbert DOT vinschen DOT de> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 6 Oct 2003, Rolf Campbell wrote: > Corinna Vinschen wrote: > > On Mon, Oct 06, 2003 at 10:00:53AM -0400, Rolf Campbell wrote: > > > >>Open one window (rxvt): > >>$ sleep 1000 > >> > >>Open a seperate window (rxvt): > >>$ ps > >> PID PPID PGID WINPID TTY UID STIME COMMAND > >> 1716 1 1716 1716 con 11643 18:57:52 /usr/bin/rxvt > >> 1636 1716 1636 1724 0 11643 18:57:52 /usr/bin/bash > >> 1832 1 1832 1832 con 11643 18:59:13 /usr/bin/rxvt > >> 2072 1 2072 2072 con 11643 09:35:13 /usr/bin/rxvt > >> 2320 2072 2320 2260 2 11643 09:35:16 /usr/bin/bash > >> 2360 1 2360 2360 con 11643 09:50:50 /usr/bin/rxvt > >> 1844 2360 1844 2404 3 11643 09:50:53 /usr/bin/bash > >> 2448 2320 2448 2460 2 11643 09:51:07 /usr/bin/sleep > >> 2284 1844 2284 2452 3 11643 09:51:10 /usr/bin/ps > >>$ kill -STOP 2448 > >>$ > >> > >>Look back at first window: > >>$ sleep 1000 > >> > >>[1]+ Stopped sleep 1000 > >>$ > >> > >>This has only started happending with recent cygwin versions, I'm > >>running Oct2 right now. > > Erm... and what's wrong with this? It's the same as on Linux. > > Well, if this is design intent, then that's fine. But, on older > cygwins, it used to just stop the process (the parent of the stopped > process (bash) did nothing). It seems a little awkward to me at least, > if I stop/start a process, then I end up with both bash & that process > running at the same time, in the same console. Rolf, The last sentence doesn't make sense. If you're complaining about the notification, put a "set +b" (or "set +o notify") in your .bashrc. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/