grc icon indicating copy to clipboard operation
grc copied to clipboard

issue with buffering

Open 400thecat opened this issue 3 years ago • 1 comments

when I run this command locally:

ssh myserver.com "tail -F /var/log/syslog | grcat conf.log"

it waits, presumably because buffering. It will work when I make the buffer overflow:

ssh myserver.com "tail -n9999 -F /var/log/syslog | grcat conf.log"

or when I use cat, instead of grcat:

ssh myserver.com "tail -n9999 -F /var/log/syslog | cat"

how can I st buffering in grcat to line-buffered ?

400thecat avatar Aug 01 '21 13:08 400thecat

I'm also having this issue, is there any way to change the buffering mode?

cpriest avatar Mar 26 '22 21:03 cpriest