https://github.com/stemjail/tty-rs
Pseudoterminal Rust library
https://github.com/stemjail/tty-rs
proxy terminal
Last synced: 6 months ago
JSON representation
Pseudoterminal Rust library
- Host: GitHub
- URL: https://github.com/stemjail/tty-rs
- Owner: stemjail
- License: gpl-3.0
- Created: 2015-06-02T11:49:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-01-23T13:45:07.000Z (over 4 years ago)
- Last Synced: 2025-09-27T20:44:35.595Z (9 months ago)
- Topics: proxy, terminal
- Language: Rust
- Homepage: https://stemjail.github.io/rustdoc/tty/
- Size: 66.4 KB
- Stars: 31
- Watchers: 3
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING.LESSER.txt
Awesome Lists containing this project
README
# tty-rs
*tty* is a thread-safe library to create and use a new pseudoterminal (PTY):
* `TtyServer`: create a PTY dedicated to a new command
* `TtyClient`: forward I/O from an existing TTY (user terminal)
The I/O forward uses `splice(2)`, which is Linux specific, enabling zero-copy transfers.
Build with Rust >= 1.15.0 .
This library is a work in progress.
The API may change.