[slang-users] Curious behaviour with SLsmg_set_color and
SLsmg_write_string
John E. Davis
davis at space.mit.edu
Tue Dec 4 06:34:10 UTC 2007
> Well, you can't test if screen is messing it up if you want test what's
> coming out of the test program running inside the screen. You would need
> to compare both the output of the program within screen and contained in
> screen.
You are correct. Fortunately, there is another way to achieve grab
the output. Instead of `script`, use, e.g.,
/path/to/your/slsmg/program > /tmp/xterm.log
Of course, you will not be able to see what is happening on the
display. For that `tee` can be used:
/path/to/your/slsmg/program | tee /tmp/xterm.log
Thanks,
--John
More information about the slang-users-l
mailing list