When Linux uses the vi editor, vi is stuck, and this happens frequently. What is the cause of vi card death? The following small series will introduce the solution to the vi card death.
turned out to another terminal after strace, found stuck in the connect function
Process 12251 attached & ndash; interrupt to quit
connect (4, {sa_family =AF_FILE, path=“/dev/gpmctl”..}, 13
Blocking occurs when connecting /dev/gpmctl.
/dev/gpmctl is a mouse-related driver. Provide 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 This item can be used normally when the terminal type is xterm There will be problems when the terminal is linux (gpm can be used).
Solution:
1) Comment out the settings
2) Change this setting: < Br>
if $TERM ! =”linux”
set mouse=a
endif
The above is a solution to the often smashing of Linux vi. Is it also in the process of using vi? What happened to the card? Is it stuck in the connect function? Try the method in this article to solve it.
Many people do not know the specific usage of the tar command in Linux. In fact, th
When doing Linux system operation, sometimes the compressed file is too large, it is inconvenient to
Recently, some users have reported that they have problems using gulp under Fedora and Ubuntu operat
Some computers with dual hard drives will prompt boot/efi when there is no space allocated when inst
Linux system expect command operation example
Linux how to use the umount command to force the file system to be unmounted
Ubuntu PHP encoding error does not prompt how to solve?
How to install and set up VNC on CentOS
Linux uses the sed command to add a string method
Linux network card binding setting method
How to solve the corruption or loss of the grub.conf file on Linux system
How to solve the Linux system Tail command prompt No space left on device problem
Linux refuses foreign IP access steps
Ubuntu disk space is insufficient to clean up the boot partition
Startup tutorial for multiple Oracle instances under Linux platform
Win10 RTM 10240 64-bit Simplified Chinese Home OEM Edition ISO Image Download Address
Win10 system start menu can not work how to solve?
Detailed description of Windows login type
Simple way to get your Windows 7 running faster
Baiyun end one-key reloading system win10 graphic tutorial
Can be tired of new and old: detailed Microsoft Win8/Win7 downgrade rights
Several solutions about Win 8 app store not being able to connect to the network