LUA

io.stdout:setvbuf 'no'  

see http://www.lua.org/manual/5.1/manual.html#pdf-file:setvbuf