Do you have a question? Post it now! No Registration Necessary. Now with pictures!
January 8, 2005, 6:03 am
rate this thread
($wchar, $hchar, $wpixels, $hpixels) = GetTerminalSize() ;
use Term::ANSIColor ;
In my perl script these two functions, are working correctly in unix
environment, But these 2 functions gives me error when i use it in
solaris, may i know the perl function for solaris that can be used to
get the terminal size, and function for printing in color
Re: Terminal size
> Hi all
> use Term::ReadKey;
> ($wchar, $hchar, $wpixels, $hpixels) = GetTerminalSize() ;
> use Term::ANSIColor ;
> In my perl script these two functions, are working correctly in unix
> environment, But these 2 functions gives me error when i use it in
You can't use those modules unless they have been installed.
Note the "site_perl" part. That means that it was not part of
the core perl distribution, and is something I installed later.
print color("bold"),$^O,color("reset")," w=$w h=$h x=$x y=$y\n";
solaris w=80 h=46 x=0 y=0
- » FAQ 1.2 Who supports Perl? Who develops it? Why is it free?
- — Previous thread in » PERL Discussions