Stream: git-wasmtime

Topic: wasmtime / Issue #1380 ANSI escape sequences to display c...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2020 at 07:42):

samrat opened Issue #1380:

Thanks for opening a bug report! Please answer the questions below
if they're relevant and delete this text before submitting.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2020 at 07:42):

samrat labeled Issue #1380:

Thanks for opening a bug report! Please answer the questions below
if they're relevant and delete this text before submitting.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2020 at 07:46):

samrat edited Issue #1380:

I experienced this bug when trying to run the [QuickJS wasm] file. I have created a repo to reproduce the issue.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2020 at 08:07):

samrat commented on Issue #1380:

Looks like this is a deliberate decision and there is a WASI issue discussing this: https://github.com/WebAssembly/WASI/issues/162. I think this can be closed, given this is a known and deliberate limitation.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2020 at 14:45):

rene-fonseca commented on Issue #1380:

The common color codes should be supported for stdout. But you can try to use stderr instead of stdout to see if it works and isn't due to some other problem. stderr should not be filtering the codes at the moment.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 23 2020 at 14:04):

samrat commented on Issue #1380:

Thanks @rene-fonseca.

This could be due to some other problem as this behaviour seems to be happening when I change to output to stderr as well.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 23 2020 at 15:58):

sunfishcode commented on Issue #1380:

Allowing untrusted portable code write directly to a user's terminal is not something any serious system I'm aware of has ever knowingly done before, so we're researching how we can enable this functionality in a way that protects users and provides portability. As a temporary measure, streams which are attatched to ttys, which includes both stdout and stderr, are filtered to neutralize escape sequences and problematic control characters.


Last updated: Oct 23 2024 at 20:03 UTC