From: ts Date: 2003-04-01T01:21:05+09:00 Subject: Re: Hard coded newline characters >>>>> "D" == David King Landrith writes: D> This is exactly the type of elegant solution that I'm looking for. D> Unfortunately, this behaves exactly the same as trap 0, proc { endwin And with $stderr = File.new("/dev/null", "w") # or the windows equivalent at_exit do if $! # do what you want with the error message end endwin end Guy Decoux