Hot search terms: 360 Security Guard Office365 360 browser WPS Office iQiyi Huawei Cloud Market Tencent Cloud Store
operating system Storage size: 1158720KB Time: 2014-04-22
Software Introduction: Ubuntu is a freely distributed and open source Linux-based operating system designed for humans, humans who have no previous experience with Linux...
When using the vi editor, vi is stuck. What is the reason for vi to be stuck? Let me share with you the solution to vi stuck. Friends who encounter similar situations can take a look.

After opening another terminal to enter and exit strace, I found that it was stuck in the connect function.
Process 12251 attached–interrupt to quit
connect(4, {sa_family=AF_FILE, path="/dev/gpmctl"...}, 13
Blocking occurred while connecting to /dev/gpmctl.
/dev/gpmctl is a mouse-related driver that provides mouse support for virtual terminals.
There are settings for this parameter in the .vimrc file:
“In many terminal emulators the mouse works just fine, thus enable it.
if has('mouse')
set mouse=a
endif
set mouse=a can be used normally when the terminal type is xterm, but will cause problems when the terminal is linux (gpm is not available).
Solution:
1) Comment out the settings
2) Change this setting:
if $TERM ! =”linux”
set mouse=a
endif
The above is the editor’s summary of the solutions to Linux vi often getting stuck. Have you also experienced stuck situations when using vi? Is it stuck in the connect function? You can try the method in this article to solve it.
How to draw symmetrical graphics in coreldraw - How to draw symmetrical graphics in coreldraw
How to copy a rectangle in coreldraw - How to draw a copied rectangle in coreldraw
How to separate text from the background in coreldraw - How to separate text from the background in coreldraw
How to edit text in coreldraw - How to edit text in coreldraw
How to cut out pictures quickly in coreldraw - How to cut out pictures quickly in coreldraw
WPS Office 2023
WPS Office
Minecraft PCL2 Launcher
WeGame
Tencent Video
Steam
CS1.6 pure version
Eggman Party
Office 365
What to do if there is no sound after reinstalling the computer system - Driver Wizard Tutorial
How to switch accounts in WPS Office 2019-How to switch accounts in WPS Office 2019
How to clear the cache of Google Chrome - How to clear the cache of Google Chrome
How to practice typing with Kingsoft Typing Guide - How to practice typing with Kingsoft Typing Guide
How to upgrade the bootcamp driver? How to upgrade the bootcamp driver