PTYWRAP(1)

πŸ“¦ version 1.19, in debian bookworm, ubuntu jammy

πŸ’– 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 πŸ‘€

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