zhcon修好了
Tofloor
poster avatar
xuiv
deepin
2019-12-27 00:52
Author
zhcon修好了:https://github.com/xuiv/zhcon

装libncurses5-dev libncursesw5-dev build-essential git

git clone https://github.com/xuiv/zhcon.git
cd zhcon
./configure --prefix=/usr
make
sudo make install

不太了解utf-8的键盘是如何把K(KT_LATIN, CTRL_SPACE)之类的值编码成三字节的细节,iconv也不能正确解码成原值,我只有用ioctl(0, KDSKBMODE, K_XLATE)粗暴地把键盘设成ASCII模式,装上就能用了,维护和程序猿的好工具。

Reply Favorite View the author
All Replies

No replies yet