-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why maximum 4000 characters output with xsel -b ? #13
Comments
I posted a fix for this: #16. I'm not sure this project has an active maintainer though. |
7 tasks
cstrahan
added a commit
to cstrahan/nixpkgs
that referenced
this issue
Sep 21, 2016
The last xsel release was in 2008. Since then, a number of bugs have been fixed. For example, pasting a large chunk of text (>4000 chars) into chrome would cause the current tab to hang indefinitely. A couple examples in the wild: kfish/xsel#14 kfish/xsel#13 kfish/xsel#16 https://bugs.chromium.org/p/chromium/issues/detail?id=515401 electron/electron#3116 neovim/neovim#4719
acowley
pushed a commit
to acowley/nixpkgs
that referenced
this issue
Sep 29, 2016
The last xsel release was in 2008. Since then, a number of bugs have been fixed. For example, pasting a large chunk of text (>4000 chars) into chrome would cause the current tab to hang indefinitely. A couple examples in the wild: kfish/xsel#14 kfish/xsel#13 kfish/xsel#16 https://bugs.chromium.org/p/chromium/issues/detail?id=515401 electron/electron#3116 neovim/neovim#4719
This was fixed by #16 |
This was referenced Sep 10, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I compile from source at https://github.com/kfish/xsel/tree/9674445d8ea9f60f4d1a154be6fdb12e7af8f0c6 and do:
The output contains only the first 4k characters.
On the other hand, if I do ctrl + v on GUI apps like Firefox, I get all the characters.
Why this limitation? I saw the 4000 constant in the source:
but wasn't patient enough to deduce the rest :-)
Why not increase that limit a bit more?
Ubuntu 14.04.
The text was updated successfully, but these errors were encountered: