zsh-workers
 help / color / mirror / code / Atom feed
From: frederik@ofb.net
To: zsh-workers@zsh.org
Subject: question about saving history and error reporting
Date: Mon, 21 Dec 2015 12:38:00 -0800	[thread overview]
Message-ID: <20151221203800.GB23389@ofb.net> (raw)
In-Reply-To: <1450718785.14170.ezmlm@zsh.org>

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


       reply	other threads:[~2015-12-21 20:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1450718785.14170.ezmlm@zsh.org>
2015-12-21 20:38 ` frederik [this message]
2015-12-21 20:54   ` Bart Schaefer
2015-12-22 18:14     ` frederik
2015-12-23  0:54       ` Bart Schaefer
2015-12-24  0:47         ` frederik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151221203800.GB23389@ofb.net \
    --to=frederik@ofb.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).