BSD Ports

chinese/bug5 1.18 DragonFly

Big5/GBK <-> UTF-8 translating layer in terminal

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE, BSD3CLAUSE
Categories
chinese, converters
Package size
6.2 KiB, 15.9 KiB installed

Description

bug5 is a Big5/GBK <-> UTF-8 translating layer in terminal. It's modified from script(1).

Features that screen doesn't have:

  • Autoset locale
  • UAO
  • Unpad padded ambiguous-width characters
  • ANSI-Broken Big5 (eg. Double Color) fixing
  • Optional Traditional-Simplified conversion
  • BSD License
  • Specifying size for slave terminal + auto scrolling region setting

Features that both bug5 and screen has:

  • Optional ambiguous-width characters padding
  • Specify I/O conversion

In the other systems

SystemPortVersion
DragonFlychinese/bug51.18
FreeBSDchinese/bug51.18
HardenedBSDchinese/bug51.18
GhostBSDchinese/bug51.18

Install

Binary package:

pkg install zh-bug5

From DPorts:

cd /usr/dports/chinese/bug5 && make install clean

Dependencies

Run dependencies 1

No port depends on this one.