From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3052 invoked by alias); 26 Jul 2018 16:36:51 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43211 Received: (qmail 6352 invoked by uid 1010); 26 Jul 2018 16:36:51 -0000 X-Qmail-Scanner-Diagnostics: from mail-lj1-f171.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.208.171):SA:0(-1.9/5.0):. Processed in 0.867504 secs); 26 Jul 2018 16:36:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIMWL_WL_MED,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0GUrwGEm7KXwcuEpGiDvB7Ic0xxQxVsVvl9iP+BRNYA=; b=DKttNCeWcX9119W32CCPPC0/Cx9Dr/cD0ERtYZi/MSbB1OJfjiWOGIk9EOSFyooJsb hrzn6tvBzem86bZJCXGmZVOzLbLqCICiIBbtqRHRswPqlyy2z1lI6bmJ3Yx7aYMxmDXq 3XKSsfujYuud+wAvk6AVsWPD1kW1KJ7pBuRdigQRaZJ1mpCYjObsUNFqbEqlzObihnlU oQS0uGoIJQo8geVg9syNlNH5ZqbYnqvW84g0g0JdK9Kb5CdN7mPHPfwzAcvQgYancOHo heip0lIuLwia14MqvoHOZ9052CfB77aSpg+oW3NC/kZ/i4ftQJaD1U1ZDkCBVG2X0th4 TJ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0GUrwGEm7KXwcuEpGiDvB7Ic0xxQxVsVvl9iP+BRNYA=; b=bQvZpfFL228DgJ2ZCfaT25DASZ0ZWqXtW4Rs0BJayRoDu8IRImsTPxLv5bS7tNA9Wi lZV3OmQ8Nv7tTdh8Vtbc9RNyvasOWEICpYxZ0pzzq5TmJyrJxmHPVw6aBXxcbWhn8lwX 41Nf6HtfRqQCcXMjtKhSUNVu5FmF9/hUt7MbcIB23iRz4qWn2Fx1EBWUTMbaJWKoqGIF wcIzZ4mLKZoNjFZ3d37hrihfB86CSip0InGjm20N9FaXU5yTe+R47afArNnk3gwstVM6 qzt2iYhT2UGE6cTGHS5TpMg7fyqooznPdSuS2XCES0KxO4OSCEHP8vpvqF8sKfodzq9t dkDA== X-Gm-Message-State: AOUpUlGcWfnkDylbtXQpRMul6ol7aorwCAs3mviRPm/90yMZfHzcoUfY Tv7yVmwzoApUa0OUIp32KvedX2AxniPFVZcqk2BgpbopW1U= X-Google-Smtp-Source: AAOMgpce1qc5Zba67WJxuNL4SOh51xXYhh3FdmI0lA+8oKZC06x+9IEH/Ss8eDUOBKBrif2nG+JweSU8HMPvTQvXYo8= X-Received: by 2002:a2e:291c:: with SMTP id u28-v6mr2206190lje.70.1532623006110; Thu, 26 Jul 2018 09:36:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180726161029eucas1p2aeb514866d4bf28e900598dd9c6f7bfd~E9xIFUPGY0381603816eucas1p2w@eucas1p2.samsung.com> References: <20180726161029eucas1p2aeb514866d4bf28e900598dd9c6f7bfd~E9xIFUPGY0381603816eucas1p2w@eucas1p2.samsung.com> From: Bart Schaefer Date: Thu, 26 Jul 2018 09:36:45 -0700 Message-ID: Subject: Re: SIGWINCH not respected when terminal size is unchanged To: "zsh-workers@zsh.org" Content-Type: text/plain; charset="UTF-8" On Thu, Jul 26, 2018 at 9:10 AM, Peter Stephenson wrote: > On Thu, 26 Jul 2018 09:03:21 -0700 > Bart Schaefer wrote: >> >> Sorry, could you explain exactly what you mean by "not respected" and >> what breakage you observe? > > I was going to ask that, but looking at the code I *suspect* that > the line's not being redrawn, which indeed doesn't happen if the > configuration didn't change. But this needs confirming. Could the line not being redrawn really be described as having broken the session manager application? If that's actually the issue, then it should be work-around-able by something like TRAPWINCH() { zle -I } > If that's the case, I'm wondering if there's a reason why the code's > like that --- didn't we have to deal with floods of SIGWINCHs causing > havoc at one point? Yes, in desktop managers where resizing a window provides live feedback, the shell will receive a rapid stream of SIGWINCHes as the user drags the window border around.