On Mon, February 14, 2011 4:27 pm, Mikael Puhakka wrote: > Hi everyone, > I may be mistaken so here's what I think is wrong: > > 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 -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php