hello, the following is an excerpt from Exploring Expect by Don Libes:
"Programs using the standard I/O library provided by UNIX automatically buffer their output when running non-interactively. This causes problems when you need to see the output immediately." ... it is possible "to make the programs think they are running interactively, thereby resolving the buffering problem." Don does not go on to say how one makes a program think that it is "talking" to an interactive interface. does anyone know how to do this? in C preferrably. regards, Lucas ************************************************************************ This email and any files transmitted with it may be legally privileged and confidential. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. If you have received this email in error, please notify us by return email and permanently delete the document. ************************************************************************ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
