Re: Help wanted: unbuffer, or stdbuf

2017-01-30 Thread db
Both should be there port contents coreutils | grep stdb # bins are prefixed with g port contents expect | grep unbuffer On 31 Jan 2017, at 05:27, Michael wrote: > So I wanted to linebuffer a program that is feeding into a pipe. > > Looking around with Google, I found two solutions: > 1, unbuf

Re: Help wanted: unbuffer, or stdbuf

2017-01-30 Thread db
On 31 Jan 2017, at 06:47, Michael wrote: > Nope, /usr/bin. Which package installs script? util-linux

Re: Help wanted: unbuffer, or stdbuf

2017-01-30 Thread Brandon Allbery
On Tue, Jan 31, 2017 at 12:47 AM, Michael wrote: > (beware if you have installed a version of script(1) via macports, its > usage may differ!) > > > Nope, /usr/bin. Which package installs script? I don't know of one off the top of my head, but there's enough packages in MacPorts that I wouldn't

Re: Help wanted: unbuffer, or stdbuf

2017-01-30 Thread Michael
On 2017-01-30, at 9:44 PM, Brandon Allbery wrote: > On Mon, Jan 30, 2017 at 11:38 PM, Brandon Allbery wrote: > Both of these programs rely on APIs that only exist in GNU glibc, not BSD > libc or OS X libSystem. > > There are sometimes hacky ways around this. > > ssh -tt localhost the_com

Re: Help wanted: unbuffer, or stdbuf

2017-01-30 Thread Brandon Allbery
On Mon, Jan 30, 2017 at 11:38 PM, Brandon Allbery wrote: > Both of these programs rely on APIs that only exist in GNU glibc, not BSD > libc or OS X libSystem. > There are sometimes hacky ways around this. ssh -tt localhost the_command_that_buffers here | ... or script -a /dev/null the

Re: Help wanted: unbuffer, or stdbuf

2017-01-30 Thread Brandon Allbery
On Mon, Jan 30, 2017 at 11:27 PM, Michael wrote: > So I wanted to linebuffer a program that is feeding into a pipe. > > Looking around with Google, I found two solutions: > 1, unbuffer, from expect, or > 2, stdbuf, from the gnu core utils. > > I've got expect 5.45. I've got core utils. I don't se

Help wanted: unbuffer, or stdbuf

2017-01-30 Thread Michael
So I wanted to linebuffer a program that is feeding into a pipe. Looking around with Google, I found two solutions: 1, unbuffer, from expect, or 2, stdbuf, from the gnu core utils. I've got expect 5.45. I've got core utils. I don't seem to have either. Help please? --- Entertaining minecraft vi