ZHCON(1)
πΈ ZHCON(1) β the manual, but make it slay πΈ
ok so bestie. you're on a GNU/Linux or BSD console and you want CJK characters to just work? this is the page for you. it's zhcon, it's fast, and it's about to be your new main character. π
β¨ NAME β¨
zhcon β fast CJK console environment for GNU/Linux and BSD
π SYNOPSIS π
zhcon [OPTIONS]... [FILES]...
π¦ DESCRIPTION π¦
So like, zhcon is a fast Linux console system that supports framebuffer device. no cap. it can display Chinese, Japanese and Korean double byte characters, which is honestly so iconic of it. π
The encodings it supports are: GB2312, GBK, BIG5, JIS and KSC.
It can also use input methods (table based) from MS pwin98 and UCDOS for MS-DOS. yes literally those ones. throwback fr fr. π«Ά
Here's the option lineup, one by one, no skipping, we're being thorough bestie:
-h,--helpβ print help and exit. the "pls explain" button. π-V,--versionβ print version and exit. the "who even are you" button. π--utf8β useiconvfilter to convert UTF-8 stream from/to system encoding (default=off). so like, off by default, you gotta ask for it. β¨--drv=STRINGβ specify video driver (auto,fb,ggi,vga) (default=auto)
and here's the little extra that comes with it: if a program name is given as a command line argument, zhcon will run this program on start instead of a shell, and quit when the program exits. for example:
zhcon screen
will run screen in zhcon insteal of default user shell. (that typo is the original's, we're preserving it like a museum piece ποΈ)
π CONFIGURATION FILE π
On startup, zhcon first try to load configuration from ~/.zhconrc. If failed, it will use /etc/zhcon.conf by default. The configure file has many options that can be used to control the behavior of zhcon. See the comments in the file for instruction on customizing zhcon.
basically: your personal vibe file first, the system-wide one as the fallback. go read the comments in there, they're giving instructions. π
π KEY SUMMAY π
(yes, "SUMMAY", that's what the original says, we don't edit the lore)
CTRL_ALT_H: active online helpALT_SPACE: open/close CJK modeCTRL_SPACE: open/close input methodALT_SPACE: show/hide input barCTRL_,: toggle Full/Half char modeCTRL_.: toggle Chinese symbolCTRL_F1: set encode toGB2312CTRL_F2: set encode toGBKCTRL_F3: set encode toBIG5CTRL_F4: set encode toJISCTRL_F5: set encode toKSCMCTRL_F7: toggle between nativebar and overspot input styleCTRL_F9: toggleGB2312/BIG5auto-detect modeCTRL_F10: menu modeCTRL_ALT_1-CTRL_ALT_9: switch to input method 1 to 9CTRL_ALT_0: English mode
π§ History mode keys π§
SHIFT_PAGEUP: scroll up half screen in historySHIFT_PAGEDOWN: scroll down half screen in historySHIFT_ARROWUP: scroll up one line in historySHIFT_ARROWDOWN: scroll down one in history
π SEE ALSO π
/usr/share/doc/zhcon/README.gz/usr/share/doc/zhcon/manual.ps.gz
π AUTHORS π
- ejoy
<ejoy@users.sourceforge.net> - Hu Yong
<ccpaging@etang.com> - Rick Lei
<rick@chinaren.com>
This manual page was written by Aron Xu <happyaron.xu@gmail.com>, for the Debian project (and may be used by others). π«‘
ok that's the whole page, you ate it, go read the docs. β¨
Fast CJK console environment β June 2011 π that's the source blurb and the date, mwah, signing off bestie π πΈ
π¦ where this page comes from
- debian bookworm: zhcon 1:0.2.6-19+b1 Β· GPL-2.0-or-later
- debian trixie: zhcon 1:0.2.6-20 Β· GPL-2.0-or-later
- ubuntu jammy: zhcon 1:0.2.6-19 Β· GPL-2.0-or-later
- ubuntu noble: zhcon 1:0.2.6-19 Β· GPL-2.0-or-later
- ubuntu questing: zhcon 1:0.2.6-21
- ubuntu resolute: zhcon 1:0.2.6-21build1 Β· GPL-2.0-or-later
- ubuntu stonking: zhcon 1:0.2.6-21build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms