Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3658004ybi; Mon, 10 Jun 2019 14:17:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlJMLPJJeY2btV8Ryjn7AqYiJ3SOfk74LrpQOu2I336Xrzp8DRvQ1tHU+UOBCmO2VyAK/E X-Received: by 2002:a17:902:8209:: with SMTP id x9mr72922403pln.327.1560201445279; Mon, 10 Jun 2019 14:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560201445; cv=none; d=google.com; s=arc-20160816; b=V84XdVbjsDHBF01U4a7iv1IKXPhHUw6jMxn29csNu91dU5JptpBjuWe32feoxpqpqF FVjPxAiGIm3PkQSFZXGGk4dJXvmMttSaK6mWTusLD+gMiyvwOSkmV7k3Vw6q1I5Kh4J9 u6takxuQnk8aE2uYaCp2JZyaegTL8f/Jy+EFmYUKMhCL3vrj549FEVSi+fTYVyWpHTWl 17Z9VtP4y9JYaUVg0KUm4PRjfhtlbofobpjwamRMbjwTa2NdgzwVn6bUbOPcSe7OHj0/ sjHlaSX1hOEFQKwWhtXW6++E6BDN8k+GE6h4riQGvMgM+iGphAYZ0eg6vDOolFuMV6nW YL8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ZIUfIIMLN3e/0Y4suKqQ9G4anQzSpQbmomczdVDiSH0=; b=guJNPItLQzfeZaXS6tyejt74ZGDx+39D+nGJhdrrMZv/MS/6Dtl0xWp1+BewqAdNCL A8zuQu7v8qyAnv+U/kqAGZSyR6o0aUimg+RSGhKqWGBWU8cGkLd2eerLJUWcBEiPTJyz /gAeIYUHziBhi+Xo61vivsWKnVQKbe0xNLfdPvDD9sgCoDlv4+NlufvEMfrrh+Y8VJfY IER2h6MmBriwzWuYNDnKwKTlSHi24dZZUtxnSpevxZ7W7VE50ZT8jja3xJe49wX+hNTW MPQPx6wV8LESn7/21MT5JpFtonx+7ofNhWoWccy4b6mLgeiYradAdZTUJF7DD6o3Up7m 1Erg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=KkWwJFeh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2si10556764pgh.185.2019.06.10.14.17.09; Mon, 10 Jun 2019 14:17:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=KkWwJFeh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389884AbfFJVQ7 (ORCPT + 99 others); Mon, 10 Jun 2019 17:16:59 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:45550 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728517AbfFJVQ7 (ORCPT ); Mon, 10 Jun 2019 17:16:59 -0400 Received: by mail-oi1-f196.google.com with SMTP id m206so7318531oib.12 for ; Mon, 10 Jun 2019 14:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZIUfIIMLN3e/0Y4suKqQ9G4anQzSpQbmomczdVDiSH0=; b=KkWwJFehPDBhr4NdUmIaYVpcbBtcY+sekuoJua+arEHgspzccbX9hGECT92v0fLHyH ZYmpD21H+NYveVnwr6RO/nTlzy8f3FuBTKhJnILGYDXW5cztpw6pG0t90GBA6nFI5SAk dAIPcmF6URlzecpoiE/Kvy5nbaa1/QnR1RT0ORTmnbT+jN7CerR2BOQH8j2j4z8Kx+kw /odvr+b9/RX9x8kPTajNIuMboPxdvwZpetK0TxmopBw+ZTFvme6ySe4mr44XBdgq1609 wewfjMfmlIO5tfEHmWioYCOm1x1R0YE9V/8iqa0iXDmjIzpgU85UXKd0JmwByRm5iEuv vijQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZIUfIIMLN3e/0Y4suKqQ9G4anQzSpQbmomczdVDiSH0=; b=mNp7y/Kc8YbAW8OFeGCt+3VQDb3fOxtmBTv+D//Ne0Lipo8FCn43Z8B4rahULXwsiC JZS+5xmPwc6a5LyIyo4TPXy+XU8A1+3nroxT7qHIM0vTflrufMN7Lg0xpgLKM19QmBq1 4/hOHucsqcvX/4CL40mx2ElLDUrHXyxggHNvAJz3m1/SXO/bIqmxWgokK2K9IlRG/BWJ t/SLiNzTGdITuij3w5lcrIyiDQA0xwDfddP0ZqV850IvriZLvAANlUypIlLh1buBXDsR /Nd0fj+CvrvI90AVXFDzPHKwAhpcggcDIKCSBNkaFLM6eGafgjaYNHYxzvYvVEV5EHeb 0o8A== X-Gm-Message-State: APjAAAVYXl9OCcWsSU8Gvh2uVK64eM4ZCk3j4WG4eRpJ+1klNISZzNrl fZ8gheCr+HcQN4ejMuULG63k6ZA4WJs= X-Received: by 2002:aca:de04:: with SMTP id v4mr12968015oig.162.1560201418724; Mon, 10 Jun 2019 14:16:58 -0700 (PDT) Received: from [192.168.1.5] (072-182-052-210.res.spectrum.com. [72.182.52.210]) by smtp.googlemail.com with ESMTPSA id h59sm1885798oth.30.2019.06.10.14.16.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2019 14:16:58 -0700 (PDT) Subject: Re: [PATCH 0/7] TTY Keyboard Status Request To: Arseny Maslennikov , Pavel Machek Cc: Greg Kroah-Hartman , Jiri Slaby , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, "Vladimir D . Seleznev" References: <20190605081906.28938-1-ar@cs.msu.ru> <20190609174139.GA11944@xo-6d-61-c0.localdomain> <20190609194013.GA3736@cello> <20190609195132.GA1430@amd> <20190609205610.GB3736@cello> From: Rob Landley Message-ID: <97e43820-6143-2a84-7d0d-6f40c6c937a7@landley.net> Date: Mon, 10 Jun 2019 16:18:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190609205610.GB3736@cello> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/9/19 3:56 PM, Arseny Maslennikov wrote: > This is similar to SIGWINCH, which is default-ignored as well: if the > terminal width/height changes (like when a terminal emulator window is > resized), its foreground pgrp gets a surprise signal as well, and the > processes that don't care about WINCH (and thus have default > disposition) do not get confused. > E.g. 'strace cat' demonstrates this quite clearly. Once upon a time suspending pipelines with ctrl-z broke stuff all the time due to zero length reads being interpreted as EOF. These days I don't see that so much anymore, I think SA_RESTART is the default now? Rob