title: tail -f using PuTTY hangs
body: <p>I am using PuTTY command line to connect to a server and tail a log file. On local machine I've created a file "tail-exec" which contains following text:</p>
  
  <p><code>tail -f /var/log/test.log</code></p>
  
  <p>I am starting putty through command line as:</p>
  
  <p><code>putty -ssh -t -pw  -m tail-exec user@server</code></p>
  
  <p>This opens up the terminal window with log tail. But the problem is that this terminal hangs after there are few hundred lines added to the log.</p>
  
  <p>If I open putty manually, and then run the tail command from the bash prompt, then it is not hanging for thousands of lines also.</p>
  
  <p>I've tried using following text in tail-exec file, but same issue is happening:</p>
  
  <p><code>bash -i tail -f /var/log/test.log</code></p>
  
  <p>Any idea what could be the issue?</p>