fiche icon indicating copy to clipboard operation
fiche copied to clipboard

why doesn't `cat | tb` work properly?

Open aasutossh opened this issue 5 years ago • 1 comments

Just after entering first line it gives the link out. Shouldn't it wait for all to be typed and ctrl + d then only pipe to the termbin?

aasutossh avatar Apr 01 '20 13:04 aasutossh

Because default netcat behavior (maybe only on bsd-netcat) is to not close the socket on EOF, the server closes after a 5-second timeout. You can patch this out if you're okay with using nc -N on your client.

holdenrohrer avatar May 18 '21 05:05 holdenrohrer