TDRECORD(1)
π TDRECORD(1) β the termdebug era, bestie π
okay so this is tdrecord, from the termdebug fam. like, the whole manual is TDRECORD(1) and it lives in section 1 (that's commands, iykyk). pull up a chair, we're recording a whole terminal session and it's gonna be iconic.
β¨ NAME β¨
tdrecord β record input and output of a terminal program. yes literally, it's a lil tape recorder but for your terminal. πΌ
π SYNOPSIS π
tdrecord [OPTIONS]... CLIENT [CLIENT OPTIONS]...
π¦ DESCRIPTION π¦
so basically tdrecord records the input and output of client. like, every keystroke, every sparkly bit of output, all of it. π
and then?? the recording can later be replayed using tdreplay(1) so you can compare behaviour of different versions of client. that's the whole point, bestie β catching when a new version starts acting different. π
and if you don't pass any options at all, no cap, tdrecord will create the recording in the file tdrecord-year-month-day@hour:minute:second. cute, timestamped, self-naming. slay. π
πΈ OPTIONS πΈ
tdrecord accepts the following options, and there are exactly six, we're not skipping a single one:
-h,--helpβ Display a short help message. lil baby manual moment πΌ-V,--versionβ Print version and copyright information. the receipts, fr fr π§Ύ-ddir,--directory=dirβ Create the recording in directorydir. β οΈ this option can not** be used together with the-o/--outputoption. pick a lane, bestie.- *
-e*vars,--environment=varsβ Save the environment variables indicated by the comma-separated listvarsto the recording. these will be set on replay. so like, remember the vibes of your env and bring them back later π -ofile,--output=fileβ Save the output infile. β οΈ this option can not** be used together with the-d/--directoryoption. again: one or the other, not both π-X,--allow-x11β Don't clear theDISPLAYenvironment variable, to allow communication with X11. by default it gets yeeted, this keeps it alive for X11 hangs π»β¨
okay and here's a lil pro-tip about dashes, because filenames starting with a dash are little gremlins π:
To stop tdrecord from interpreting file names that start with a dash as options, one can specify a double dash (--) after which tdrecord will interpret any following arguments as the client and its options.
so like, -- is the "okay we're DONE with options now" line. everything after it belongs to the client. periodt. π
π BUGS π
If you think you have found a bug, please check that you are using the latest version of termdebug <http://os.ghalkes.nl/termdebug>. like, pls check you're not on some ancient build first bestie π
When reporting bugs, please include a minimal example that demonstrates the problem. minimal. tiny. a lil snack-sized repro. not your whole 400-line script. π
π«Ά AUTHOR π«Ά
G.P. Halkes <termdebug@ghalkes.nl> β the main character who built all this π
π COPYRIGHT π
Copyright Β© 2010,2012-2013 G.P. Halkes
termdebug is licensed under the GNU General Public License version 3.
For more details on the license, see the file COPYING in the documentation directory. On Un*x systems this is usually /usr/share/doc/termdebug.
π SEE ALSO π
the whole squad, go read these too:
and that's the whole page, bestie!! πβ¨ππ¦πΈπ π«Ά this was termdebug version 2.2, dated 2013/03/03 β yeah it's vintage, but it ATE and it's still serving. go record something iconic. bye!! πππ₯
π¦ where this page comes from
- debian bookworm: termdebug 2.2+dfsg-1+b4 Β· GPL-3.0-only
- debian trixie: termdebug 2.2+dfsg-2 Β· GPL-3.0-only
- ubuntu jammy: termdebug 2.2+dfsg-1build4 Β· GPL-3.0-only
- ubuntu noble: termdebug 2.2+dfsg-1build7 Β· GPL-3.0-only
- ubuntu questing: termdebug 2.2+dfsg-2
- ubuntu resolute: termdebug 2.2+dfsg-2build1 Β· GPL-3.0-only
- ubuntu stonking: termdebug 2.2+dfsg-2build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms