PDA

View Full Version : Bash script question



ABX323
May 3rd, 2008, 04:38 AM
I want to know how to erase previous lines of output when running a bash script in terminal.
Kind of like clear, but not the whole screen. I want to have a dynamic menu in a static screen object.
so..

#############################
-Options-
This part would change but the rest stays the same
#############################

This is just for a homebrew, so a hack is good.

Thanks to any reply.

olejorgen
May 3rd, 2008, 04:49 AM
My best guess would be to look into the files in ncurses-bin


dpkg -L ncurses-bin