{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/28111","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/28111/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/28111/comments","events_url":"https://api.github.com/repos/docker/docker/issues/28111/events","html_url":"https://github.com/docker/docker/issues/28111","id":187597132,"number":28111,"title":"urxvt doesn't display progress bars correctly","user":{"login":"vikstrous","id":482425,"avatar_url":"https://avatars.githubusercontent.com/u/482425?v=3","gravatar_id":"","url":"https://api.github.com/users/vikstrous","html_url":"https://github.com/vikstrous","followers_url":"https://api.github.com/users/vikstrous/followers","following_url":"https://api.github.com/users/vikstrous/following{/other_user}","gists_url":"https://api.github.com/users/vikstrous/gists{/gist_id}","starred_url":"https://api.github.com/users/vikstrous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikstrous/subscriptions","organizations_url":"https://api.github.com/users/vikstrous/orgs","repos_url":"https://api.github.com/users/vikstrous/repos","events_url":"https://api.github.com/users/vikstrous/events{/privacy}","received_events_url":"https://api.github.com/users/vikstrous/received_events","type":"User","site_admin":false},"labels":[{"id":73644419,"url":"https://api.github.com/repos/docker/docker/labels/area/cli","name":"area/cli","color":"fbca04","default":false},{"id":190258329,"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94","default":false},{"id":375241490,"url":"https://api.github.com/repos/docker/docker/labels/version/master","name":"version/master","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-06T23:09:09Z","updated_at":"2016-11-09T14:05:14Z","closed_at":null,"body":"**Description**\r\n\r\nWhen using urxvt to pull an image the progress bars are drawn off by one line. This is annoying because it causes statically printed messages to be overriden by progress bars and it can make the status of certain layers get covered up.\r\n\r\n**Steps to reproduce the issue:**\r\n1. docker pull an image with more than one layer using urxvt\r\n\r\n**Describe the results you received:**\r\n\r\n```\r\n$ docker pull ascribe/image-match\r\nUsing default tag: latest\r\nlatest: Pulling from ascribe/image-match\r\n\r\n43c265008fae: Already exists \r\naf36d2c7a148: Already exists \r\nf6a5aab6cd0c: Downloading 539.8 kB/129.8 MB\r\n132c9d275259: Downloading 719.6 kB/2.889 MB\r\nf2bfc1fc1d76: Downloading 654.6 kB/15.88 MB\r\n5a0288588dea: Waiting \r\n276aa5e3c7b2: Waiting \r\n0a789057158f: Waiting \r\nb579dcc73c1a: Waiting \r\n9fca55327c3f: Waiting \r\n60402126d860: Waiting \r\n949bc7382b9d: Waiting \r\n25784ad4ced1: Waiting \r\n25784ad4ced1: Pulling fs layer\r\n```\r\n\r\nNote that the last line here is printed on the same line as the cursor when using urxvt, but it's printed one line above the cursor when using xterm. That seems to be the source of the issue.\r\n\r\n**Describe the results you expected:**\r\n```\r\n$ docker pull ascribe/image-match\r\nUsing default tag: latest\r\nlatest: Pulling from ascribe/image-match\r\n\r\n43c265008fae: Already exists \r\naf36d2c7a148: Already exists\r\n143e9d501644: Already exists\r\nf6a5aab6cd0c: Downloading 539.8 kB/129.8 MB\r\n132c9d275259: Downloading 719.6 kB/2.889 MB\r\nf2bfc1fc1d76: Downloading 654.6 kB/15.88 MB\r\n5a0288588dea: Waiting \r\n276aa5e3c7b2: Waiting \r\n0a789057158f: Waiting \r\nb579dcc73c1a: Waiting \r\n9fca55327c3f: Waiting \r\n60402126d860: Waiting \r\n949bc7382b9d: Waiting \r\n25784ad4ced1: Waiting \r\n```\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      1.12.2-cs2\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   d5fda6e\r\n Built:        Sun Oct 23 07:48:43 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.13.0-dev\r\n API version:  1.25\r\n Go version:   go1.7.3\r\n Git commit:   c5ceb0f-unsupported\r\n Built:        Sun Nov  6 06:37:06 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 6\r\n Running: 1\r\n Paused: 0\r\n Stopped: 5\r\nImages: 82\r\nServer Version: 1.13.0-dev\r\nStorage Driver: overlay2\r\n Backing Filesystem: extfs\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: apparmor seccomp\r\nKernel Version: 4.8.3\r\nOperating System: NixOS 17.03.git.210b3b3 (Gorilla)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 15.53 GiB\r\nName: thisisfine\r\nID: 4XB6:RAOL:2UT7:W3TT:JBSR:ILHC:LREA:HUVU:5U7V:TI7E:WUT2:WQTS\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 22\r\n Goroutines: 34\r\n System Time: 2016-11-06T15:07:26.849363997-08:00\r\n EventsListeners: 0\r\nUsername: viktorstanchev\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No cpu cfs quota support\r\nWARNING: No cpu cfs period support\r\nInsecure Registries:\r\n 172.17.0.1\r\n 127.0.0.0/8\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\nphysical"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/259421893","html_url":"https://github.com/docker/docker/issues/28111#issuecomment-259421893","issue_url":"https://api.github.com/repos/docker/docker/issues/28111","id":259421893,"user":{"login":"ijc25","id":12985729,"avatar_url":"https://avatars.githubusercontent.com/u/12985729?v=3","gravatar_id":"","url":"https://api.github.com/users/ijc25","html_url":"https://github.com/ijc25","followers_url":"https://api.github.com/users/ijc25/followers","following_url":"https://api.github.com/users/ijc25/following{/other_user}","gists_url":"https://api.github.com/users/ijc25/gists{/gist_id}","starred_url":"https://api.github.com/users/ijc25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijc25/subscriptions","organizations_url":"https://api.github.com/users/ijc25/orgs","repos_url":"https://api.github.com/users/ijc25/repos","events_url":"https://api.github.com/users/ijc25/events{/privacy}","received_events_url":"https://api.github.com/users/ijc25/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T14:05:14Z","updated_at":"2016-11-09T14:05:14Z","body":"Ooops, `s/termcap/terminfo/` in my parts of the above."}}
{"actor":{"display_login":"ijc25"}}