Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are strange cases which may make this a logical choice. Since vi doesn't traditionally lock the file it's editing, another process could change the file on-disk while you have it in the editing buffer. I think you'll get a message in these situations, because it's usually not what you want. Then you'd have the choice of writing out the buffer, whether it's changed or not, to restore the contents of the file from when you began your vi session.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: