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
stdinand 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 πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- debian bookworm: ircii 20210328-2+b1 Β· BSD-3-Clause
- debian trixie: ircii 20240918-1 Β· BSD-3-Clause
- ubuntu jammy: ircii 20210328-2build1 Β· BSD-3-Clause
- ubuntu noble: ircii 20210328-2build3 Β· BSD-3-Clause
- ubuntu questing: ircii 20240918-1
- ubuntu resolute: ircii 20240918-1.1 Β· BSD-3-Clause
- ubuntu stonking: ircii 20240918-1.1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms