Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ncdirect: open an fd for the controlling terminal
Use ctermid(3) to identify the controlling terminal device. When one exists, open(2) it up, and retain this file descriptor across the life of the ncdirect context. Allow a failure, since not everything requires such an fd. This will be used for tty- specific activity such as ioctl()s and escape sequences involving terminal replies (such as get absolute cursor position). #752
- Loading branch information
1 parent
cda4253
commit 93ff1d7
Showing
3 changed files
with
77 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters