<div dir="ltr">If it's the case, "gvim -f" would help.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 2, 2016 at 4:03 AM, Kevin Cox <span dir="ltr"><<a href="mailto:kevincox@kevincox.ca" target="_blank">kevincox@kevincox.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/12/16 11:13, ads wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for the suggestion.<br>
<br>
I looked at strace, but couldn't see any obvious cause (no EPERM for example).  I set up a new user where it all worked properly, so I started to try and find a difference, and realised that my normal userid uses gvim (echo $EDITOR --> gvim) while my new test user uses vim. So to make the straces comparable I switched to using vim for this task, but using vim I find works fine anyway. I don't really need to find out why gvim doesn't work since I have a good work-around, i.e. preface the pass edit command with EDITOR=vim.<br>
</blockquote></span>
I think that gvim detaches by default, so when it "exits" pass saves the (unchanged) file. Then you edit the file but pass is long gone.<br>
<br>
There might be a flag you can set to make it "block" or stay in the foreground. That or use a different editor.<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailma<wbr>n/listinfo/password-store</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best wishes<br>Kun Zhang</div></div>
</div>