From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17123 invoked from network); 5 Oct 2022 21:07:39 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 5 Oct 2022 21:07:39 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1665004060; b=cO9DCIhOd/4QExpjKX+m3dK5JSVIamw0b5Ed9ZmqMXeBEF1qFSqeLT1Jk8S+uS/+qBh3eeA6f6 w/LblgyNtHUc2WLqQkal6ICuZ8ChsIZqzxzbzEllSGMK22pKSh9o6p0lZH7ny1OQK9KdnwO/1s ghZWGhJlB6/zCylHizkO3K7RDN+n0oreumeXkQZ1l83U5hfTKj/aUL8LoG140DW6u/UZYZOfKu KCUS/HIe55yt6lUwkJU3f5LQiIadQB7f1CDOWf8xmWAk9kf9NViywYAq85hqSkMuwovUF7jhC4 UI/0/mITVDSx60KLSc9sgYIcYkT2u8aTw94DtOwOj9EtLw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-4322.protonmail.ch) smtp.remote-ip=185.70.43.22; dkim=pass header.d=protonmail.com header.s=protonmail3 header.a=rsa-sha256; dmarc=pass header.from=protonmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1665004060; bh=7lmHABkeG7gAsyT9ygWx5Z1TkJlD5Z/2Ne+obfu/aUk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Subject:From:To:DKIM-Signature:Date: DKIM-Signature; b=UgvsRInIg6sc+0D3xsAbJwWOo1TzzyrYS8hbXyzmckazqEatwoy7dFcPlKQd/4yrTs1Cu9gZjv nSQFu280jldsHL2VhSliSE/iyGJgx3suAzoUETt7fWsBy/lADidBsN7bBe8fsRVEB6gNGrQXNP vR6U3HLJmSAhjAM99V58wtc6Xe0x69FYkdq9XnL02zc1I6wN2N8vuKMoR6iVaIes7kUq2MOcVZ 4DTdrWBs1yUXcmh13LmL1kLj+pnaNSOEzzghxylxCFBcPe2CfPR/n1fzxWFrWNafGzGIijJJ9F ieo19JnrJKa+Zypv9jjaDQaMnhKYp6722+3+3c1YAIAIIQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:From:To: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Yp33lTlGHdIsOj7220/aMMC78FhcnfQDSHvw7EwE+SE=; b=KGES9pjDOQFmxS4De2/tRG6nMy DuEDC8z284y4tcASuGbwrIok7LZhiLss9agup4wn46iohOpA4p0yoAFTtpBdsoMhpOrov3jE6bn+C yGHVDqw1DNlLlDuL5U15DzYb0qn4OFjunIGcy4XmIG2LbbC4yDVka1g3/FFsLraCcObFLlJasZ77d e9fWwkfdaQq0ZFYROSuVQggDbRUkejtilG2Te8RMjjpRcjGMCVm1T38s6RdMRo+ef3gjUQo9sP/8Z cnBuLWqauVq1/57IPWPecl+2xYC8CPy2owWcQfNX3ZPoW94Fe9lk09gjb1XF0z2Yo5wvIem86sqrT Wnrgbhzg==; Received: from authenticated user by zero.zsh.org with local id 1ogBcB-000MWJ-FW; Wed, 05 Oct 2022 21:07:39 +0000 Authentication-Results: zsh.org; iprev=pass (mail-4322.protonmail.ch) smtp.remote-ip=185.70.43.22; dkim=pass header.d=protonmail.com header.s=protonmail3 header.a=rsa-sha256; dmarc=pass header.from=protonmail.com; arc=none Received: from mail-4322.protonmail.ch ([185.70.43.22]:49355) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1ogBaT-000Lon-9e; Wed, 05 Oct 2022 21:05:54 +0000 Date: Wed, 05 Oct 2022 21:05:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1665003952; x=1665263152; bh=Yp33lTlGHdIsOj7220/aMMC78FhcnfQDSHvw7EwE+SE=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=n5f/Kqh+Kur6xXfnBz6WsRiPDllH4o2xBFBqhw1VUAOGF7UzFRDOY4ldBogcI/HY+ lE5IXSU7HG3vL+fwj4bQmqLwXx+JnB2mikxVI9DWrsQHmQqSbUVIwWlaBFfLe4YiSi Eap2dDa/wdmz6+8D/FHe9zVLGvRfh/ybq+UeVE5zoQdI0a6lQ64p/Xjq1vcz7H/6Mj CHMf6LtYxLwHONoY5DRxaQ6VKeh8h7fRFz87DX2WZE5WqlD6a2Up5XllIrEjgsdEHL moik4VCqxTbBmVW3Kah3SZ31mJNIYrRSNbKvO9XcL70hFma0VfdalbKJw4diGzJ2Cr 3VZ1gJZ2X7B2Q== To: zsh-users@zsh.org From: Wesley Subject: Re: Bug: Losing .zsh_history Message-ID: <50fa26c9-98aa-1fc7-6bc5-f552a1f450f3@protonmail.com> In-Reply-To: References: Feedback-ID: 16775156:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 28176 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 10/5/22 16:20, Dominik Vogt wrote: > On Wed, Oct 05, 2022 at 04:01:01PM -0400, Eric Cook wrote: >> On 10/5/22 15:55, Dominik Vogt wrote: >>> Due to some hardware problem with the display adapter my box >>> sometimes fails to show anything on the screen but just emits some >>> error beeps while it boots. Since I cannot log in and stop the >>> machine without the screen, I can only switch off the power. >>> > > So, I can say with certainty that when this happened I used vim to > look at the history file in a 80x24 terminal window and that > showed all "^@"s (i.e. 23 lines * 40 nulls =3D 920 nulls). I'm not > sure whether I looked at any other portion of the file, but > normally I'd check the last line too. I definitely didn't check > what was in between and definitely didn't see anything but nulls. > (The last line may be identical to the first line.) This might be interesting to read: https://unix.stackexchange.com/a/273869 What are your history options btw? Cheers, Wesley -- Wesley Schwengle