BSD Ports

textproc/p5-Text-VisualWidth 0.02_1 DragonFly

Perl extension for trimming text by terminal columns

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
12.2 KiB, 25.7 KiB installed

Description

This module provides functions to treat half-width and full-width characters and display correct size of text in one line on terminals and mobile phones. You can know the visual width of any text and truncate text by the visual width. Now this module support EUC-JP and UTF-8 and tested only with Japanese.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-Text-VisualWidth0.02_1
FreeBSDtextproc/p5-Text-VisualWidth0.02_1
HardenedBSDtextproc/p5-Text-VisualWidth0.02_1
GhostBSDtextproc/p5-Text-VisualWidth0.02_1

Install

Binary package:

pkg install p5-Text-VisualWidth

From DPorts:

cd /usr/dports/textproc/p5-Text-VisualWidth && make install clean

Dependencies

Run dependencies 1

No port depends on this one.