[Ilugc] Progressbar on shell

abdullah abdul Khadir abdullah.ak2002 at gmail.com
Thu Dec 25 14:50:08 IST 2008


Hi,
      Does anyone here know how to implement a progress bar in C that
displays a series of '=' on the command line when run. I intend the
progressbar to look like :

|=========>
|   [25%]

I intend to use system("echo ="); Is that the way it is done? Also how is it
possible to display the progress bar correctly when the user adjusts the
command line window? I remember seeing such type of progressbars in rpm.


More information about the ilugc mailing list