how to clear just 1 line in a terminal

hi, guys...

I'd like to know how to clear just one line in a terminal...

if I use "clear"...it clears all the screen

thanx

evandro
Use NCurses.
http://www.gnu.org/software/ncurses/

If you are on Unix, you've probably already got it installed. If you are on Linux, you'll need to sudo apt-get ncurses-dev or somesuch.

Getting started.
http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/

Good luck!
thanx...very useful!
Topic archived. No new replies allowed.