Projects / Advanced

🔌 Build a terminal 2 of 8: a logging shell wrapper with forkpty

What you end up with

The deliverable is mytty-rec, a shell wrapper that records a log. It runs vim inside, always restores the terminal on exit and on SIGTERM, and logs the same bytes as macOS script. The PTY code lives in the mytty-pty crate, which later parts reuse.

🔒

Create a free account to read this project

Sign up for a free membership to read every free project. Already have an account? Please sign in.

Other projects

← Back to all projects