ircflush(1)

πŸ’– ircflush(1) β€” General Commands Manual πŸ’–

okay bestie, gather round, because this little cutie from the General Commands Manual is about to change your whole terminal life ✨


🌸 NAME 🌸

ircflush β€” a little program that tricks another program in to line buffering its output


πŸŽ€ SYNOPSIS πŸŽ€

ircflush [program] [argumentstoprogram

(yes the brackets are wonky, no I will not be fixing them, that's literally what the manpage says, we respect the source in this house πŸ’…)


πŸ¦‹ DESCRIPTION πŸ¦‹

What's the deal here? Well, it's like this, bestie. First we find an open tty/pty pair. Then we fork three processes. Let me break it down because it's giving choreography:

  • The first one reads from stdin and sends the info to the master device.
  • The next... okay the next process reads from the master device and sends stuff to stdout.
  • The last process is the rest of the command line arguments exec'd.

By doing all this, the exec'd process is fooled into flushing each line of output as it occurs. no cap. it genuinely believes it's talking to a real terminal and it starts behaving. iconic behaviour honestly πŸ‘‘


✨ OPTIONS ✨

  • [ program ] β€” the program you want to run. drop it in, that's the whole vibe.
  • [ arguments to program] β€” everything else on the line gets handed straight to that program. yes, all of it.

πŸ‘‘ AUTHOR πŸ‘‘

Michael Sandrof


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie!! the footer says the source/version is ircflush-VERSION and honestly it didn't give us a date, so we're just gonna have to live with the mystery πŸ™ˆ slay, go flush some lines, ily πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά