Bug 484840 - Vim starts in replace mode
Summary: Vim starts in replace mode
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: emulation (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 20:55 UTC by mpeter.68m0y
Modified: 2024-03-31 20:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mpeter.68m0y 2024-03-31 20:55:14 UTC
Konsole version: 24.04.70
Source: gitlab CI release with name 'konsole-master-2985-windows-cl-msvc2022-x86_64'

SUMMARY
When opening Vim (even with the `--clean` option) in a WSL shell, it will start up in replace mode, as it shows as usual in the bottom left corner.

The issue does not happen when using the Windows Terminal terminal emulator.

STEPS TO REPRODUCE
1. Start a WSL shell
2. Run the `vim`  command (with a file or without, does not matter)

OBSERVED RESULT
Vim opens in replace mode

EXPECTED RESULT
Vim should open in command mode

SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
In a local WSL shell it is always happening.
If I use the local WSL shell to connect to a linux system through ssh, it happens only sometimes.

It seems in the past Windows Terminal also had this issue. The information below might be useful:
- https://vi.stackexchange.com/questions/27391/why-it-enters-replace-mode-automatically-even-with-clean-flag-in-wsl
- https://github.com/microsoft/terminal/issues/1637
- https://github.com/vim/vim/issues/6951
- https://github.com/vim/vim/issues/6365
- https://superuser.com/questions/1284561/why-is-vim-starting-in-replace-mode