textproc/p5-Text-CharWidth - The NetBSD Packages Collection

Perl5 wrappers around wcwidth(3) and family

This is a module to provide equivalent feature as wcwidth(3) and
wcswidth(3).  This also provides mblen(3) equivalent subroutine.

mbwidth() and mbswidth() are provided subroutines corresponding
wcwidth(3) and wcswidth(3) in C language.  The prefix "mb" expresses
that they handles "multibyte character" in C meaning, i.e., character
encoding specified by LC_CTYPE locale.

These subroutines are used to get the width of characters on terminal.
Though most characters have width of 1, there are exceptions.
Fullwidth characters are characters with width of 2.  Most of east
Asian characters such as Hiragana, Katakana, Hangul, Han Ideogram
are fullwidth.  Combining characters are characters with width of 0.
Unicode has many combining characters like diacritical marks.  There
are languages which need combining characters such as Thai and
Vietnamese.

Thus, if you would like to format international texts on terminal,
you will have to be aware of variation of character width and will
want to use this module.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0aarch64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0aarch64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0aarch64ebp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0aarch64ebp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0alphap5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0alphap5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv4p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv4p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv4p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv6hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv6hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv6hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv7hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv7hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0earmv7hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0i386p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0i386p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0i386p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0i386p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0m68kp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0mips64ebp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0mips64ebp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0powerpcp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0powerpcp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0powerpcp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0sh3elp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0sh3elp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0sparc64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0sparc64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0sparcp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0sparcp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0vaxp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0vaxp5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 10.0x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0aarch64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0aarch64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0aarch64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0alphap5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0alphap5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0earmv4p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0earmv4p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0earmv6hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0earmv6hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0earmv6hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0earmv7hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0earmv7hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0earmv7hfp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0i386p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0i386p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0i386p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0i386p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0powerpcp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0powerpcp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0powerpcp5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0sparc64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.0x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.3x86_64p5-Text-CharWidth-0.04nb15.tgz
NetBSD 9.3x86_64p5-Text-CharWidth-0.04nb15.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.