From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman@google.com (T.V Raman) Newsgroups: gmane.emacs.devel Subject: Re: Emacs-25: stop-process has no effect on linux Date: Mon, 21 Dec 2015 09:38:37 -0800 Message-ID: <22136.14621.739163.676889@retriever.mtv.corp.google.com> References: <22136.10481.738169.321780@gargle.gargle.HOWL> <838u4nsp5y.fsf@gnu.org> <22136.13211.454551.743528@retriever.mtv.corp.google.com> <834mfbso6w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1450719541 27290 80.91.229.3 (21 Dec 2015 17:39:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Dec 2015 17:39:01 +0000 (UTC) Cc: emacs-devel@gnu.org, raman@google.com To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 21 18:38:59 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aB4QD-0005un-H7 for ged-emacs-devel@m.gmane.org; Mon, 21 Dec 2015 18:38:57 +0100 Original-Received: from localhost ([::1]:46582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB4QD-0005fU-1t for ged-emacs-devel@m.gmane.org; Mon, 21 Dec 2015 12:38:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB4Py-0005f2-Pa for emacs-devel@gnu.org; Mon, 21 Dec 2015 12:38:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB4Px-0006z3-OX for emacs-devel@gnu.org; Mon, 21 Dec 2015 12:38:42 -0500 Original-Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:34643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB4Px-0006yp-JS for emacs-devel@gnu.org; Mon, 21 Dec 2015 12:38:41 -0500 Original-Received: by mail-pf0-x22a.google.com with SMTP id u7so45347875pfb.1 for ; Mon, 21 Dec 2015 09:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:cc:subject:in-reply-to:references; bh=HOFvr+JgWQcwC3UOmPCtfbX07cRspXKlj16Umw2LG9w=; b=iT8tqbMd+CvAUfuVlB0aCg9/5hBhuE72KqheAqx2jaO6rt7FsDXv0J5SHUPPr/7JhL xEcCPoZY+KFJ7vuupqaCCMW3AsU5jSmfiV9g7SBC0oUxDiGrp4QL65wexGjPrRgKyQAu WKfcOd01ilzRZRi6eA9VDTLgCWd0s0C7B3VOqQMcCh7a6R0/szAj0dwWmO0KCCcAzvRl qk1xPrOUd36LWJ5boICeIldUzs6VzVKnvBYzh/T3B7k4X9sq/sYfth+19sqyajNl32L3 c0GurzdF5f0RYgkX+u3CLudMJRrML8N/DpWhn42iUiQ7DOYmfejHTIq/oB5fdk3phKWC hKgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:cc:subject:in-reply-to :references; bh=HOFvr+JgWQcwC3UOmPCtfbX07cRspXKlj16Umw2LG9w=; b=Trr2nKgSLag853lThA0A5Pd/9ZDab5oXoCU0rzdgL4s1I9LMuLJYEY2Xwgrs94eDux jIukMXsThkgDODhjlnev5bt557dR2c61qVPKGxmXnsr8HTdUD/h13VFKQlwT9XOW6tkL SZdhmQ9Wb/08Yjw0PDD9mrfO1VmFUFyR3xU3wISu9HolrWqTI2xy0XDkZp5sQFs3xP3I 9ZRY6jH/kPl+EElOAowmfFNU0lBZSwbEPjwx1ipX2WLekokgRHz3LeyqLmbUMwvK7BJI 6Q98B3Mi/DUsuaKdqQLoxcvJU86qnlykSW9iOVpNQbipINizRNtmF/Q33IWViG4mU2Ae HR1w== X-Gm-Message-State: ALoCoQmPgP382sqDqlzeHTP2iB2Ym+s26fLcJZzWyghW+Jeb1qvcJ+7vpZf9+HwBp9NRz5f1RaiH1mWcxyjBVJeky+dS9XEC/Q== X-Received: by 10.98.89.21 with SMTP id n21mr29140169pfb.70.1450719519645; Mon, 21 Dec 2015 09:38:39 -0800 (PST) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1c09:cc3b:ec5b:b372:deb4]) by smtp.gmail.com with ESMTPSA id g20sm32852909pfd.55.2015.12.21.09.38.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Dec 2015 09:38:38 -0800 (PST) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id DC38F1A1841; Mon, 21 Dec 2015 09:38:37 -0800 (PST) In-Reply-To: <834mfbso6w.fsf@gnu.org> X-Mailer: VM 8.1.1 under 25.0.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196617 Archived-At: Yes, I verified that before reporting the issue -- C-c C-z in a shell running either play or mplayer works, they also respond correctly to being resumed at the shell by typing "fg" or "bg" Eli Zaretskii writes: > > From: raman@google.com (T.V Raman) > > Date: Mon, 21 Dec 2015 09:15:07 -0800 > > Cc: raman@google.com, > > emacs-devel@gnu.org > > > > Here is a simple test: > > > > (setq proc > > (let ((process-connection-type nil)); also tried with t > > (start-process "play" "Play" "play" ; play is from sox > > ))) > > (process-status proc) -- run if it worked > > (stop-process proc) -- no-op > > (delete-process proc) ; kills it > > > > The same happens if you substitute play with mplayer. > > Could it be that these two programs catch and ignore SIGTSTP? That's > the signal sent by stop-process. Can you stop them with "kill -TSTP" > from the shell prompt? -- --