An open API service indexing awesome lists of open source software.

https://github.com/buganini/bug5

A Big5/GBK <-> UTF-8 translating layer in terminal
https://github.com/buganini/bug5

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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
Transliteration
Optional Traditional-Simplified conversion
BSD License
Specifying size for slave terminal + auto scrolling region setting

Features that both bug5 and screen has:
Optional (no/auto/always) ambiguous-width characters padding
Specify I/O conversion

Dependency:
bsdconv

Examples:
bug5 -u ssh bbs@ptt.cc #for CJK-aware terminal
bug5 -up ssh bbs@ptt.cc #auto pad ambiguous-width characters padding
bug5 -upp ssh bbs@ptt.cc #always pad ambiguous-width characters padding
bug5 -gpt telnet -8 newsmth.net
bug5 -up -s 80x24 telnet -8 bbs.hs.ntnu.edu.tw

#I/O with UTF-8, with padding for ambiguous-width characters
bug5 -8p

See Also:
https://github.com/buganini/misc-scripts/blob/master/noidle

Related projects:
screen
luit
hztty