Skip to content
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

Netcat usage example for alternative versions #11

Closed
johnadamson opened this issue May 25, 2017 · 1 comment
Closed

Netcat usage example for alternative versions #11

johnadamson opened this issue May 25, 2017 · 1 comment

Comments

@johnadamson
Copy link

The version of netcat installed by Ubuntu 17.04's package archive (1.10-41) exhibits slightly different behavior than the version typically installed by Homebrew on macOS. nc localhost 8377 ends up causing an annoying block when sending bytes into Clipper. As a long time macOS user, I instantly noticed the difference.

Digging into the godoc for os.Copy reads

Copy copies from src to dst until either EOF is reached on src or an error occurs.

A slightly different usage of nc -N localhost 8377 exhibits the behavior I am used to. It would be helpful to have a mention in the documentation for others who may not be getting a very good user experience.

I'm a long-time fan of Clipper. Thanks for making such an awesome tool!

@wincent
Copy link
Owner

wincent commented May 25, 2017

Thanks for reporting this and figuring out the workaround. Feel free to submit a PR if you'd like, or I'll get to this at some point when I have cycles for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants