From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27455 invoked from network); 29 Sep 2021 12:25:35 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Sep 2021 12:25:35 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1632918335; b=opigivTKFQs0/rhkeQuBwyrE0Jw1p24GEDohlYxUGQmct04qMrXodFyImqY9snvRx1JFYIuNBr DxTCN2Dup6nEm+FGvV0NGy7pEhn08ao14QliJjKkE4WCY0bQb7Gl5Fn5TUWbqsq14cpnf7+lhy nmItqkzmOkAtXFWwaH0XTUSkWbpnxkdu3o+YnAfIrT55+cxkxWfn04ItdIX5/X4uxVFCLpK4gP y6iL7NJh9xEhVk5r6dj+qV3OiSv4LCJ0SRYjfZTTHP8h/gatsGgxmxWJCtkV+TjSfJ5XyYj4E2 VZMsLZYDSk99Cu/+vqdyqNdfyVL8G6bu3vN0/V6wn1mlAg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (cventin.lip.ens-lyon.fr) smtp.remote-ip=140.77.13.17; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1632918335; bh=TqmA15YTQHiqbq2IPEq7eHbJxjwSt1fweBb31LYMDac=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=o1yIk+Xj5lxp4OC8ymTpmKRxVLWVpAoHt3rtBL3H4E7kHdv4rLTBOGkchu5+wMVFl3CYdgLzc6 BmG00jPO9EwofmM5dUIuACPKldPn6u/+JswXJJp+AThQd1FrdpuCGoPGH6V2np4S7fxqcOgpNO Jh3Z5+7F9ksW8p5Rs/BGpDKcvvuqLz2ZuDP1FnIMiC8fPYPxOkz/UicSwKfU2MOIMnFKHuPqkl YKu8C6/k12XtAEqqeVqfu17Bkr96VgN52ricoiKMvRrfPRO/z8Ltu5hDzZ38CY15dle34j5cHY Srpslq72is52Jk9AGXfLYQzUqKpeYzLLZ2mzyXfj7aqoeA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=q2PqnK/RblZtQsY+TzO7GV+jUyxlI/mK8Qe56guaCjU=; b=GPvSOhSfyR0FkTvdbCXl2fK7lI 2OUP+CkPU69vpigBhwrxWPl0oeyg/zgklw/0taa+F9b27D52dCx+wi8nRciG0sZAfzinTDgAyQG4O 4YJsZ2DJinoDi1czKn8h1hzhYg6PsTRYk3wSIsCOYRFZe6HmM5Y718HmXwdGXWyvkxE9UMft0XTBx itGAEi1wpiY+Nm2pLAfCd84GbCK2UiimooU3rNgh40ABLYRQSMHFWuWYZS9gbuhpOJ4xWYKPP6alj uiZA4QW6zm+yaGn8VcmhC8D/pKx5jJBd74+jQ/+bjUnmLxpX9JMUFHejbbQD6Eb1JQnnF8pSPAy2R iBz6WbZw==; Received: from authenticated user by zero.zsh.org with local id 1mVYeV-0002Kk-4z; Wed, 29 Sep 2021 12:25:35 +0000 Authentication-Results: zsh.org; iprev=pass (cventin.lip.ens-lyon.fr) smtp.remote-ip=140.77.13.17; dmarc=none header.from=vinc17.net; arc=none Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]:37708) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mVYdi-0001bO-RQ; Wed, 29 Sep 2021 12:24:47 +0000 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.95-RC2) (envelope-from ) id 1mVYdh-0003OO-AJ; Wed, 29 Sep 2021 14:24:45 +0200 Date: Wed, 29 Sep 2021 14:24:45 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: less with subprocess Message-ID: <20210929122445.GA11979@cventin.lip.ens-lyon.fr> Mail-Followup-To: zsh-users@zsh.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.1.3+60 (d7d7b4b3) vl-138565 (2021-09-13) X-Seq: 27174 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 2021-09-27 22:30:08 +0200, Pier Paolo Grassi wrote: > Hello, I have something like this: > > less -f <(sleep 100) > > actually the sleep is a find which does not produce any output for a long > time at times, but the result is pretty much the same: less doesn't seem to > be able to initialize if it doesn't receive an input, so it can't respond > to sigint (ctrl-c), and I have to kill it from another shell This seems similar to this more general bug I reported in 2019: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931216 There is an issue with its signal handling. I had written a patch, but it doesn't work well in some cases. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)