Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor not moving in Vim/MCedit under default WSL::WSL task #2311

Open
ironiq opened this issue Apr 29, 2021 · 4 comments
Open

Cursor not moving in Vim/MCedit under default WSL::WSL task #2311

ironiq opened this issue Apr 29, 2021 · 4 comments

Comments

@ironiq
Copy link

ironiq commented Apr 29, 2021

Versions

ConEmu build: 210422 x64
OS version: Microsoft Windows [Version 10.0.18363.1500] x64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): WSL1

The Windows version is not modifiable due this is under external control.

Problem description

If i edit a file with Vim/mcedit the cursor is not moving at all. When using mcedit, nothing works, just the function keys. I tried with totally clean ConEmu settings. I cannot reproduce it if i run WSL1 (the same command as my WSL task) via Win+R.
Actually i cannot produce screenshot because the problem is not that type.

Steps to reproduce

  1. Download the portable version of latest preview and unzip
  2. Run ConEmu with WSL1
  3. edit a file: vim /etc/hosts
  4. try to move the cursor

Actual results

The cursor is not moving at all.

Expected results

The cursor is moving.

Additional files

Settings

@Maximus5
Copy link
Owner

The attached settings file does not contain any tasks. The defaults can vary.

So, please show what the full command is used to start WSL1.

On the screenshot it's interesting for me the state of ConEmu - status bar, terminal modes, etc.

nothing works, just the function keys

Can you type something there?

https://conemu.github.io/en/wsl.html

@ironiq
Copy link
Author

ironiq commented Apr 29, 2021

Here is the screenshot with mcedit in it. The command was: "%windir%\system32\wsl.exe ~".

conemu-210422-cursor-not-moving,png

@ironiq
Copy link
Author

ironiq commented Apr 29, 2021

Forgot to mention, that the linux is an Ubuntu 18.04.5 inside the WSL.

@ironiq
Copy link
Author

ironiq commented Apr 29, 2021

It seems that something is mixed on my machine: if i run "%windir%\system32\wsl.exe -l -v", it says version 1, but after reading issue #1930, putting the wslbridge2 and cygwin1.dll into the given folder and configuring the task like this: "set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe %ConEmuBaseDirShort%\wsl\wslbridge2.exe -cur_console:pm:/mnt" the cursor is working. I tried conemu-cyg-64.exe with "--wsl", but i got this error. My only question is: how can i jump to the unix homedir (like wsl.exe ~).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants