Hello,
I have a small application using Rye and Curses. I am doing a test with Rye by trying to connect to a specific host and if the user is not allowed to log in I get an authentication error, which is expected. The problem is that these errors show up on the screen under Curses and completely screw up the display .
I have identify the source of this problem in box.rb/create_channel line 1094 in the following line:
...
print channel[:stderr].read if channel[:stderr].available > 0
...
How can get these messages in the stderr instead of the screen
Thanks very much for your help
René
Hello, I have a small application using Rye and Curses. I am doing a test with Rye by trying to connect to a specific host and if the user is not allowed to log in I get an authentication error, which is expected. The problem is that these errors show up on the screen under Curses and completely screw up the display .
I have identify the source of this problem in box.rb/create_channel line 1094 in the following line: ... print channel[:stderr].read if channel[:stderr].available > 0 ...
How can get these messages in the stderr instead of the screen Thanks very much for your help René