vmware / vmware/photon

Photon 3RC "Clear" and WSL Ubuntu over SSH

Open
#842 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.2k
Forks
692
PR merge metrics
No merged PRs in 30d

Description

Running WSL Ubuntu 16.04.2 LTS and noticed that when ssh to photon vm the clear command is not working as expected. Ctrl + lworks. It clears the screen and brings me to a new prompt line. The clear command clears the screen and does not bring me to a new line. The screen is blank but if you scroll up the command line is there.
When you start typing it scroll back to blank line. (scrollback is not cleared by either command, I didn't expect it to)

The weird thing is that things work as expected with Photon2. Things work as expected with putty and Photon 3RC. Things work as expected sshing to any other linux terminal.

Its a combination of WSL ubuntu 16.04.2 and Photon 3RC. I am in the process of updating WSL ubuntu to 18.x LTS to see if this goes away.

Anyone else use WSL and ran into this. No clue why ctrl+l works.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the clear versus Ctrl+l behavior over SSH from WSL Ubuntu 16.04.2 LTS to Photon 3RC, then compare it with Photon 2 and PuTTY as described. No source file or test is identified; done means determining the responsible terminal behavior and confirming a fix or documenting the environment-specific cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
cli, networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.