This content has been marked as final. Show 2 replies
It's look like system problem, not vi problem.
Check free space and /var/adm/messages.
As workaround try:
copy original file to /tmp; edit it; cp edited file to original place.
it was disk space problem , a / partition reached 100%.I deleted some old file