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
- Host: GitHub
- URL: https://github.com/buganini/bug5
- Owner: buganini
- License: other
- Created: 2011-04-23T06:30:14.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2015-01-02T14:03:23.000Z (over 11 years ago)
- Last Synced: 2025-04-10T20:46:36.759Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 194 KB
- Stars: 25
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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