FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
p5-Text-CharWidth 0.04 textproc on this many watch lists=0 search for ports that depend on this port
Get number of occupied columns of a string on terminal
Maintained by: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 31 Aug 2008 23:07:56
Also Listed In: perl5
License: not specified in port


This module supplies features similar as wcwidth(3) and wcswidth(3) in C
language.

Characters have its own width on terminal depending on locale. For example,
ASCII characters occupy one column per character, east Asian fullwidth
characters (like Hiragana or Han Ideograph) occupy two columns per
character, and combining characters (apperaring in ISO-8859-11 Thai,
Unicode, and so on) occupy zero columns per character. mbwidth() gives the
width of the first character of the given string and mbswidth() gives the
width of the whole given string.

The names of mbwidth and mbswidth came from "multibyte" versions of wcwidth
and wcswidth which are "wide character" versions.

mblen(string) returns number of bytes of the first character of the string.
Please note that a character may consist of multiple bytes in multibyte
encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, or Big5.

mbwidth(string) returns the width of the first character of the string.
mbswidth(string) returns the width of the whole string.

Parameters are to be given in locale encodings, not always in UTF-8.

WWW: http://search.cpan.org/dist/Text-CharWidth/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only required dependencies information. Optional dependencies are not covered.

Required To Build:
  1. lang/perl5.16
Required To Run:
  1. lang/perl5.16

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/textproc/p5-Text-CharWidth/ && make install clean
To add the package: pkg install textproc/p5-Text-CharWidth


Configuration Options
     No options to configure

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Text/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Text/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Text/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Text/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Text/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Text/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Text/
  8. http://backpan.perl.org/modules/by-module/Text/
  9. http://cpan.metacpan.org/modules/by-module/Text/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Text/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Text/
  13. http://www.cpan.dk/modules/by-module/Text/
  14. http://www.cpan.dk/modules/by-module/Text/
  15. http://www.cpan.org/modules/by-module/Text/

Number of commits found: 7

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
10 Jun 2014 12:14:14
Original commit files touched by this commit  0.04
Revision:357300
mat search for other commits by this committer
Remove all the bootstrap files (.bs) from the plists.

Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
07 Nov 2013 03:52:42
Original commit files touched by this commit  0.04
Revision:333056
vanilla search for other commits by this committer
Support STAGEDIR.
20 Sep 2013 23:17:32
Original commit files touched by this commit  0.04
Revision:327773
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
02 Aug 2013 18:52:11
Original commit files touched by this commit  0.04
Revision:324174
mat search for other commits by this committer
- Convert to new perl framework
- Trim Makefile header
- Remove MAKE_JOBS_SAFE=yes, it's the default.
17 May 2011 11:13:00
Original commit files touched by this commit  0.04
jadawin search for other commits by this committer
- Cleaning MD5 in perl@'s ports

Approved by:    erwin@ (portmgr)
28 Aug 2009 17:37:26
Original commit files touched by this commit  0.04
linimon search for other commits by this committer
Reset chinsan@FreeBSD.org due to numerous maintainer-timeouts and no
response to email.

Hat:            portmgr
31 Aug 2008 08:31:02
Original commit files touched by this commit  0.04
chinsan search for other commits by this committer
Add p5-Text-CharWidth, get number of occupied columns of a string on terminal.

This module supplies features similar as wcwidth(3) and wcswidth(3) in C
language.

Characters have its own width on terminal depending on locale. For example,
ASCII characters occupy one column per character, east Asian fullwidth
characters (like Hiragana or Han Ideograph) occupy two columns per
character, and combining characters (apperaring in ISO-8859-11 Thai,
Unicode, and so on) occupy zero columns per character. mbwidth() gives the
width of the first character of the given string and mbswidth() gives the
width of the whole given string.

The names of mbwidth and mbswidth came from "multibyte" versions of wcwidth
and wcswidth which are "wide character" versions.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 7

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk11Sep 18
squidSep 18
squid33Sep 18
dbusSep 17
nginxSep 16
nginx-develSep 16
phpmyadminSep 13
ossec-hids-clientSep 11
ossec-hids-localSep 11
ossec-hids-serverSep 11
chromiumSep 09
trafficserverSep 05
apache22*Sep 03
apache22-event-mpm*Sep 03
apache22-itk-mpm*Sep 03

8 vulnerabilities affecting 19 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24096
Broken 120
Deprecated 90
Ignore 384
Forbidden 17
Restricted 203
No CDROM 94
Vulnerable 21
Expired 2
Set to expire 85
Interactive 0
new 24 hours 1
new 48 hours3
new 7 days32
new fortnight70
new month231

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.