Lines Matching refs:tty
7 <!-- source_link=lib/tty.js -->
9 The `tty` module provides the `tty.ReadStream` and `tty.WriteStream` classes.
14 const tty = require('tty');
19 `tty.ReadStream` and both [`process.stdout`][] and [`process.stderr`][] will, by
20 default, be instances of `tty.WriteStream`. The preferred method of determining
32 manually create instances of the `tty.ReadStream` and `tty.WriteStream`
35 ## Class: `tty.ReadStream`
43 [`process.stdin`][] will be the only `tty.ReadStream` instance in a Node.js
59 A `boolean` that is always `true` for `tty.ReadStream` instances.
66 * `mode` {boolean} If `true`, configures the `tty.ReadStream` to operate as a
67 raw device. If `false`, configures the `tty.ReadStream` to operate in its
72 Allows configuration of `tty.ReadStream` so that it operates as a raw device.
79 ## Class: `tty.WriteStream`
88 `tty.WriteStream` instances created for a Node.js process and there
284 ## `tty.isatty(fd)`
292 The `tty.isatty()` method returns `true` if the given `fd` is associated with