[LIP] How does mplayer or wget display their output??
Vardhman Jain <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Hi, I used to think that Mplayer and wget refreshes the same line in a console output using a ncurses library support, but I realize ncurses needs a new screen to be set up to start with. Wget and Mplayer gives their output on the console printing it starting from the line where the command was given, so I believe they donot use ncurses. can some one tell me how to achieve a similar output(refreshing the same line on console on update). -- ************************************* Vardhman Jain, Btech 4rd Year@IIIT Hyderabad website: http://students.ac.in/~vardhman ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click