Step 1: Install a software tool named w3m. Open the terminal and enter the following command:
Sudo apt-Get install WM w3m-img-y
Step 2: After w3m is installed, start w3m on the terminal and open a website, such as w3m www.baidu.com. Have you seen the Baidu homepage that can only be viewed under the browser?
If your terminal does not display Chinese characters, please. Install zhcon. Installation command:
Sudo apt-Get install zhcon-y
Okay. The following is a w3m help file.
Similar to common Vim commands, H, J, K, and l can be used as the moving keys, respectively, left, bottom, top, and right. If you are familiar with vim operations, this will be a very convenient function. <And> used for left and right scrolling.
Press Q and you will be prompted to exit!
Press enter in the text box to be entered, and text is displayed below. You can enter the text you want to search. Press enter to return to the text box. Move the cursor to the "Baidu search" button and press enter to start searching!
Use u to re-enter the URL to be opened.
B returns to the previous page.
Multiple tag operations!
You can press the T button to open a new tag.
Switch among multiple tags? Use {And!
If you use ESC-t, the tab menu will be opened for you to choose from. The function is similar to the alt-tab function in the system.
C-Q is used to view the current tab.
Bookmarks
C-A add bookmarks
C-B view bookmarks
Search
/Search for the current page.
? Search for the current page
N search for the next searched keyword
N search for the searched keywords forward
Help
H and above options can be seen here!
To display Chinese Characters in TT1:
After Ubuntu is installed, the Chinese characters in the command line are not displayed. I have read a lot of similar information on the Internet, and my operation steps are like this.
Connect your computer to the Internet to ensure that you can connect to Inetrnet. View the display in the ETC/default/locale file
Lang = "zh_cn.utf8"
Language = "zh_cn: ZH"
The above default language is Chinese
Switch to the command line (CTRL + alf + F1) and enter the user name and password to log in. If the user is the current user, enter the command:
Sudo apt-Get install zhcon
Enter the password to download the file, and there is another confirmation. The download speed varies with time.
After that, change the encoding parameter of zhcon to utf8 and enter the command: zhcon -- utf8-Dev = VGA.
The command I entered above is invalid. Just enter the following command.
Zhcon -- utf8
Now, let's see if Chinese is displayed!
Press Ctrl + alf + space to start the Chinese Pinyin input method.