From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-06-01T06:38:49+09:00 Subject: ncurses + redirect output I am having a hard time debugging my ncurses code... Some advices for improving debugging would be nice. STORY: ncurses output goes to $stdout. if an error happens in the ruby code, then backtrace is written to $stdout. PROBLEM: I cannot see this backtrace.. and I would really like to see what went wrong, so it can be fixed. If I $stdout.reopen(File.new("log", "w+")), then all ncurses output goes to the file too. The error-message is drowning in ansi-escape-sequences. How do I seperate Ncurses output from Ruby output ? -- Simon Strandgaard