-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
output truncated and confusing when more containers then lines on terminal #168
Comments
Terminal output is truncated by terminal. How to repro. Define a service with number of instances is bigger than The problem
|
As mentioned by @iangkent, it could also be reproduced by expecting of showing status of 100 container instances in a terminal with number of lines less than 100. However, all 100 expected containers updates are shown when the number of lines of current visible terminal is bigger than 100, which allows the cursor moved up back to original location/position. |
We have the same problem at SignalFx. I need to find a good solution for this. It's virtually impossible to show an output that updates in-place if it takes more lines that the terminal. I could limit the display to only the last N, but then you don't see everything and it might be confusing too. Thoughts? How would you (the users!) would like this to behave? |
Thanks for the prompt reply! Limiting the display to only show the last N or first N (like command ‘top’) threading output might be also confusing. Users may would like to be hinted or acknowledged when there are more lines going to be printed out to terminal and paging the output would be more likely to be accepted. Support to dynamic output scaling basing on the terminal size when terminal was resized by user would be a perfect fix. Personally, I have tried to use curses to init a new screen to page the output if line number of potential output is bigger than Similar issue has been raised against compose docker/compose#4124 |
We have a large scale deployment with 100 containers. When we run the status command the output is truncated to the number of lines in terminal window. This is confusing our deployment operators. Is there a way we can page though list?
The text was updated successfully, but these errors were encountered: