When set 'autoread', the buffers should update automatically with new
content as they appear in the files. But that isn't the case.
A simple setting via the shell:
~ % while true ;
while> do
while> echo "line " $RANDOM >> flood.txt
while> sleep 1
while> done
and a 'tail -f' confirms flood.txt gets flooded.
Issuing ''vim -u None -U None --noplugin -c "set ar" flood.txt'' only
reads the stuff in the file at that moment, but nothing after it. I
might strongly suspect a distribution specific issue, but aren't sure
what I should check. So suggestions please.
You probably want an autocommand, that forces checking the timestamp
of your file. Something like this:
:au BufEnter,BufWinEnter,CursorHold filename :checktime
Otherwise the check for changing timestamps is only occasionally
triggered (e.g. when running a shell command).
regards,
Christian
Oh yes, that did the trick indeed! I was completely lost because the
help file wasn't very specific about the conditions. Thanks, and sorry
for stupid question.
--Mikael