Skip to content

A TTY dispatcher that creates multiple PTYs all connected to one single TTY.

License

Notifications You must be signed in to change notification settings

Salamandar/ttytee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTYTee

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.

Building

This project uses Meson.

meson _build --buildtype release
cd _build
ninja
DESTDIR=... ninja install

Usage

ttytee -t the_existing_tty new_pty1 new_pty2 etc

Todo

  • 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 ?

About

A TTY dispatcher that creates multiple PTYs all connected to one single TTY.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published