1. 24
    1. 9

      worth including a link to the follow up, in which mjd finds the existing tools (like /u/edwintorok mentions) and approaches in other OS’s.

    2. 7

      An alternative to the pseudo-tty-pipe program would be stdbuf -oL, it uses LD_PRELOAD instead of creating a new pty and then calls setvbuf to change the buffering mode of standard streams. Not a very elegant way, but it works.