libptytty
« Back to VersTracker
Description:
Library for OS-independent pseudo-TTY management
Type: Formula  |  Latest Version: 2.0@0  |  Tracked Since: Dec 24, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ library terminal pty system
Install: brew install libptytty
About:
libptytty is a C++ library that provides a robust and OS-independent API for managing pseudo-TTY (PTY) sessions. It handles the complexities of PTY creation, process forking, and terminal attribute management across different operating systems. This allows developers to easily integrate interactive command execution into their applications without dealing with platform-specific low-level details.
Key Features:
  • OS-independent PTY handling (Linux, BSD, macOS, Windows)
  • C++ API for easy integration
  • Manages terminal attributes and window size
  • Handles process forking and PTY cleanup
Use Cases:
  • Building terminal emulators or console applications
  • Implementing secure shell (SSH) clients or servers
  • Creating process automation tools that require interactive programs
Alternatives:
  • libutil – System-specific library, whereas libptytty is cross-platform.
  • Python pty module – Language-specific, whereas libptytty is a C++ library for native applications.
Version History
Detected Version Rev Change Commit
Dec 24, 2025 9:26am 2.0 0 VERSION_BUMP 6e408544
Oct 6, 2025 10:23pm 0 NEW 3c15ce98