This was reported to docker https://github.com/docker/docker/issues/281
11 when doing a docker pull there is a multi-line scrolling progress
bar, when running under rxvt-unicode the final line is duplicated.

I've captured a trace with script(1) and attached as docker-
pull.{time,log} which can be replayed with
    scriptreplay -t docker-pull.time -s docker-pull.log

(I find "-d 0.3" makes it easier to catch the bug occuring).

With rxvt-unicode while the pull is happening it shows:

    3.3: Pulling from library/alpine
    985c5f84712b: Downloading [=============================================>   
  ] 2.113 MB/2.323 MB
    985c5f84712b: Pulling fs layer 

But the second 985c5f84712b should have been overwritten by the first
and there should be a blank line after the "Pulling from". When running
under xterm, aterm and mlterm the output is:

    3.3: Pulling from library/alpine

    985c5f84712b: Downloading [====================================>            
  ] 1.687 MB/2.323 MB

There are several phases, "Pulling ...", "Downloading ...", "Extracting
..." which should each overwrite each other. A more complex pull with
multiple lines is shown in the ticket, but I picked a simple one,
hopefully the script capture is enough to reproduce for you.

In https://github.com/docker/docker/issues/28111#issuecomment-259165408
 I said that I think this might be down to the sequence
"<ESC>[1B<ESC>[1A^M" and might maybe have something to do with the
behaviour of the CUU and CUD cursor movement ANSI codes at the edge of
the screen, but frankly I'm out of my depth...

Thanks,
Ian.
(please cc me on replies, I'm not subscribed)
Script started on Tue 08 Nov 2016 14:51:45 GMT
3.3: Pulling from library/alpine


985c5f84712b: Pulling fs layer 

985c5f84712b: Downloading [>                                                  ] 32.26 kB/2.323 MB

985c5f84712b: Downloading [=>                                                 ] 64.64 kB/2.323 MB

985c5f84712b: Downloading [==>                                                ] 97.41 kB/2.323 MB

985c5f84712b: Downloading [==>                                                ] 130.2 kB/2.323 MB

985c5f84712b: Downloading [===>                                               ] 167.3 kB/2.323 MB

985c5f84712b: Downloading [====>                                              ]   202 kB/2.323 MB

985c5f84712b: Downloading [====>                                              ] 226.2 kB/2.323 MB

985c5f84712b: Downloading [=====>                                             ] 253.3 kB/2.323 MB

985c5f84712b: Downloading [======>                                            ]   286 kB/2.323 MB

985c5f84712b: Downloading [======>                                            ] 314.5 kB/2.323 MB

985c5f84712b: Downloading [=======>                                           ] 343.2 kB/2.323 MB

985c5f84712b: Downloading [========>                                          ] 375.9 kB/2.323 MB

985c5f84712b: Downloading [========>                                          ] 408.7 kB/2.323 MB

985c5f84712b: Downloading [=========>                                         ] 441.5 kB/2.323 MB

985c5f84712b: Downloading [==========>                                        ] 474.2 kB/2.323 MB

985c5f84712b: Downloading [==========>                                        ]   507 kB/2.323 MB

985c5f84712b: Downloading [===========>                                       ] 539.8 kB/2.323 MB

985c5f84712b: Downloading [============>                                      ] 572.5 kB/2.323 MB

985c5f84712b: Downloading [=============>                                     ] 605.3 kB/2.323 MB

985c5f84712b: Downloading [=============>                                     ] 638.1 kB/2.323 MB

985c5f84712b: Downloading [==============>                                    ] 670.8 kB/2.323 MB

985c5f84712b: Downloading [===============>                                   ] 703.6 kB/2.323 MB

985c5f84712b: Downloading [===============>                                   ] 736.4 kB/2.323 MB

985c5f84712b: Downloading [================>                                  ] 769.1 kB/2.323 MB

985c5f84712b: Downloading [=================>                                 ] 801.9 kB/2.323 MB

985c5f84712b: Downloading [=================>                                 ] 834.7 kB/2.323 MB

985c5f84712b: Downloading [==================>                                ] 867.5 kB/2.323 MB

985c5f84712b: Downloading [===================>                               ] 900.2 kB/2.323 MB

985c5f84712b: Downloading [====================>                              ]   933 kB/2.323 MB

985c5f84712b: Downloading [====================>                              ] 965.8 kB/2.323 MB

985c5f84712b: Downloading [=====================>                             ] 998.5 kB/2.323 MB

985c5f84712b: Downloading [======================>                            ] 1.031 MB/2.323 MB

985c5f84712b: Downloading [======================>                            ] 1.064 MB/2.323 MB

985c5f84712b: Downloading [=======================>                           ] 1.097 MB/2.323 MB

985c5f84712b: Downloading [========================>                          ]  1.13 MB/2.323 MB

985c5f84712b: Downloading [=========================>                         ] 1.162 MB/2.323 MB

985c5f84712b: Downloading [=========================>                         ] 1.195 MB/2.323 MB

985c5f84712b: Downloading [==========================>                        ] 1.228 MB/2.323 MB

985c5f84712b: Downloading [===========================>                       ] 1.261 MB/2.323 MB

985c5f84712b: Downloading [===========================>                       ] 1.293 MB/2.323 MB

985c5f84712b: Downloading [============================>                      ] 1.326 MB/2.323 MB

985c5f84712b: Downloading [=============================>                     ] 1.359 MB/2.323 MB

985c5f84712b: Downloading [=============================>                     ] 1.392 MB/2.323 MB

985c5f84712b: Downloading [==============================>                    ] 1.425 MB/2.323 MB

985c5f84712b: Downloading [===============================>                   ] 1.457 MB/2.323 MB

985c5f84712b: Downloading [================================>                  ]  1.49 MB/2.323 MB

985c5f84712b: Downloading [================================>                  ] 1.523 MB/2.323 MB

985c5f84712b: Downloading [=================================>                 ] 1.556 MB/2.323 MB

985c5f84712b: Downloading [==================================>                ] 1.588 MB/2.323 MB

985c5f84712b: Downloading [==================================>                ] 1.621 MB/2.323 MB

985c5f84712b: Downloading [===================================>               ] 1.654 MB/2.323 MB

985c5f84712b: Downloading [====================================>              ] 1.687 MB/2.323 MB

985c5f84712b: Downloading [=====================================>             ] 1.719 MB/2.323 MB

985c5f84712b: Downloading [=====================================>             ] 1.752 MB/2.323 MB

985c5f84712b: Downloading [======================================>            ] 1.785 MB/2.323 MB

985c5f84712b: Downloading [=======================================>           ] 1.818 MB/2.323 MB

985c5f84712b: Downloading [=======================================>           ]  1.85 MB/2.323 MB

985c5f84712b: Downloading [========================================>          ] 1.883 MB/2.323 MB

985c5f84712b: Downloading [=========================================>         ] 1.916 MB/2.323 MB

985c5f84712b: Downloading [=========================================>         ] 1.949 MB/2.323 MB

985c5f84712b: Downloading [==========================================>        ] 1.982 MB/2.323 MB

985c5f84712b: Downloading [===========================================>       ] 2.014 MB/2.323 MB

985c5f84712b: Downloading [============================================>      ] 2.047 MB/2.323 MB

985c5f84712b: Downloading [============================================>      ]  2.08 MB/2.323 MB

985c5f84712b: Downloading [=============================================>     ] 2.113 MB/2.323 MB

985c5f84712b: Downloading [==============================================>    ] 2.145 MB/2.323 MB

985c5f84712b: Downloading [==============================================>    ] 2.178 MB/2.323 MB

985c5f84712b: Downloading [===============================================>   ] 2.211 MB/2.323 MB

985c5f84712b: Downloading [================================================>  ] 2.244 MB/2.323 MB

985c5f84712b: Downloading [================================================>  ] 2.276 MB/2.323 MB

985c5f84712b: Downloading [=================================================> ] 2.309 MB/2.323 MB

985c5f84712b: Verifying Checksum 

985c5f84712b: Download complete 

985c5f84712b: Extracting [>                                                  ] 32.77 kB/2.323 MB

985c5f84712b: Extracting [=>                                                 ] 65.54 kB/2.323 MB

985c5f84712b: Extracting [==>                                                ]  98.3 kB/2.323 MB

985c5f84712b: Extracting [==>                                                ] 131.1 kB/2.323 MB

985c5f84712b: Extracting [===>                                               ] 163.8 kB/2.323 MB

985c5f84712b: Extracting [====>                                              ] 196.6 kB/2.323 MB

985c5f84712b: Extracting [====>                                              ] 229.4 kB/2.323 MB

985c5f84712b: Extracting [=====>                                             ] 262.1 kB/2.323 MB

985c5f84712b: Extracting [======>                                            ] 294.9 kB/2.323 MB

985c5f84712b: Extracting [=======>                                           ] 327.7 kB/2.323 MB

985c5f84712b: Extracting [=======>                                           ] 360.4 kB/2.323 MB

985c5f84712b: Extracting [========>                                          ] 393.2 kB/2.323 MB

985c5f84712b: Extracting [=========>                                         ]   426 kB/2.323 MB

985c5f84712b: Extracting [=========>                                         ] 458.8 kB/2.323 MB

985c5f84712b: Extracting [==========>                                        ] 491.5 kB/2.323 MB

985c5f84712b: Extracting [===========>                                       ] 524.3 kB/2.323 MB

985c5f84712b: Extracting [===========>                                       ] 557.1 kB/2.323 MB

985c5f84712b: Extracting [============>                                      ] 589.8 kB/2.323 MB

985c5f84712b: Extracting [=============>                                     ] 622.6 kB/2.323 MB

985c5f84712b: Extracting [==============>                                    ] 655.4 kB/2.323 MB

985c5f84712b: Extracting [==============>                                    ] 688.1 kB/2.323 MB

985c5f84712b: Extracting [===============>                                   ] 720.9 kB/2.323 MB

985c5f84712b: Extracting [================>                                  ] 753.7 kB/2.323 MB

985c5f84712b: Extracting [================>                                  ] 786.4 kB/2.323 MB

985c5f84712b: Extracting [=================>                                 ] 819.2 kB/2.323 MB

985c5f84712b: Extracting [==================>                                ]   852 kB/2.323 MB

985c5f84712b: Extracting [===================>                               ] 884.7 kB/2.323 MB

985c5f84712b: Extracting [===================>                               ] 917.5 kB/2.323 MB

985c5f84712b: Extracting [====================>                              ] 950.3 kB/2.323 MB

985c5f84712b: Extracting [=====================>                             ]   983 kB/2.323 MB

985c5f84712b: Extracting [=====================>                             ] 1.016 MB/2.323 MB

985c5f84712b: Extracting [======================>                            ] 1.049 MB/2.323 MB

985c5f84712b: Extracting [=======================>                           ] 1.081 MB/2.323 MB

985c5f84712b: Extracting [=======================>                           ] 1.114 MB/2.323 MB

985c5f84712b: Extracting [========================>                          ] 1.147 MB/2.323 MB

985c5f84712b: Extracting [=========================>                         ]  1.18 MB/2.323 MB

985c5f84712b: Extracting [==========================>                        ] 1.212 MB/2.323 MB

985c5f84712b: Extracting [==========================>                        ] 1.245 MB/2.323 MB

985c5f84712b: Extracting [===========================>                       ] 1.278 MB/2.323 MB

985c5f84712b: Extracting [============================>                      ] 1.311 MB/2.323 MB

985c5f84712b: Extracting [============================>                      ] 1.343 MB/2.323 MB

985c5f84712b: Extracting [=============================>                     ] 1.376 MB/2.323 MB

985c5f84712b: Extracting [==============================>                    ] 1.409 MB/2.323 MB

985c5f84712b: Extracting [===============================>                   ] 1.442 MB/2.323 MB

985c5f84712b: Extracting [===============================>                   ] 1.475 MB/2.323 MB

985c5f84712b: Extracting [================================>                  ] 1.507 MB/2.323 MB

985c5f84712b: Extracting [=================================>                 ]  1.54 MB/2.323 MB

985c5f84712b: Extracting [=================================>                 ] 1.573 MB/2.323 MB

985c5f84712b: Extracting [==================================>                ] 1.606 MB/2.323 MB

985c5f84712b: Extracting [===================================>               ] 1.638 MB/2.323 MB

985c5f84712b: Extracting [====================================>              ] 1.704 MB/2.323 MB

985c5f84712b: Extracting [=====================================>             ] 1.737 MB/2.323 MB

985c5f84712b: Extracting [======================================>            ] 1.769 MB/2.323 MB

985c5f84712b: Extracting [======================================>            ] 1.802 MB/2.323 MB

985c5f84712b: Extracting [=======================================>           ] 1.835 MB/2.323 MB

985c5f84712b: Extracting [========================================>          ] 1.868 MB/2.323 MB

985c5f84712b: Extracting [========================================>          ] 1.901 MB/2.323 MB

985c5f84712b: Extracting [=========================================>         ] 1.933 MB/2.323 MB

985c5f84712b: Extracting [==========================================>        ] 1.966 MB/2.323 MB

985c5f84712b: Extracting [===========================================>       ] 1.999 MB/2.323 MB

985c5f84712b: Extracting [===========================================>       ] 2.032 MB/2.323 MB

985c5f84712b: Extracting [============================================>      ] 2.064 MB/2.323 MB

985c5f84712b: Extracting [=============================================>     ] 2.097 MB/2.323 MB

985c5f84712b: Extracting [=============================================>     ]  2.13 MB/2.323 MB

985c5f84712b: Extracting [==============================================>    ] 2.163 MB/2.323 MB

985c5f84712b: Extracting [===============================================>   ] 2.195 MB/2.323 MB

985c5f84712b: Extracting [===============================================>   ] 2.228 MB/2.323 MB

985c5f84712b: Extracting [================================================>  ] 2.261 MB/2.323 MB

985c5f84712b: Extracting [=================================================> ] 2.294 MB/2.323 MB

985c5f84712b: Extracting [==================================================>] 2.323 MB/2.323 MB

985c5f84712b: Extracting [==================================================>] 2.323 MB/2.323 MB

985c5f84712b: Pull complete 
Digest: sha256:ec40755933414575748cecf929f1f2012cace2d2e0f8147e77e652d600ff17d7
Status: Downloaded newer image for alpine:3.3

Script done on Tue 08 Nov 2016 14:51:48 GMT
1.652318 34
0.000034 51
0.422429 9
0.000034 102
0.006158 4
0.000009 107
0.003822 9
0.000012 102
0.002837 23
0.000044 88
0.003230 111
0.003145 111
0.002115 111
0.002187 111
0.002867 111
0.002471 9
0.000015 102
0.002419 111
0.002782 111
0.002883 23
0.000013 88
0.002727 23
0.000025 88
0.002953 111
0.002819 111
0.002893 111
0.002867 111
0.002859 111
0.002770 23
0.000015 84
0.000050 4
0.002680 23
0.000088 88
0.002744 111
0.002787 9
0.000015 102
0.002848 111
0.002847 23
0.000230 88
0.002617 111
0.002869 111
0.002593 23
0.000018 88
0.002807 111
0.003067 111
0.002644 111
0.002896 111
0.002812 23
0.000016 88
0.002850 9
0.000013 102
0.002811 9
0.000062 102
0.002712 23
0.000010 88
0.002878 9
0.000013 98
0.000299 4
0.002445 9
0.000013 102
0.002793 9
0.000011 102
0.002753 9
0.000013 102
0.002794 9
0.000059 102
0.002893 9
0.000012 102
0.003776 9
0.000024 102
0.001859 9
0.000010 102
0.003281 111
0.002471 9
0.000012 102
0.002734 9
0.000063 102
0.002766 111
0.003052 111
0.002573 9
0.000076 102
0.002750 111
0.002971 9
0.000058 102
0.002628 9
0.000010 98
0.000005 4
0.002858 9
0.000050 102
0.003274 9
0.000091 102
0.002425 111
0.003201 111
0.003070 9
0.000078 102
0.009241 333
0.001946 23
0.000072 88
0.002660 23
0.000073 88
0.002753 111
0.002806 23
0.000040 88
0.002769 9
0.000058 102
0.002867 9
0.000094 102
0.002737 111
0.002818 111
0.002800 9
0.000019 102
0.002830 111
0.001370 9
0.000009 38
0.000022 46
0.003617 23
0.000010 83
0.000023 4
0.025412 9
0.000019 101
0.038369 9
0.000024 101
0.001150 9
0.000009 97
0.000006 4
0.001727 9
0.000008 14
0.000005 87
0.001800 9
0.000009 14
0.000005 87
0.001448 9
0.000009 14
0.000005 87
0.001807 9
0.000009 14
0.000005 87
0.001553 110
0.001633 9
0.000011 97
0.000006 4
0.001347 9
0.000010 97
0.000006 4
0.001798 9
0.000009 14
0.000005 87
0.002143 9
0.000013 101
0.000451 9
0.000010 97
0.000005 4
0.001331 23
0.000011 87
0.007530 110
0.004039 23
0.000018 87
0.001454 23
0.000006 87
0.001944 23
0.000011 87
0.001862 9
0.000015 101
0.001635 9
0.000010 101
0.002195 9
0.000011 101
0.001289 9
0.000009 97
0.000004 4
0.001149 110
0.000977 9
0.000010 97
0.000005 4
0.001147 9
0.000010 97
0.000005 4
0.001047 9
0.000009 97
0.000005 4
0.001534 9
0.000008 14
0.000005 87
0.001895 23
0.000009 87
0.002214 9
0.000010 97
0.000005 4
0.003265 9
0.000011 101
0.002105 9
0.000009 97
0.000005 4
0.002065 9
0.000009 14
0.000006 87
0.002277 9
0.000013 101
0.001836 9
0.000011 101
0.001791 9
0.000011 14
0.000053 87
0.001660 9
0.000007 14
0.000006 87
0.001718 9
0.000008 14
0.000005 87
0.001781 9
0.000029 101
0.001706 9
0.000010 97
0.000006 4
0.001447 9
0.000011 101
0.001705 9
0.000008 97
0.000005 4
0.001743 9
0.000010 101
0.002670 9
0.000019 14
0.000006 87
0.002296 9
0.000012 101
0.001771 110
0.002344 110
0.001175 110
0.001143 110
0.000356 110
0.000786 110
0.000402 110
0.001907 110
0.006309 110
0.002131 110
0.002996 110
0.002339 110
0.002854 110
0.003735 4
0.000092 19
0.000032 87
0.002625 23
0.000014 87
0.001778 23
0.000015 87
0.002237 9
0.000005 14
0.000011 83
0.000008 4
0.001636 23
0.000026 87
0.002542 110
0.001461 23
0.000014 87
0.001843 23
0.000046 87
0.007647 9
0.000117 101
0.003725 9
0.000012 101
0.004342 23
0.000016 87
0.002215 110
0.004628 23
0.000017 87
0.025669 23
0.000035 19
0.041629 81
0.011862 47
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to