This utility connects an already existing TTY to multiple new PTYs.
It's useful to have multiple softwares connected to a single TTY, or to just dump everything coming from the TTY.
This project uses Meson.
meson _build --buildtype release
cd _build
ninja
DESTDIR=... ninja install
ttytee -t the_existing_tty new_pty1 new_pty2 etc
- Implement the goddamn base feature!
- PTYs that receive both input and output ? (for targets that don't do remote echo)
- Handle SIGUSR1 for on-demand pty creation (without software restart)
- forward ioctls ? is it even possible ?