[Ilugc] Progressbar on shell

  • From: abdullah.ak2002@xxxxxxxxx (abdullah abdul Khadir)
  • Date: Thu Dec 25 14:50:26 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.

Other related posts: