Skip to content

buganini/bug5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected] #for CJK-aware terminal
	bug5 -up ssh [email protected] #auto pad ambiguous-width characters padding
	bug5 -upp ssh [email protected] #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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published