Kohei Tokunaga

Results 290 comments of Kohei Tokunaga

Sorry for the slow reply. > Is there a way to explicitly specify certain files to be fetched and kept ready on disk before the container starts? You can observe...

It seems that the recent version of xterm-pty replaced them to [`emscripte-pty.js`](https://github.com/mame/xterm-pty/blob/7c0b64d4e28c42e4c425de4325c1359a4e762acc/emscripten-pty.js) so we need to port this for the WASI-on-browser setting.

> How would that look on a high level? One possible view would be to make the "PTY Slave" object of xterm-pty accessible in the worker then use it in...

This looks like a known issue in wasmtime, please see https://github.com/bytecodealliance/wasmtime/issues/3936 . This issue seems a duplicate of https://github.com/container2wasm/container2wasm/issues/291 .

Hi, sorry for slow reply. Are you running this on mac or on linux?

> Moreover, since the latest version xterm.js can serve the terminal via a canvas and I think it would be possible to intercept the requests which are in xorg which...

If you don't need to setup networking, something like the following should be enough. This uses xterm-pty for setting up console for the container. If you want networking, you need...

What browser are you using, and did you configured your http server with this? https://github.com/container2wasm/container2wasm/blob/10a8f23ef388d40cf90d83f5dca4347e0661ddbb/examples/emscripten/xterm-pty.conf