BSD Ports

devel/p5-Color-ANSI-Util 0.165 DragonFly

Routines for dealing with ANSI colors

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

Description

Color::ANSI::Util provides routines for dealing with ANSI colors. The two main functions are ansifg and ansibg. With those functions, you can specify colors in RGB and let it output the correct ANSI color escape code according to the color depth support of the terminal (whether 16-color, 256-color, or 24bit). There are other functions to convert RGB to ANSI in specific color depths, or reverse functions to convert from ANSI to RGB codes.

In the other systems

The newest version among them is 0.165, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Color-ANSI-Util0.165 newestnone known-[email protected]-
FreeBSDdevel/p5-Color-ANSI-Util0.165 newestnone known-[email protected]-
HardenedBSDdevel/p5-Color-ANSI-Util0.165 newestno data-[email protected]-
GhostBSDdevel/p5-Color-ANSI-Util0.165 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Color-ANSI-Util

From DPorts:

cd /usr/dports/devel/p5-Color-ANSI-Util && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2