tty

Crates.iotty
lib.rstty
version0.5.0
sourcesrc
created_at2015-08-09 22:32:10.081015
updated_at2016-10-16 15:16:50.056579
descriptionCreate and use pseudoterminal
homepagehttps://stemjail.github.io
repositoryhttps://github.com/stemjail/tty-rs
max_upload_size
id2808
size59,436
Mickaël Salaün (l0kod)

documentation

https://stemjail.github.io/rustdoc/tty/

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.

You need to use a nightly Rust channel >= 1.8.0-dev to build this crate (because of unstable API use).

This library is a work in progress. The API may change.

Commit count: 85

cargo fmt