command line text editors in Linux (nano,vim) are not working #15293

Open
opened 2026-01-31 04:34:03 +00:00 by claunia · 0 comments
Owner

Originally created by @oholimoli on GitHub (Sep 21, 2021).

Windows Terminal version (or Windows build number)

1.11.2421.0, Microsoft Windows [Version 10.0.18363.1679]

Other Software

No response

Steps to reproduce

When I connect to a linux server with SSH and I try to edit a file with a command line editor like nano or vim it is not possible to edit the text file. Is it possible to fix this?

Expected Behavior

When I use the git bash in Windows everything is ok:

[root@server~]# echo "test" > test.txt
[root@server~]# cat test.txt
hello
[root@server~]# nano test.txt

image

Actual Behavior

[root@server~]# echo "test" > test.txt
[root@server~]# cat test.txt
hello
[root@server~]# nano test.txt

image

Originally created by @oholimoli on GitHub (Sep 21, 2021). ### Windows Terminal version (or Windows build number) 1.11.2421.0, Microsoft Windows [Version 10.0.18363.1679] ### Other Software _No response_ ### Steps to reproduce When I connect to a linux server with SSH and I try to edit a file with a command line editor like nano or vim it is not possible to edit the text file. Is it possible to fix this? ### Expected Behavior When I use the git bash in Windows everything is ok: ``` [root@server~]# echo "test" > test.txt [root@server~]# cat test.txt hello [root@server~]# nano test.txt ``` ![image](https://user-images.githubusercontent.com/47213738/134128306-38a975f0-ebde-49b3-8ff4-745a73875fcf.png) ### Actual Behavior ``` [root@server~]# echo "test" > test.txt [root@server~]# cat test.txt hello [root@server~]# nano test.txt ``` ![image](https://user-images.githubusercontent.com/47213738/134128695-b7332276-9a83-40c7-908d-b6379f81c3be.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15293