From owner-freebsd-current@FreeBSD.ORG Wed Aug 26 13:17:17 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EDDE106568C for ; Wed, 26 Aug 2009 13:17:17 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out1.libero.it (cp-out1.libero.it [212.52.84.101]) by mx1.freebsd.org (Postfix) with ESMTP id 1B8638FC23 for ; Wed, 26 Aug 2009 13:17:16 +0000 (UTC) Received: from libero.it (192.168.17.10) by cp-out1.libero.it (8.5.107) id 4A8742F00052B10F; Wed, 26 Aug 2009 15:16:16 +0200 Date: Wed, 26 Aug 2009 15:16:16 +0200 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "barbara" To: "spambox" X-XaM3-API-Version: 4.3 (R1) (B3pl25) X-SenderIP: 79.9.234.65 Cc: freebsd-current , noc Subject: Re: Root history not saving over reboot 8* X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 13:17:17 -0000 > Al Plant wrote: > > Several of us on the questions list have not been able to find out if= > > the problem of history not being saved in the root or usr command > > lines has been corrected. > > I have tried 8* on both i386 and amd64 and it doesnt save across a > > reboot on either box. FreeBSD 7.2 does as do the earlier current > > versions before approximately June of 8* > I guess you use 'reboot' to reboot. As this forces a reboot immediately= > (and closes all terminals), the shell has no chance to terminate > 'normally' (i.e., by exit/ctrl-d/logout/etc) - therefore history is not= > saved. > > Check if the command history is saved if you do "shutdown -r now" and > hit ctrl-d immediately. I'd assume it does. > I didn't tried pressing ctrl-d, but I can confirm that the history get lo= st even using shutdown as I use reboot only sometime in single user. BTW, isn't ctrl-d the combination for command completion?