cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: simplified progress-bar for dumb terminals

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Apr 2012 15:59:09 +0200 (CEST)

On Mon, 2 Apr 2012, Kamil Dudka wrote:

> dracut developers are asking us to implement a simplified progress bar that
> would be similar to the output of --progress-bar but compatible with
> terminals that do not support the '\r' character:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=806426
>
> Does such an enhancement make sense? Would it be accepted upstream?

I think we can accept such a change.

Maybe such a fix could (try to) detect terminal type and automatically switch
to the simpler mode?

Anyway, how would it work/look?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-02