Skip to content

ssh newline problem #8278

Closed
Closed

Description

@CatCatCatDog

Windows terminal 1.4.3141.0
Windows 10 64bit 2004 (OS Build 19041.630)

What am i wrong? newline not work, If I open file and out from file.
only bug occur, on rmote Linux. not WSL

newline_problem

Activity

  1. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Nov 15, 2020
  2. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Nov 15, 2020
  3. jdebp commented on Nov 15, 2020

    @jdebp

    You should show the result of running the stty -a command on the remote system at this point. That's simple enough that you should be able to type it in without it being echoed back to you.

    If it shows that the line discipline has local echo turned off with -echo, as it almost certainly will, then this is not a problem with Windows Terminal in any way and Windows Terminal is working as designed. This local echo mechanism is implemented in the line discipline in the kernel of the operating system on the remote host, not in Windows Terminal on your local machine.

    People have been getting their terminals into this state by turning local echo off in their line disciplines, on Unix operating systems, since before Windows NT even existed. This and the "staircase effect" are two of the situations that are well-known and highly recognizable to long-time Unix and Linux-based operating system terminal users. You need to look to what you are doing on the remote host to its terminal line discipline, which isn't within the purview of a Windows Terminal bug report.

  4. DHowett commented on Nov 16, 2020

    @DHowett
    Member

    Thanks for the report! This is an upstream issue in Win32-OpenSSH (/dup PowerShell/Win32-OpenSSH#1253), fixed in PowerShell/openssh-portable#426

  5. ghost closed this as completedon Nov 16, 2020
  6. ghost removed
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Nov 16, 2020
  7. ghost added
    Resolution-ExternalFor issues that are outside this codebase
    on Nov 16, 2020
  8. ghost removed
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Nov 16, 2020
  9. DHowett commented on Nov 16, 2020

    @DHowett
    Member

    In short, exiting an alternate buffer or doing anything that might change the screen size (up to and including "launching a new SSH session") may cause output to be duplicated.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-Tag-FixDoesn't match tag requirementsResolution-ExternalFor issues that are outside this codebase

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions