lua-users home
lua-l archive

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


Hi list.
I've written a script to run some command line tasks that display a
status bar on the command line, which is dynamically updated as the
task runs.

Usually it looks something like this:

pbrt version 2.0.0 of Aug 13 2010 at 14:20:05 [Detected 4 core(s)]
Copyright (c)1998-2010 Matt Pharr and Greg Humphreys.
The source code to pbrt (but *not* the book contents) is covered by the GNU GPL.
See the file COPYING.txt for the conditions of the license.
lua_pbrt2.pbrt(7): Warning: This version of pbrt fixes a bug in the
LookAt transformation. If your rendered images unexpectedly change,
add a "Scale -1 1 1" to the start of your scene file.
Direct Lighting:
[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


However, if I invoke the task with io.popen, it looks like this:

    transformation. If your rendered images unexpectedly change, add a "Scale
    -1 1 1" to the start of your scene file.
Error in ioctl() in TerminalWidth(): 25Error in ioctl() in
TerminalWidth(): 25Error in ioctl() in TerminalWidth():
25lua_pbrt8.pbrt(7): Warning: This version of pbrt fixes a bug in the
LookAt
    transformation. If your rendered images unexpectedly change, add a "Scale


Does anyone know what the story with these Error in ioctl() in
TerminalWidth(): 25 errors?

thanks,
wes