You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the box.rb file in line 821 and 822 (rye 0.9.7) a rewind of the channel :stderr and :stdout buffers is missing.
In my application I got nothing as error message where I should got it (By putting some trace before I can see that the channel has the error message but the rap structure does not have it!!)
By adding these two lines:
channel[:stdout].position = 0
channel[:stderr].position = 0
I can get the error message and I can comment the line you just modify (line 1100) as I think this one is not useful because for me it is up to the application to forward that message to the screen or not.
BTW: when using Curses these messages still show up on the screen and they are just annoying. I prefer to manage them myself and show them in the right place on the screen rather than randomly.
Thanks for your help and for this nice tool
René
The text was updated successfully, but these errors were encountered:
… lost as the Net::SSH::Buffer read does not always read from the beginning of the channel buffer. This sets the position of the buffer to the beginning to be read from...
In the box.rb file in line 821 and 822 (rye 0.9.7) a rewind of the channel :stderr and :stdout buffers is missing.
In my application I got nothing as error message where I should got it (By putting some trace before I can see that the channel has the error message but the rap structure does not have it!!)
By adding these two lines:
channel[:stdout].position = 0
channel[:stderr].position = 0
I can get the error message and I can comment the line you just modify (line 1100) as I think this one is not useful because for me it is up to the application to forward that message to the screen or not.
BTW: when using Curses these messages still show up on the screen and they are just annoying. I prefer to manage them myself and show them in the right place on the screen rather than randomly.
Thanks for your help and for this nice tool
René
The text was updated successfully, but these errors were encountered: