php - Text "stuck" to bottom in BASH -


i'm creating script in php run quite while in command line, echos quite bit of data.

so in bash i'm looking sort of progress or status bar of sort "stick" bottom of shell, i've seen done before know it's possible i've never messed around stuff this. display simple data such working, resting, stopping , ran x seconds.

can enlighten me on how this? script run in screen.

obviously need system calls.

something this:

---------------------------------- | data                           | | data                           | | data                           | | data                           | | data                           | | data                           | | data                           | | data                           | |--------------------------------| |    "status bar" here           | ---------------------------------- 

thanks in advance, jordan.

curses friend, many ways it, example on here bashsimplecurses


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -