in reply to Text buffer thingy

Perhaps you should begin by learning how to program with the curses library (if you are on a unix machine).

There are CPAN modules for using curses with Perl. You can have a look at Curses and Curses::UI on CPAN.