-
Notifications
You must be signed in to change notification settings - Fork 34
BlockingIOError Still Seen in v0.10.7 #102
Comments
The fix (e330cb0) is already applied; It was never removed, although it was refactored a bit. ChromaTerm/chromaterm/__main__.py Lines 285 to 289 in 8792122
Can you run |
Thanks for the response. As soon as I run
I am running CT via adding a new "profile" to iTerm 2 to intercept all telnet:// URL's with the command
|
I was able to recreate this issue using a pubic route server. ChromaTerm is settings For the time being, you can change your script to use |
Thank you so much. I followed your suggestion and modified the wrapper bash script I made per your suggestion, and it's working fine now. |
Unfortunately, fixing this is not feasible due to how some programs behave, so you should let ChromaTerm spawn your program (i.e. as per the suggestion above). Using pipes will make it so a program can escape the redirection and gain direct access to I could wrap various parts of the code with error handling, but because of the nature of writing to a I'd rather that people avoid pipes when dealing with intricate programs that attempt to escape piping or modify the properties of |
ChromaTerm version
ct 0.10.7
Terminal
iTerm 2
What's happening?
Seem like the commit for issue #93 either got backed out or wasn't properly committed. I am seeing the same BlockingIOError on pretty much any telnet session to any Cisco router on a corporate network due to the fact that the output obviously isn't immediate but rather delayed by a couple hundred milliseconds.
I manually imported the patched "__main__.py" from the commit listed at the end of that bug and it seems to work fine. If telnet is slow, it adds an extremely minor delay in output so outputs can be color formatted properly. When running commands locally on my own computer, the output is immediate. I think the fix is working properly, so can it be committed to the main branch?
The text was updated successfully, but these errors were encountered: