When I use 'script' on a unix terminal the -f option flushes the data straight to the file - from the man page "-f Flush output after each write. This is nice for telecooperation: One person does
mkfifo foo; script -f foo' and another can
supervise real-time what is being done usingcat foo'."
This is a really handy option for me - but the version of the script command on my mac appears to be lacking this option. Are there any ways I can achieve the functionality?