PTYWRAP(1)
π ptywrap β the lil glow-up your pipes deserve π
okay so bestie, welcome to the ptywrap(1) manual page. she's short, she's sweet, she's lowkey a genius, and she's about to gaslight your programs into thinking they're fancy. π
β¨ NAME β¨
ptywrap β fool programs into thinking they are talking to a pseudo-tty
like. that's the whole job. that's the rΓ©sumΓ©. she lies (affectionately) π
πΈ SYNOPSIS πΈ
ptywrap
that's it. that's the synopsis. no flags, no args, no drama. main character energy with zero baggage, we love to see it π¦
π DESCRIPTION π
okay so real talk: ptywrap is a simple tool to wrap other programs' input/output streams in a pseudo-tty. that's the vibe. that's what she does. π«Ά
here's the tea though β many programs determine whether or not they should buffer their input/output based on whether or not these are connected to a pseudo-tty. like they literally do a vibe check on their own stdin/stdout and go "hmm, am i on a tty or not" and then they choose their whole buffering personality accordingly. π
ptywrap can be used to fool programs into thinking that they are connected to a pseudo-tty even if they are not β e.g. even if the input/output is redirected to a file. she's out here giving your program a little fake ID and the program is fully convinced. iconic. π
not me handing a program a pseudo-tty and watching it act like it's the main character at a real terminal π
π SEE ALSO π
modglue(1)prompt(1)
See the web page at http://www.aei.mpg.de/~peekas/modglue/ for more information. go read it, iykyk π
π AUTHORS π
Kasper Peeters <kasper.peeters@aei.mpg.de> β the mastermind, the legend, the one who said "what if programs justβ¦ believed us" π
and that's the page, bestie!! this was the PTYWRAP(1) manual, straight out of Jul 12, 2008 β yeah she's a vintage queen, a classic, and honestly she still eats. πβ¨
π¦ where this page comes from
- debian bookworm: libmodglue1v5 1.17-4 Β· GPL-2.0-only
- ubuntu jammy: libmodglue1v5 1.19-0ubuntu8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms