Name : perl-Term-Size
| |
Version : 0.207
| Vendor : obs://build_opensuse_org/systemsmanagement:Uyuni
|
Release : 1.2.uyuni
| Date : 2019-10-29 19:36:21
|
Group : Development/Libraries/Perl
| Source RPM : perl-Term-Size-0.207-1.2.uyuni.src.rpm
|
Size : 0.02 MB
| |
Packager : (none)
| |
Summary : Retrieve terminal size (Unix version)
|
Description :
THIS IS AN UNOFFICIAL PATCH AGAINST Term-Size 0.2 DISTRIBUTION FOUND ON CPAN (http://search.cpan.org/~timpx/Term-Size-0.2/). IT IS UNOFFICIAL IN THE SENSE THAT THE AUTHOR Tim Goodwin HASN\'T APPROVED IT (YET, I HOPE). BECAUSE OF THIS, THIS DISTRIBUTION IS NOT INDEXED AND AVAILABLE VIA cpan OR cpanp SHELLS UNLESS YOU EXPLICITLY SAY \"install FERREIRA/Term-Size-0.203.tar.gz\".
THIS IS UNDELICATE? I THINK IT IS IN A CERTAIN SENSE. BUT IT IS A WAY TO UNFREEZE THE CURRENT DISTRIBUTION STATUS. IF TIM DISAPPROVES, I WILL REMOVE THIS DISTRIBUTION RIGHT AWAY. IF HE APPROVES, I WILL REMOVE THIS DISTRIBUTION RIGHT AWAY AND WORK OUT (AFTER BEEN GIVEN MAINTAINERSHIP STATUS) A DISTRIBUTION WITHOUT THIS NOTE AND WHICH INDEXES CORRECTLY.
*Term::Size* is a Perl module which provides a straightforward way to retrieve the terminal size.
Both functions take an optional filehandle argument, which defaults to \'*STDIN{IO}\'. They both return a list of two values, which are the current width and height, respectively, of the terminal associated with the specified filehandle.
\'Term::Size::chars\' returns the size in units of characters, whereas \'Term::Size::pixels\' uses units of pixels.
In a scalar context, both functions return the first element of the list, that is, the terminal width.
The functions may be imported.
If you need to pass a filehandle to either of the \'Term::Size\' functions, beware that the \'*STDOUT{IO}\' syntax is only supported in Perl 5.004 and later. If you have an earlier version of Perl, or are interested in backwards compatibility, use \'*STDOUT\' instead.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/systemsmanagement:/Uyuni:/Snapshots:/2020.05/images/repo/Uyuni-Server-POOL-Media1/x86_64 |