[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] system( 'clear' ) for interfaces



I'm kinda cheap when it comes to my menu-driven interfaces. I use tabs a
lot for positioning where I should use printf(), although of course I can't
do that in MacPerl anyway.

My main gripe is that I use system( 'clear' ) extensively on my Linux box,
so that I can re-write the menu to screen instead of beneath the previous
one. I've tried writing multiple lines to STDOUT to no avail- actually
writing the lines is too slow (the menus scroll up, without even a bad
attempt at looking like a clean update) and/or I have problems with window
size. I've been advised even to use a telnet interface and vt100 escape
codes, but it seems that there must be an easier (and more effective) way
to do things.

Is there or can there be a command, maybe implemented as system( 'clear' )
(or MacPerl::Clear if you prefer), which clears a given window quickly?
It'd be a tremendous asset. If anyone else has any other way around this
problem, please let me know.

Thanks,

strider


                                       |
                                     --+--
                                       |
                                       |



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch