GNU nano - Bugs: bug #62276, piping to 'xsel' hangs until ^C is...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62276: piping to 'xsel' hangs until ^C is typed
Submitter: | Shi Yanling <sylphenix> | ||
Submitted: | Sat 09 Apr 2022 05:15:02 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Fri 29 Apr 2022 07:35:58 AM UTC, comment #5: |
Benno Schulenberg <bens> |
Tue 12 Apr 2022 09:38:50 AM UTC, comment #4: Thanks for confirming. And thanks for reporting the issue.
|
Benno Schulenberg <bens> |
Mon 11 Apr 2022 02:29:30 PM UTC, comment #3: Both "xsel -ib <Enter> M-U" and "xsel -ib && xsel -ob" work on my machine. It is perfect now with the patch. Thanks a lot. |
Shi Yanling <sylphenix> |
Mon 11 Apr 2022 07:46:36 AM UTC, comment #2: I've got it working locally with 'xsel'. By adding an extra call of close(), xsel no longer requires ^C to terminate (but xclip still hangs).
Now the system clipboard contains the selected text. Can you confirm that this works for you too?
where ^T and ^M and ^[ are literal control codes (entered by preceding them with M-V).
|
Benno Schulenberg <bens> |
Sun 10 Apr 2022 11:42:56 AM UTC, comment #1: Have you tried with 'xclip -f'? It still requires typing ^C (why these clipboard handelers hang when their input was closed, I don't understand), but no Undo is needed.
|
Benno Schulenberg <bens> |
Sat 09 Apr 2022 05:15:02 AM UTC, original submission:
hello,
|
Shi Yanling <sylphenix> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2022-04-29 | bens | Open/Closed | Open | Closed | |
2022-04-12 | bens | Status | In Progress | Fixed | |
2022-04-11 | bens | Attached File | - | Added 0001-filtering-close-all-output-descriptors-so-that-xsel-.patch, #53067 | |
Severity | 1 - Wish | 3 - Normal | |||
Status | None | In Progress | |||
Assigned to | None | bens | |||
Summary | [Wish] an easy way to send text to clipboard | piping to 'xsel' hangs until ^C is typed | |||
2022-04-10 | bens | Severity | 3 - Normal | 1 - Wish |
Powered by Savane 3.13-aa77.
Corresponding source code
Released in nano-6.3. Thanks again for reporting.