https://github.com/util-linux/util-linux/blob/master/term-utils/script.1.adoc Maybe I'll work on it in my free time