Skip to content

Instantly share code, notes, and snippets.

@sndnvaps
Last active December 15, 2015 15:09
Show Gist options
  • Save sndnvaps/5279619 to your computer and use it in GitHub Desktop.
Save sndnvaps/5279619 to your computer and use it in GitHub Desktop.
translate from virtual terminal one to vritual terminal two (tty1 to tty2 ) and translate from virtual terminal to Xwindows Make virtual terminal support utf8 chinese

正文:

Ctrl+Alt+F1 进入tty1,命令行模式,第一个虚拟终端

Ctrl+Alt+F2 进入tty2

Ctrl+Alt+F3 进入tty3

Ctrl+Alt+F4 进入tty4

Ctrl+Alt+F5 进入tty5

Ctrl+Alt+F6 进入tty6

Ctrl+Alt+F7 返回Xwindow(窗口)

前言:

在模拟终端中,对中文的支持是有限的,这里就需要先安装一个软件了,软件名为:zhcon,安装命令为

apt-get install zhcon 

安装完成后,再进入模拟终端。在纯终端的环境中输入以下的命令,使用zhcon

# zhcon --utf8 --drv=fb 

或者:

# zhcon --utf8 --drv=vga 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment