Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system applied to tty terminal of Linux and supporting Chinese

A terminal support, Chinese technology, applied in the direction of program code conversion, software deployment, code compilation, etc., can solve problems such as blocks or garbled characters

Inactive Publication Date: 2018-04-06
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In desktop environments such as Gnome or KDE of Linux, Chinese file characters can be displayed normally, and Chinese characters can also be displayed normally when remotely connected to the server through the client remote connection software; but enter the character command line interface through init 3, or Ctrl+Alt In the tty terminal interface entered by +F2...F6, etc., Chinese characters are displayed as squares or garbled characters

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system applied to tty terminal of Linux and supporting Chinese
  • Method and system applied to tty terminal of Linux and supporting Chinese

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

[0025] The console terminal in Linux, when logging in on the console, uses tty1. When using the Alt+[F1-F6] key combination, you can switch to tty2, tty3, etc., tty1–tty6, etc. are called virtual terminals .

[0026] The present invention integrates the Chinese environment in the kernel that originally does not support Chinese, and when entering the tty terminal interface, the Chinese content in the system can be displayed normally, and it is no longer unrecognizable garbled codes, which facilitates the use of users.

[0...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and system applied to tty terminal of Linux and supporting Chinese. Programs of a tty Chinese integrating environment are installed by using root permissions, a programinstallation package integrates character terminal processing libraries of open-source software zhcon ncurses-devel, ncurses-libs and the like, compiling errors in zhcon source codes on different Linux platforms are corrected, scripts in the installation package are executed to automatically complete compiling and installation, a user name password is input for login after a tty terminal interface is accessed, a zhtty command is executed, and a zhcon Chinese environment is accessed. Chinese content in a system can be normally displayed, is messy codes which cannot be identified no longer, andconvenience is brought to a user in use.

Description

technical field [0001] The invention relates to the technical field of terminals, in particular to a method and system for supporting Chinese in a tty terminal applied to Linux. Background technique [0002] In desktop environments such as Gnome or KDE of Linux, Chinese file characters can be displayed normally, and Chinese characters can also be displayed normally when remotely connected to the server through the client remote connection software; but enter the character command line interface through init 3, or Ctrl+Alt In the tty terminal interface entered by +F2...F6, etc., Chinese characters are displayed as squares or garbled characters. This is because the desktop environments such as Gnome and KDE integrate Chinese character sets and support Chinese display, and the remote connection software itself has character set analysis. Chinese, and the tty console comes with the original Linux kernel, which does not support Chinese, and all Linux versions do not support it, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61G06F8/41
CPCG06F8/41G06F8/61
Inventor 刘骏
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD