@daugasauron/dolly-host-pty 0.0.0-stage → 0.1.4-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/abi.mjs +10 -0
- package/module.json +13 -0
- package/package.json +12 -4
- package/pty.mjs +3 -0
package/README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @daugasauron/dolly-host-pty
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Dolly's `pty@0` host module: pseudo-terminals: a terminal one program gives another, as tmux does. Give the URL of its
|
|
4
|
+
`module.json` to `boot()`'s `modules`; @daugasauron/dolly's README says how.
|
package/abi.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Generated from host/pty/dolly-pty-supervisor-0.wat, host/pty/dolly-pty-0.wat, host/pty/pty.h, include/dolly/process.h.
|
|
2
|
+
export const DOLLY_PTY_OPEN = 176;
|
|
3
|
+
export const DOLLY_PTY_RESIZE = 177;
|
|
4
|
+
export const DOLLY_PTY_CLOEXEC = 1;
|
|
5
|
+
export const DOLLY_PTY_NONBLOCK = 2;
|
|
6
|
+
export const DOLLY_PTY_LIMIT = 32;
|
|
7
|
+
export const DOLLY_PTY_INPUT_BYTES = 4096;
|
|
8
|
+
export const DOLLY_PTY_OUTPUT_BYTES = 65536;
|
|
9
|
+
export const DOLLY_ERRNO = Object.freeze({ E2BIG: 1, EACCES: 2, EADDRINUSE: 3, EADDRNOTAVAIL: 4, EAFNOSUPPORT: 5, EAGAIN: 6, EALREADY: 7, EBADF: 8, EBADMSG: 9, EBUSY: 10, ECANCELED: 11, ECHILD: 12, ECONNABORTED: 13, ECONNREFUSED: 14, ECONNRESET: 15, EDEADLK: 16, EDESTADDRREQ: 17, EDOM: 18, EDQUOT: 19, EEXIST: 20, EFAULT: 21, EFBIG: 22, EHOSTUNREACH: 23, EIDRM: 24, EILSEQ: 25, EINPROGRESS: 26, EINTR: 27, EINVAL: 28, EIO: 29, EISCONN: 30, EISDIR: 31, ELOOP: 32, EMFILE: 33, EMLINK: 34, EMSGSIZE: 35, EMULTIHOP: 36, ENAMETOOLONG: 37, ENETDOWN: 38, ENETRESET: 39, ENETUNREACH: 40, ENFILE: 41, ENOBUFS: 42, ENODEV: 43, ENOENT: 44, ENOEXEC: 45, ENOLCK: 46, ENOLINK: 47, ENOMEM: 48, ENOMSG: 49, ENOPROTOOPT: 50, ENOSPC: 51, ENOSYS: 52, ENOTCONN: 53, ENOTDIR: 54, ENOTEMPTY: 55, ENOTRECOVERABLE: 56, ENOTSOCK: 57, ENOTTY: 59, ENXIO: 60, EOVERFLOW: 61, EOWNERDEAD: 62, EPERM: 63, EPIPE: 64, EPROTO: 65, EPROTONOSUPPORT: 66, EPROTOTYPE: 67, ERANGE: 68, EROFS: 69, ESPIPE: 70, ESRCH: 71, ESTALE: 72, ETIMEDOUT: 73, ETXTBSY: 74, EXDEV: 75, ENODATA: 116, ENOTSUP: 138 });
|
|
10
|
+
export const DOLLY_PTY_ABI_DIGEST = "cc10fdc19a8267c127af9469f5543e643207424b8a61d307c33602058555ed4a";
|
package/module.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pty",
|
|
3
|
+
"version": 0,
|
|
4
|
+
"gives": "pseudo-terminals: a terminal one program gives another, as tmux does",
|
|
5
|
+
"dependencies": ["runtime@0"],
|
|
6
|
+
"imports": [],
|
|
7
|
+
"host": "pty.mjs",
|
|
8
|
+
"contracts": ["dolly-pty-supervisor-0.wat"],
|
|
9
|
+
"process": ["dolly-pty-0.wat"],
|
|
10
|
+
"headers": ["pty.h", "pty-abi.h"],
|
|
11
|
+
"kernel": ["kernel.c"],
|
|
12
|
+
"client": ["client.c"]
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
+
"version": "0.1.4-rc.1",
|
|
3
|
+
"type": "module",
|
|
2
4
|
"name": "@daugasauron/dolly-host-pty",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
}
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@daugasauron/dolly": "0.1.4-rc.1"
|
|
8
|
+
},
|
|
9
|
+
"description": "Dolly's pty@0 host module: pseudo-terminals: a terminal one program gives another, as tmux does.",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/daugasauron/dolly.git"
|
|
13
|
+
}
|
|
14
|
+
}
|
package/pty.mjs
ADDED