micro-editor / micro-editor/micro
Copy & Paste Does not work over SSH.
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
I'm having a similar issue as issue #958 ("copy does not work in SSH session"). https://github.com/zyedidia/micro/issues/95
I'm running micro (Version: 2.0.11, Commit hash: 225927b9, Compiled on August 01, 2022) on Dietpi Buster v8.16.2 (modified version of Raspian/Raspberry Pi OS) on a headless setup and SSHing into it.
I have disabled the mouse option. Micro can successfully copy and paste inside the SSH session for the Raspberry Pi I'm connected to.
If I try to copy something outside of the SSH session (or between multiple sessions), the paste buffer is empty.
Here is a complete test text file I created in order to demonstrate:
1 A
2 B
3 C
4 D
5 E
6 F
7 G
8 H
9 I
10 J
11 K
12 L
13 M
14 N
15 O
16 P
17 Q
18 R
19 S
20 T
21 U
22 V
23 W
24 X
25 Y
26 Z
When open with micro, I select all of the text using CTRL + Shift + Down Arrow, then CTRL + C.
I receive the confirmation "Copied selection".
I would then expect to be able to click away from my SSH client and paste this elsewhere.
However, if I try to paste it outside of the session, nothing happens; in the case of my Windows 10 computer that I'm testing this on, the paste buffer is empty.
Contributor guide
No contributing guide indexed for this repository
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
Start by reproducing the SSH clipboard behavior described for micro 2.0.11, including copying inside one session and pasting outside it or between sessions. Compare the related reports in issues #958 and #95, then trace the terminal copy path. Done means selections copied through micro are available in the external or other-session paste buffer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100