PHP command line progress bar that adapts to screen width and shows  current ETA.