mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
Add basic PTY support.
For now, there are four hard-coded PTYs: /dev/pt{m,s}[0123] Use this in the Terminal to open a pty pair and spawn a shell.
This commit is contained in:
parent
ecb4ab0943
commit
2f74c2f430
21 changed files with 287 additions and 10 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
unsigned minor() const { return m_minor; }
|
||||
|
||||
virtual bool is_tty() const { return false; }
|
||||
virtual bool is_master_pty() const { return false; }
|
||||
|
||||
virtual int ioctl(Process&, unsigned request, unsigned arg);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue