kingToolbox / WindTerm

A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
https://kingtoolbox.github.io
23.94k stars 1.83k forks source link

WSL Ubuntu2004,Vim Cannot enter uppercase letters #1346

Open Hankyin opened 2 years ago

Hankyin commented 2 years ago

I use windterm connect to my computer‘s WSL Ubuntu2004. But when I try to use vim to edit a file, I was surprised to find that I could not input capital letters ! I only can not input "A " to ""Z" in vim , but "a" to "z" and punctuation is ok. in the bash, everything is fine in the nano text editer, everything is fine

later I use windterm ssh to a true linux machine and open vim , everything is fine

How to handle this?😂

funkpopo commented 2 years ago

Ubuntu2004实在太老了,我也未曾尝试验证这个问题,也许是字符集冲突导致的。您可以尝试下更改WSL会话设置内的字符集选项验证一下。

Hankyin commented 2 years ago

测试修改字符集似乎没有用处。 似乎这个跟电脑有关系,我重新下载了wsl的ubuntu2204,一样的问题。 但是我更换了另一台笔记本,一切正常,没有这么奇怪的问题

Testing to modify character sets does not seem useful. It seems that this has something to do with computers. I downloaded the ubuntu2204 wsl again. It has the same problem. But I replaced another laptop, everything was normal, there was no such strange problem

Hankyin commented 2 years ago

I use the neovim, everything is fine. just the vim is strange

wulfgar93 commented 1 year ago

I've faced the same problem on Ubuntu 22.04 wsl