PowerShell / PowerShell/Win32-OpenSSH
Prompt is printed twice when exiting nano
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
"OpenSSH for Windows" version
7.7.2.2
Server OperatingSystem
Raspbian GNU/Linux 9 (stretch)
Client OperatingSystem
Windows 10 Pro (version 1809)
What is failing
To reproduce:
. run ssh pi@foo
. enter "nano"
. press Ctrl+X to exit nano
At this point, the prompt is printed twice.
I have also tried with $env:TERM = 'xterm', but this didn't help.
Expected output
pi@foo:~ $ nano
pi@foo:~ $
Actual output
pi@foo:~ $ nano
pi@foo:~ $ pi@foo:~ $
Not sure if this helpful, but when connecting with -vvv, the actual output is as follows:
pi@sardien:~ $ nano
pi@sardien:~ $ debug2: client_check_window_change: changed
debug2: channel 0: request window-change confirm 0
debug3: send packet: type 98
pi@sardien:~ $ debug2: client_check_window_change: changed
debug2: channel 0: request window-change confirm 0
debug3: send packet: type 98
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the session with ssh pi@foo, enter nano, and exit with Ctrl+X on the reported Windows and Raspbian versions. Start by tracing the terminal window-change behavior shown by the -vvv output. Done means the remote prompt is printed once after nano exits, with no duplicate prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100