-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:pre not working on macOS, missing /var/tmp/vi.recover #35
Comments
Thanks for the report, confirmed. A quick search shows that Ideally, the preserve directory should be something that doesn't get deleted too often, and isn't in a private namespace, so you can run the recover script on unclean reboot. However, (since nobody really runs it anymore), if we do use a private namespace, I can just have OpenVi itself make the subdirectory if it's missing. So, let me think a bit more about how to best handle it, but a fix should be easy enough and will come soon. |
Just a heads-up, this now (?) seems to occur with Linux builds on compiled OpenVi 7.4.27. Maybe it worked before since I was using Version 7.4.27 (OpenVi) 09/07/2023.
The work-around still seems to be:
|
I'm not really sure if there is an equivalent to this directory on macOS that exists by default in the current versions, that is, something that is a shared amongst users and doesn't get cleaned up automatically too often, or on reboots. There does seem to be a I'll look into it, but on macOS, I think using In the meantime, you can try adding |
Update, it's back when I switched machines. BTW, I still get
|
I'll look into this this week I hope, see what the best appropriate place is. |
No big deal, sir. Thanks for your efforts. |
:preserve
does not seem to work with macOS/homebrew v7.4.26 using the default/var/tmp/vi.recover
location.Low priority.
Works normally on GNU/Linux (compiled).
Simple missing directory:
/var/tmp
does exist so maybe addmkdir -p /var/tmp/vi.recover
to the build process somehow?Appears to work like I'd expect once I do that manually.
mkdir -p /home/kajukenbo/vi.recover
andset recdir="/home/kajukenbo/vi.recover"
also seems to work.Thanks as always for keeping
vi
alive.The text was updated successfully, but these errors were encountered: