TERMREC(1)
π TERMREC(1) β the tty recorder bestie π
okay so picture this: you're in the group chat of your terminal, and you want receipts. that's termrec, and she is serving β she's a tty recorder. β¨
π NAME π
termrec β a tty recorder. that's it, that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
termrec [-f format] [-e command] [outfile]
π¦ DESCRIPTION π¦
okay so termrec is a tty recorder, periodt. she can record the output of any text mode program, and then you get to replay it later with termplay, ttyplay, ipbt, ttyplayer, nh-recorder, asciinema or similar. like, your terminal session becomes content. iconic behavior fr fr π
if your outfile ends in .gz, .xz, .bz2 or .zst, the data gets appropriately compressed. she's thoughtful like that π«Ά
and if you don't give her an outfile at all? no stress, she'll just make up a name for you, something like:
2008-11-27.13-02-42.ttyrec.bz2
you can also write directly to some remote URLs, such as tcp://host:port β but ngl, that's usually of little use. lowkey pointless but she supports it anyway π
β¨ OPTIONS β¨ (the good stuff)
π Options:
-f format,--formatβ you can specify a format other thanttyrec. the ones on the menu are:ansiβ no timing data. this is same as the output ofscript(1). giving minimalist πttyrecβ compatible withttyrecby Satoru Takabayashi. the og, the blueprint πnh-recorderβ compatible withnh-recorderby Helge Dennhardt.asciicastβ compatible withasciinemaby Marcin Kulik; format v2.asciicast-v1β likewise, format v1. yeah she keeps the old one too, she's not a gatekeeper π«Ά
-e command,--execβ runs a command instead of spawning a shell, and records its output. so instead of a whole interactive shell moment, you're like "bestie just run this one thing and film it" π¬-r,--rawβ inhibits noting info about your terminal size and UTFness. so real talk: this data is usually a good thing, but it can confuse some programs. also note that none of the formats provides a way to mark which exactly charset you use β only if it's UTF-8 or one of ancient ones. so it's giving we know it's UTF-8 or it's giving ancient, no in-between π-a,--appendβ if the output file already exists, it will be appended instead being overwritten. she adds to the lore instead of deleting the lore π-h,--helpβ shows a short explanation of parameters. the "hey bestie here's how I work" button π
π ENVIRONMENT π
SHELLβ unless-eis given, this will be the shell spawned, falling back to/bin/shif not set. on Windows,COMSPECis used instead. so yeah, windows girlies get their own variable, equality π
π SEE ALSO π
termplay(1), termtime(1), termcat(1).
π no warnings here bestie, she's chill. just remember-aappends and everything else overwrites, and-rcan confuse some programs β that's the tea.
version 0.19 Β· dated 2024-04-01 Β· this was the termrec manual page, and she ate, no crumbs left π mwah, ily, go record something iconic β¨ππ¦
π¦ where this page comes from
- ubuntu noble: termrec 0.19-2.1build2 Β· LGPL-2+noAffero
- ubuntu questing: termrec 0.19-2.1build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms