From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 8 02:58:26 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10ED937B401; Tue, 8 Apr 2003 02:58:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A379443FAF; Tue, 8 Apr 2003 02:58:25 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from freefall.freebsd.org (tjr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h389wPUp006264; Tue, 8 Apr 2003 02:58:25 -0700 (PDT) (envelope-from tjr@freefall.freebsd.org) Received: (from tjr@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h389wP7q006260; Tue, 8 Apr 2003 02:58:25 -0700 (PDT) Date: Tue, 8 Apr 2003 02:58:25 -0700 (PDT) From: "Tim J. Robbins" Message-Id: <200304080958.h389wP7q006260@freefall.freebsd.org> To: tjr@FreeBSD.org, freebsd-bugs@FreeBSD.org, des@FreeBSD.org Subject: Re: bin/50679: vi invoked from chpass and vipw exits on ^C X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 09:58:26 -0000 Synopsis: vi invoked from chpass and vipw exits on ^C Responsible-Changed-From-To: freebsd-bugs->des Responsible-Changed-By: tjr Responsible-Changed-When: Tue Apr 8 02:55:52 PDT 2003 Responsible-Changed-Why: I think src/lib/libutil/pw_util.c rev. 1.24 causes this incorrect behaviour - either interrupt/quit/etc. signals should be ignored while the editor is running, or the editor should be started in its own process group. Ignoring signals is what 4.x do; the patch attached to this PR runs the editor in its own process group, and has not been tested very well. http://www.freebsd.org/cgi/query-pr.cgi?pr=50679