From owner-freebsd-questions@freebsd.org Tue Mar 21 16:33:01 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 88D12D16892 for ; Tue, 21 Mar 2017 16:33:01 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1051CCED for ; Tue, 21 Mar 2017 16:32:59 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v2LGVPxn002199; Tue, 21 Mar 2017 17:31:25 +0100 (CET) (envelope-from bah@bananmonarki.se) Subject: Re: command line history broken in 11.0 To: Ernie Luzar , =?UTF-8?Q?Trond_Endrest=c3=b8l?= References: <58D019EE.9030508@gmail.com> <58D1310E.6050000@gmail.com> Cc: FreeBSD questions From: Bernt Hansson Message-ID: <657b8795-4f45-e468-8738-ae758081fb66@bananmonarki.se> Date: Tue, 21 Mar 2017 17:31:25 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <58D1310E.6050000@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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: Tue, 21 Mar 2017 16:33:01 -0000 On 2017-03-21 14:56, Ernie Luzar wrote: > Trond Endrestøl wrote: >> On Mon, 20 Mar 2017 14:05-0400, Ernie Luzar wrote: >> >> Wouldn't it be more practical to reverse your aliases and change the >> conjunctions to unconditional sequences? >> >> alias sd "shutdown now; exit" >> alias sdp "shutdown -p now; exit" >> alias rboot "reboot; exit" >> alias stop "halt; exit" >> > > Tested your suggestion and it had no effect on the problem. > > I also tried this variation > alias rboot "exit && sleep 5 && reboot" > and it also had no effect on the problem. > > Does anyone know if reboot/halt had any changes between 10.3 and 11.0? What is that exit stuff? I would have set it this way. alias rboot "shutdown -r now or time" Have not tried it and i have no cigar.