Skip to content

Output text margin issue with SSH connections #1580

@chunky

Description

@chunky

Describe the bug

For SSH connections, sometimes the text is squished way over to the left hand side for a while after the initial connection, and then fixes itself to full width at some random point later.

Steps to reproduce

  1. Use SSH type in windows to connect to remote linux server
  2. Run some code. In this case, we're using a regular "SAS" file [ie, not a notebook], selecting some code in it, and clicking run.
  3. See "output" window contains scrunched text

SAS code (if applicable)

N/A

Expected behavior

Text comes across at full width for the entire duration of the session.

Screenshots

At the top of the connection:
Image

Where the changeover happens:
Image

Client OS

Windows 11

Extension version

1.15.0

SAS version

SAS Linux 9.4 over SSH

Additional context

  • I'm intuiting that this is simple a terminal width; that the initial SSH connection has a very narrow tty, that fixes itself after a short while. Maybe if there's a way to force a wide terminal from the initial ssh connection?
  • This seems to mostly happen from Windows, I've not seen it on my linux client
  • User has csh as their shell
  • The server is running RHEL 8.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions