From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 1 16:13:51 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 892BEC89; Sun, 1 Sep 2013 16:13:51 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DE852557; Sun, 1 Sep 2013 16:13:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r81GDphB072588; Sun, 1 Sep 2013 16:13:51 GMT (envelope-from jilles@freefall.freebsd.org) Received: (from jilles@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r81GDplK072587; Sun, 1 Sep 2013 16:13:51 GMT (envelope-from jilles) Date: Sun, 1 Sep 2013 16:13:51 GMT Message-Id: <201309011613.r81GDplK072587@freefall.freebsd.org> To: jilles@FreeBSD.org, jilles@FreeBSD.org, freebsd-bugs@FreeBSD.org From: jilles@FreeBSD.org Subject: Re: bin/169773: [libedit] Resizing causes /bin/sh to repeat edit operations X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 16:13:51 -0000 Old Synopsis: [patch] sh(1): Resizing causes /bin/sh to repeat edit operations New Synopsis: [libedit] Resizing causes /bin/sh to repeat edit operations Responsible-Changed-From-To: jilles->freebsd-bugs Responsible-Changed-By: jilles Responsible-Changed-When: Sun Sep 1 16:11:38 UTC 2013 Responsible-Changed-Why: The underlying problem is in libedit, not in sh. A dirty workaround is possible in sh by setting SA_RESTART for SIGWINCH. This prevents the repeated operations but does not apply the size change until the next line. http://www.freebsd.org/cgi/query-pr.cgi?pr=169773