From owner-freebsd-questions@freebsd.org Wed Mar 22 01:36:39 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA6C2D1745F for ; Wed, 22 Mar 2017 01:36:39 +0000 (UTC) (envelope-from freebsd@str.komkon.org) Received: from tissa.komkon.org (tissa.komkon.org [52.5.170.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "komkon.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B4826184D for ; Wed, 22 Mar 2017 01:36:39 +0000 (UTC) (envelope-from freebsd@str.komkon.org) Received: from auth (localhost [127.0.0.1]) by tissa.komkon.org (8.15.2/8.15.2) with ESMTPSA id v2M1abFX025106 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Mar 2017 21:36:38 -0400 (EDT) (envelope-from freebsd@str.komkon.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=str.komkon.org; s=mail; t=1490146598; bh=iv790XnpBGBfOQuhbQRQgLQUd6urth03N0Xt8b+Cmjs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=E56DEi1/A6/YxJCm+AW01/KJYH8aNVxB4G2oE7UuRQjzm4RDTM4gvgBv1A3NC/FwF gpwTsFvRtu0oUKpIlLTfRS0Cz5tIEWjvHOBvPpRxZrxkPGkhbHorUzAV4LiRVvr3xQ 9pVp/2BjH+KyZq3YCYPm/ZRVOC2R1PDkpU4xjSdc= Date: Tue, 21 Mar 2017 21:36:37 -0400 (EDT) From: "Igor R." To: Ernie Luzar cc: freebsd-questions@freebsd.org Subject: Re: command line history broken in 11.0 In-Reply-To: <58D1C382.9090306@gmail.com> Message-ID: References: <58D1925B.8050500@gmail.com> <58D1C382.9090306@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Virus-Scanned: clamav-milter 0.99.2 at tissa.komkon.org X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2017 01:36:40 -0000 On Tue, 21 Mar 2017, Ernie Luzar wrote: > Igor R. wrote: >> >> >> Ernie, >> >> You assertion about -o option sounds reasonable. >> I didn't think through if it is consistent with the changes made between >> the versions, and I didn't check the earlier history of changes (which >> would make your aliases+history working in 10.x) of the code. >> >> But the changes between 10.3 and 11.0 were indeed related to signal vs >> fork, which would be in the right ballpark with what the option -o does, >> according to the man pages. >> >> By the way, - I am still curious if sending halt or reboot into background >> would also do what you wanted. If you have a box you can experiment with, - >> would you mind doing that? >> >> snip >> > > I do have a dev box at this time. That is where I did the testing about this > problem. I just tried "reboot & ; exit" and it did indeed work. > Thank you for testing it. So, then, indeed the problem is in the stdout being held by "reboot", not letting "exit" to work. Igor