1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Add p5-Term-TablePrint 0.108

Term::TablePrint shows a table and lets the user interactively browse it. It
provides a cursor which highlights the row on which it is located. The user can
scroll through the table with the different cursor keys.

If the table has more rows than the terminal, the table is divided up on as many
pages as needed automatically. If the cursor reaches the end of a page, the next
page is shown automatically until the last page is reached. Also if the cursor
reaches the topmost line, the previous page is shown automatically if it is not
already the first one.

If the terminal is too narrow to print the table, the columns are adjusted to
the available width automatically.

If the option table_expand is enabled and a row is selected with Return, each
column of that row is output in its own line preceded by the column name. This
might be useful if the columns were cut due to the too low terminal width.

WWW: https://metacpan.org/release/Term-TablePrint
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-02-17 19:36:51 +00:00
parent 501d60555d
commit 740f68e7ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493185
5 changed files with 51 additions and 0 deletions

View File

@ -3504,6 +3504,7 @@
SUBDIR += p5-Term-Size-Perl
SUBDIR += p5-Term-Sk
SUBDIR += p5-Term-Table
SUBDIR += p5-Term-TablePrint
SUBDIR += p5-Term-Title
SUBDIR += p5-Term-UI
SUBDIR += p5-Term-VT102

View File

@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Term-TablePrint
PORTVERSION= 0.108
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Print a table to the terminal and browse it interactively
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Term-Choose>=1.644:devel/p5-Term-Choose \
p5-Term-Choose-Util>=0.069:devel/p5-Term-Choose-Util
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1550417320
SHA256 (Term-TablePrint-0.108.tar.gz) = 4ee33a966f000a47004531773d7de04996fa1f10fdbc63911631dc1a343fa7bf
SIZE (Term-TablePrint-0.108.tar.gz) = 22269

View File

@ -0,0 +1,18 @@
Term::TablePrint shows a table and lets the user interactively browse it. It
provides a cursor which highlights the row on which it is located. The user can
scroll through the table with the different cursor keys.
If the table has more rows than the terminal, the table is divided up on as many
pages as needed automatically. If the cursor reaches the end of a page, the next
page is shown automatically until the last page is reached. Also if the cursor
reaches the topmost line, the previous page is shown automatically if it is not
already the first one.
If the terminal is too narrow to print the table, the columns are adjusted to
the available width automatically.
If the option table_expand is enabled and a row is selected with Return, each
column of that row is output in its own line preceded by the column name. This
might be useful if the columns were cut due to the too low terminal width.
WWW: https://metacpan.org/release/Term-TablePrint

View File

@ -0,0 +1,3 @@
%%SITE_PERL%%/Term/TablePrint.pm
%%SITE_PERL%%/Term/TablePrint/ProgressBar.pm
%%PERL5_MAN3%%/Term::TablePrint.3.gz