From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19927 invoked by alias); 21 Dec 2015 20:38:06 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37418 Received: (qmail 2117 invoked from network); 21 Dec 2015 20:38:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Date: Mon, 21 Dec 2015 12:38:00 -0800 From: frederik@ofb.net To: zsh-workers@zsh.org Subject: question about saving history and error reporting Message-ID: <20151221203800.GB23389@ofb.net> Reply-To: frederik@ofb.net References: <1450718785.14170.ezmlm@zsh.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450718785.14170.ezmlm@zsh.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Hi Zsh Workers, My disk filled up recently and I noticed that although Zsh was not able to write to the history file, it did not print any error messages. I see lines like this in the source code: hist.c:2921 zerr("failed to write history file %s: %e", fn, errno); Do I have to do something special to have these errors printed to my terminal? I notice that it prints the messages if I do "chmod u-w ~/.zsh_history" and start a subshell and log out, but since I have inc_append_history set, I think I should see the errors more often... Thanks, Frederick