mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17: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
|
@ -9,6 +9,14 @@ mknod mnt/dev/tty1 c 4 1
|
|||
mknod mnt/dev/tty2 c 4 2
|
||||
mknod mnt/dev/tty3 c 4 3
|
||||
mknod mnt/dev/psaux c 10 1
|
||||
mknod mnt/dev/ptm0 c 10 0
|
||||
mknod mnt/dev/ptm1 c 10 1
|
||||
mknod mnt/dev/ptm2 c 10 2
|
||||
mknod mnt/dev/ptm3 c 10 3
|
||||
mknod mnt/dev/pts0 c 11 0
|
||||
mknod mnt/dev/pts1 c 11 1
|
||||
mknod mnt/dev/pts2 c 11 2
|
||||
mknod mnt/dev/pts3 c 11 3
|
||||
mknod mnt/dev/gui_events c 66 1
|
||||
cp -R ../Base/* mnt/
|
||||
cp -v ../Userland/sh mnt/bin/sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue