pty(2m)pty - Ipipe buffer has a real PTY
pty Mode
y - mode line letter.
This mode indicates whether the incremental pipe (started by ipipe-shell-command(2)) running in the current buffer is connected to the child process through a real pseudo-terminal (a Unix PTY, or a Windows ConPTY), as opposed to a plain anonymous pipe. This mode is automatically set and can not be changed by the user. pty modes main use is in macros.
When pty is set, the child process performs its own line editing, echo and prompt handling, so macros should simply forward keystrokes and display whatever is echoed back rather than reimplementing local echo/history themselves.
When pty is clear, the ipipe fell back to a plain pipe - either because a PTY/ConPTY could not be allocated on the host platform, or because the pipe was explicitly requested without one. In this case the child process is not attached to any terminal and performs no echo of its own, so macros may still need to fall back to the older client-side prompt/echo handling.
Ref: pty(2m) File: m2mod033.2 Date: 2026/07/11
(c) Copyright JASSPA 2026