lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I am trying to determine the best way to capture the output from the calls to write and print (and any other lua functions that write to STDOUT).

Maybe I am just dense, but shouldnt I be able to register a function with the name "write" (or "print") and that function will be called instead of the internal 
functions?  Or should I modify the lua source so that these functions send thier output to the lash Output window?

Any suggestions welcome.

Terry Bayne