Replies: 3 comments 6 replies
-
Looks like the error is coming from fansi; maybe there's something about it at https://github.com/com-lihaoyi/fansi/issues ? |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to run following ssh-ping command with os.proc but it fails with "Unknown ansi-escape" error.
I also tried to add various environment variables like
env=Map("COLOR" -> "off", "TERM" -> "xterm-256color")
or"TERM" -> "xterm-mono"
or"TERM" -> "dumb"
etc without any success.On bash terminal output is this:
ssh-ping command has no switch to turn off colors.
ssh-ping is part of ssh-tools package.
Question: Is this error in os.proc or maybe in fansi or can I somehow configure os.proc or even fansi to accept unknown ansi-escapes? How can I circumvent this error and e.g. force mono chrome output?
If an Ubuntu MATE terminal can handle these ansi-escapes, then maybe also os.proc / fansi should be able to handle them without crashing.
Thank you for your support!
I use Ubuntu 20.04, Ammonite Repl 2.4.0 (Scala 2.12.13 Java 11.0.18)
Beta Was this translation helpful? Give feedback.
All reactions