Inserting overwrites existing text in C shell on FreeBSD #7172

Open
opened 2026-01-31 00:57:02 +00:00 by claunia · 0 comments
Owner

Originally created by @Lombra on GitHub (Mar 27, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.720]

Steps to reproduce

  • SSH into a FreeBSD machine that uses C shell.
  • Start typing a command in the prompt.
  • Move the cursor back to any point before the end of the pending prompt command.
  • Start typing.

Expected behavior

Text is inserted at the cursor position.

Actual behavior

Text overwrites existing text as it is written. It only appears overwritten, however, as pressing enter reveals that the command is executed as though the text was inserted correctly without overwriting. Furthermore, moving the cursor back to the end of the text reveals the "real" text as the cursor moves over it.

Both the console and WSL exhibits the same behavior. PuTTY does not.

The issue does not occur when using Bash instead of C shell on the target machine.

Here are some other people having the same issue on FreeBSD machines.
https://github.com/microsoft/WSL/issues/1756#issuecomment-335611423

Originally created by @Lombra on GitHub (Mar 27, 2020). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18363.720] ``` # Steps to reproduce - SSH into a FreeBSD machine that uses C shell. - Start typing a command in the prompt. - Move the cursor back to any point before the end of the pending prompt command. - Start typing. # Expected behavior Text is inserted at the cursor position. # Actual behavior Text overwrites existing text as it is written. It only appears overwritten, however, as pressing enter reveals that the command is executed as though the text was inserted correctly without overwriting. Furthermore, moving the cursor back to the end of the text reveals the "real" text as the cursor moves over it. Both the console and WSL exhibits the same behavior. PuTTY does not. The issue does not occur when using Bash instead of C shell on the target machine. Here are some other people having the same issue on FreeBSD machines. https://github.com/microsoft/WSL/issues/1756#issuecomment-335611423
claunia added the Area-VTResolution-Duplicate labels 2026-01-31 00:57:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7172